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

(1.1.7) 117-L: all javac and java command with JIT doesn't work on Win95 & Win98

XMLWordPrintable

    • b01
    • x86
    • generic, windows_95
    • Verified

      To reproduce this bug:

      1. Install JDK117 build L on Windows 95/98
      2. Run javac/java on Windows 95/98.
      3. Get Exception for all source/class

      >javac CharView.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:57
      7)
              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:57
      7)
              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)

      >java CharView
      java.lang.ExceptionInInitializerError
              at
              at
              at java.awt.Frame.addNotify(Frame.java:203)
              at java.awt.Window.pack(Window.java:123)
              at CharView.setObjects(Compiled Code)
              at FontView.setObjectsInternal(FontView.java:135)
              at FontView.<init>(Compiled Code)
              at CharView.<init>(CharView.java:22)
              at CharView.main(CharView.java:66)

      This problems don't exist on WindowsNT4.0 with build "L".
      This is a regression, because build I was working file on all Win32 platforms, WinNT, Win95, Win98.

      JIT was upgraded to 3.00.070b in build "L".
      C:\jdk1.1.7\demo\Clock>set JAVA_COMPCMD=FORCE_SIGNON

      C:\jdk1.1.7\demo\Clock>javac
      Symantec Java! JustInTime Compiler Version 3.00.070b(x) for JDK 1.1.x
      Copyright (C) 1996-98 Symantec Corporation

      use: javac [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath
      path][-nowrit
      e][-deprecation][-d dir][-J<runtime flag>] file.java...

      When JIT is disabled like below, javac and java work fine.

      javac -J-nojit CharView.java
      java -nojit CharView

            dviswanasunw Deepa Viswanathan (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: