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

Javac can't show usage error message in properties file

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1beta3
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      Compiler can't get usage error message in properties file.
      Since a argument is missing in getText(), usage() can't show
      error message and the following messages show on the command line.

      java.lang.NullPointerException
           at java.text.MessageFormat.format(MessageFormat.java)
           at java.text.MessageFormat.format(MessageFormat.java)
           at java.text.MessageFormat.format(MessageFormat.java)
           at sun.tools.javac.Main.getText(Main.java)
           at sun.tools.javac.Main.usage(Main.java)
           at sun.tools.javac.Main.compile(Main.java)
           at sun.tools.javac.Main.main(Main.java)

        Attachments

          Activity

            People

            Assignee:
            nishimur Naoyuki Ishimura (Inactive)
            Reporter:
            kuno Koji Uno
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: