RFR: 8254566: Clarify the spec of ClassLoader::getClassLoadingLock for non-parallel capable loader [v2]
Mandy Chung
mchung at openjdk.org
Fri Jun 30 00:22:13 UTC 2023
> The spec of `ClassLoader::getClassLoadingLock` is unclear that this method is intended for parallel-capable class loader implementations to provide an alternate implementation. For non-parallel-capable class loaders, this method should return this `ClassLoader` object. The javadoc uses "the default implementation" which could be interpreted that non-parallel-capable class loaders can also override this implementation, which is not the intent. See https://openjdk.org/groups/core-libs/ClassLoaderProposal.html.
Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
review comment
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14720/files
- new: https://git.openjdk.org/jdk/pull/14720/files/e87f4b45..e9607f4a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14720&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14720&range=00-01
Stats: 6 lines in 1 file changed: 1 ins; 0 del; 5 mod
Patch: https://git.openjdk.org/jdk/pull/14720.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14720/head:pull/14720
PR: https://git.openjdk.org/jdk/pull/14720
More information about the core-libs-dev
mailing list