Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8202941

GenModuleInfoSource build tool does not detect missing semicolons

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 12
    • 9
    • infrastructure
    • None
    • b07

      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.

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: