RFR: 8266851: Implement JEP 403: Strongly Encapsulate JDK Internals [v2]

Mandy Chung mchung at openjdk.java.net
Thu May 13 18:18:53 UTC 2021


On Thu, 13 May 2021 18:11:30 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.
>
> Mark Reinhold has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove stray mentions of the jdk.module.illegalAccess property

There are a few tests with `--illegal-access=deny` for example

test/jdk/java/lang/ModuleTests/BasicModuleTest.java
test/jdk/java/lang/instrument/RedefineModuleTest.java
test/jdk/java/lang/invoke/CallerSensitiveAccess.java
test/jdk/java/lang/reflect/AccessibleObject/ - a few tests
test/jdk/jdk/modules/open/Basic.java
test/jdk/tools/launcher/modules/addexports/manifest/AddExportsAndOpensInManifest.java


It would be good to remove these references to `--illegal-access` option in this patch too.

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

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


More information about the core-libs-dev mailing list