8154193: Move jdk.naming.rmi module to platform class loader#31480
8154193: Move jdk.naming.rmi module to platform class loader#31480jaikiran wants to merge 1 commit into
Conversation
|
/csr needed |
|
👋 Welcome back jpai! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
@jaikiran has indicated that a compatibility and specification (CSR) request is needed for this pull request. @jaikiran please create a CSR request for issue JDK-8154193 with the correct fix version. This pull request cannot be integrated until the CSR request is approved. |
|
The title of the issue could be changed, as deprivileging means granting fewer permissions which no longer applies since the Security Manager is permanently disabled. Maybe change to "Move jdk.naming.rmi module to platform class loader" |
Done. |
Can I please get a review of this change which moves the
jdk.naming.rmimodule to be loaded by the platform loader, instead of the boot loader?This module doesn't require anything that would necessitate it to be part of the boot loader modules and such can be moved to the modules that belong to the platform loader.
This module provides the
javax.naming.spi.InitialContextFactoryservice. Before this change, the service would be located and loaded using the boot classloader and now will instead be loaded using the platform classloader. I believe this change to the service loading is an observable change and would thus require a CSR. I'll create one shortly.A new jtreg test has been introduced to verify that the
InitialContextFactoryservice provided by thejdk.naming.rmimodule doesn't get loaded by the boot loader. The test passes with this change and fails (as expected) without the source change.Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/31480/head:pull/31480$ git checkout pull/31480Update a local copy of the PR:
$ git checkout pull/31480$ git pull https://git.openjdk.org/jdk.git pull/31480/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 31480View PR using the GUI difftool:
$ git pr show -t 31480Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/31480.diff
Using Webrev
Link to Webrev Comment