Just a straightforward implementation of the requested change. Tested using tier1 tests on linux-x64, macosx-aarch64, windows-x64.
------------- Commit messages: - Replace jlr.Reflection.areNestMates() with Class.isNestmateOf(), remove internal method Changes: https://git.openjdk.org/jdk/pull/30358/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30358&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8380074 Stats: 28 lines in 6 files changed: 0 ins; 25 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/30358.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30358/head:pull/30358 PR: https://git.openjdk.org/jdk/pull/30358
