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

Javac can't show usage error message in properties file

XMLWordPrintable

    • 1.1beta3
    • generic
    • generic
    • Not verified

      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)

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: