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

Tim Prinzing duke at openjdk.java.net
Tue May 17 20:16:48 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:

  Added javadoc comment

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8711/files
  - new: https://git.openjdk.java.net/jdk/pull/8711/files/5b10f0d2..9d054ea6

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8711&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8711&range=00-01

  Stats: 6 lines in 1 file changed: 6 ins; 0 del; 0 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