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

Tim Prinzing duke at openjdk.java.net
Thu May 26 17:54: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:

  make javadoc consistent with other caller sensitve methods

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

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

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

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