-
Bug
-
Resolution: Fixed
-
P4
-
11
-
b15
-
x86_64
-
windows_10
-
Verified
ADDITIONAL SYSTEM INFORMATION :
This is reproducible on recent builds of Java 9-13 (including 11.0.5 and the latest 11.0.6 build).
A DESCRIPTION OF THE PROBLEM :
When compiling against a multi-release JAR with a module-info class in a version specific subdirectory, compilation works fine as ofJDK-8156568. However, when compiling against a specific version using the "--release" flag, javac seems to categorize the MRJAR on the module path as automatic module.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
A MCVE is available here: https://github.com/TheMrMilchmann/MCVE/tree/jdk/javac-modular-mrjar-dep-automatic-module-warning
FREQUENCY : always
This is reproducible on recent builds of Java 9-13 (including 11.0.5 and the latest 11.0.6 build).
A DESCRIPTION OF THE PROBLEM :
When compiling against a multi-release JAR with a module-info class in a version specific subdirectory, compilation works fine as of
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
A MCVE is available here: https://github.com/TheMrMilchmann/MCVE/tree/jdk/javac-modular-mrjar-dep-automatic-module-warning
FREQUENCY : always
- duplicates
-
JDK-8240847 javac logs an erroneous warning "requires transitive directive for an automatic"
- Closed