JDK 9 RFR of JDK-8177383: Wrong @modules in java/io/FilePermission/ReadFileOnPath.java

Amy Lu amy.lu at oracle.com
Wed Mar 22 07:08:26 UTC 2017

Please review the minor test-only change.

@modules java.compiler
was addd to tes java/io/FilePermission/ReadFileOnPath.java
This should be jdk.compiler
(java.compiler is just the API module, the runtime image needs to have 
jdk.compiler linked in to be useful)

This patch also did clean up on java.compiler, if jdk.compiler is 
already in @modules
(jdk.compiler ‘requires public java.compiler’, so java.compiler in 
@modules is not necessary.)

bug: https://bugs.openjdk.java.net/browse/JDK-8177383
webrev: http://cr.openjdk.java.net/~amlu/8177383/webrev.00/


More information about the core-libs-dev mailing list