Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P4
-
Resolution: Fixed
-
Affects Version/s: 9
-
Fix Version/s: 12
-
Component/s: infrastructure
-
Labels:None
-
Subcomponent:
-
Resolved In Build:b07
Description
GenModuleInfoSource build tool that augments module-info.java with platform-specific exports/provides/etc, if any, under gensrc directory. The build tool didn't catch trailing semi-colon but generates a proper module-info.java that passes the compilation.
To reproduce it, add the following to java.base module-info.java:
+ exports sun.security.util.math to jdk.crypto.ec
compilation succeeds but javadoc fails.
To reproduce it, add the following to java.base module-info.java:
+ exports sun.security.util.math to jdk.crypto.ec
compilation succeeds but javadoc fails.
Attachments
Issue Links
- duplicates
-
JDK-8207934 GenModuleInfoSource tool does not detect missing semicolons
-
- Resolved
-
- relates to
-
JDK-8167314 Enable the check to detect duplicate provides in in GenModuleInfoSource
-
- Resolved
-