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

javac throws IllegalArgumentException when using JIT on Win32

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.1.7
    • vm-legacy


      Regression: yes
      Build found on: JDK1.1.7L
      Build last worked: JDK1.1.7J

      Compiling a simple java file throws IllegalArgumentException when
      using the JIT on Win32.

      Details:
      javac ArithmeticTest.java

      java.lang.IllegalArgumentException: unknown format type at
              at java.text.MessageFormat.makeFormat(MessageFormat.java:802)
              at java.text.MessageFormat.applyPattern(Compiled Code)
              at java.text.MessageFormat.<init>(MessageFormat.java:228)
              at java.text.MessageFormat.format(MessageFormat.java:446)
              at sun.tools.javac.Main.getText(Main.java:132)
              at sun.tools.javac.BatchEnvironment.errorString(BatchEnvironment.java:577)
              at sun.tools.javac.BatchEnvironment.error(BatchEnvironment.java:790)
              at sun.tools.java.Environment.error(Environment.java:611)
              at sun.tools.java.Environment.error(Environment.java:623)
              at sun.tools.java.Parser.parseFile(Compiled Code)
              at sun.tools.javac.BatchEnvironment.parseFile(BatchEnvironment.java:215)
              at sun.tools.javac.Main.compile(Compiled Code)
              at sun.tools.javac.Main.main(Main.java:465)
      java.lang.IllegalArgumentException: unknown format type at
              at java.text.MessageFormat.makeFormat(MessageFormat.java:802)
              at java.text.MessageFormat.applyPattern(Compiled Code)
              at java.text.MessageFormat.<init>(MessageFormat.java:228)
              at java.text.MessageFormat.format(MessageFormat.java:446)
              at sun.tools.javac.Main.getText(Main.java:132)
              at sun.tools.javac.BatchEnvironment.errorString(BatchEnvironment.java:577)
              at sun.tools.javac.BatchEnvironment.error(BatchEnvironment.java:790)
              at sun.tools.java.Environment.error(Environment.java:623)
              at sun.tools.javac.Main.compile(Compiled Code)
              at sun.tools.javac.Main.main(Main.java:465)

      See attachment (arithmetictest.java).

            dviswanasunw Deepa Viswanathan (Inactive)
            lblairsunw Liz Blair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: