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

Alan Bateman Alan.Bateman at oracle.com
Wed Mar 22 07:29:00 UTC 2017

On 22/03/2017 07:08, Amy Lu wrote:
> 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/
Looks fine.

More information about the core-libs-dev mailing list