GenModuleInfoSource build tool does not detect missing semicolons

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 12
    • Affects Version/s: 9
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: