RFR: 8266851: Implement JEP 403: Strongly Encapsulate JDK Internals

Harold Seigel hseigel at openjdk.java.net
Thu May 13 17:41:17 UTC 2021


On Thu, 13 May 2021 17:14:36 GMT, Mark Reinhold <mr at openjdk.org> wrote:

> Please review this implementation of JEP 403 (https://openjdk.java.net/jeps/403).
> Alan Bateman is the original author of almost all of it.  Passes tiers 1-3 on 
> {linux,macos,windows}-x64 and {linux,macos}-aarch64.

src/hotspot/share/runtime/arguments.cpp line 2434:

> 2432:     // -agentlib and -agentpath
> 2433:     } else if (match_option(option, "-agentlib:", &tail) ||
> 2434:           (is_absolute_path = match_option(option, "-agentpath:", &tail))) {

I think jdk.module.illegalAccess can also be removed from lines 1332 and 2064 of arguments.cpp.
Thanks, Harold

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

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


More information about the hotspot-runtime-dev mailing list