RFR: 8351595: JVM_FindClassFromCaller: unused var may be removed

Chen Liang liach at openjdk.org
Thu Oct 9 19:14:22 UTC 2025


On Thu, 9 Oct 2025 18:29:36 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:

> Trivial change to remove an unused line of code. Verified with tier1-5 tests.

Since this now makes the caller arg unused, we should remove the caller argument all the way up to Class.forName0. The caller was previously used for security manager it appears.

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

PR Comment: https://git.openjdk.org/jdk/pull/27735#issuecomment-3387181774


More information about the hotspot-dev mailing list