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

update javac handling of module names

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:

      Description

      javac should give a warning when a module name is declared if any of the component identifiers end in a digit.

      * warn for digits at the end of each identifier in a qualified module
      name, when the module is *declared*.

           WARN: module m1 { }
           WARN: module m1.any { }
           NO WARN: module m { requires m1; requires m1.any; }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sadayapalam Srikanth Adayapalam
                Reporter:
                jjg Jonathan Gibbons
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: