RFR: JDK-8281001 Class::forName(String) defaults to system class loader if the caller is null [v6]

Mandy Chung mchung at openjdk.java.net
Wed Jun 8 16:22:35 UTC 2022


On Wed, 8 Jun 2022 13:07:20 GMT, Tim Prinzing <tprinzing at openjdk.org> wrote:

>> 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

Marked as reviewed by mchung (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/8711


More information about the core-libs-dev mailing list