RFR: JDK-8281001 Examine the behavior of Class::forName if the caller is null

Joe Darcy darcy at openjdk.java.net
Sat May 14 00:43:47 UTC 2022


On Sat, 14 May 2022 00:30:00 GMT, Tim Prinzing <duke at openjdk.java.net> 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.

@tprinzing , please file a CSR for this discuss so the behavioral changes can be reviewed.

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

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


More information about the core-libs-dev mailing list