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

GenModuleInfoSource build tool does not detect missing semicolons

    XMLWordPrintable

    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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mchung Mandy Chung
              Reporter:
              mchung Mandy Chung
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: