RFR: JDK-8281001 Class::forName(String) defaults to system class loader if the caller is null [v6]
Tim Prinzing
tprinzing at openjdk.java.net
Wed Jun 8 13:07:20 UTC 2022
> The Class::forName behavior change to match JNI FindClass is a compatible change and seems pretty attractive as it would be expected that Class::forName would give the same behavior as FindClass which uses the system classloader. The test for 8281006 was enhanced to test for this change. Merged master to pick up fixes to unrelated test failures to reduce noise.
Tim Prinzing has updated the pull request incrementally with one additional commit since the last revision:
append bug id being fixed rather than sorted insert
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/8711/files
- new: https://git.openjdk.java.net/jdk/pull/8711/files/3ce3a61a..95d7044d
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8711&range=05
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8711&range=04-05
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/8711.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8711/head:pull/8711
PR: https://git.openjdk.java.net/jdk/pull/8711
More information about the core-libs-dev
mailing list