Error message when module does not have a ModuleMainClass attribute is confusing

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 11
    • Affects Version/s: 9, 10
    • Component/s: tools
    • b01

      Here's the message in launcher.properties:

      java.launcher.module.error1=\
          module {0} does not have a MainClass attribute, use -m <module>/<main-class>

      It should be "ModuleMainClass".

            Assignee:
            Alan Bateman
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: