hg: jdk/submit11: 8207032: Compilation succeeds without checking readability when --add-exports used
jan.lahoda at oracle.com
jan.lahoda at oracle.com
Mon Jul 16 14:40:52 UTC 2018
Changeset: d7c4c42ab260
Author: jlahoda
Date: 2018-07-16 16:31 +0200
URL: http://hg.openjdk.java.net/jdk/submit11/rev/d7c4c42ab260
8207032: Compilation succeeds without checking readability when --add-exports used
Summary: Ensuring --add-exports are only propagated when the target module reads the exporting module.
Reviewed-by: vromero, jjg
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Modules.java
! test/jdk/tools/launcher/modules/addexports/AddExportsTestWarningError.java
! test/langtools/tools/javac/modules/AddExportsTest.java
More information about the jdk-submit-changes
mailing list