-
Bug
-
Resolution: Fixed
-
P1
-
1.1.7, 1.2.0
-
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
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
- duplicates
-
JDK-4171910 (1.1.7) fail to run JCK test against JDK1.1.7L on win98.
- Closed
-
JDK-4172279 JDK1.1.7L fails to compile a simple java program on win98.
- Closed
-
JDK-4172479 (1.1.7) Appletviewer does not work in win95 and win98 with JDK117 build L
- Closed