-
Bug
-
Resolution: Fixed
-
P4
-
1.1.6
-
1.1.6
-
generic
-
generic
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2020153 | 1.2.0 | Deepa Viswanathan | P4 | Resolved | Fixed | 1.2beta4 |
CollateDemo that is under demo\i18n\Collate can't work both on Japanese and US Win95/NT.
D:\jdk1.1.6\demo\i18n\Collate>appletviewer example1.html
Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: 10 >= 10
at java.lang.Throwable.<init>(Compiled Code)
at java.util.Vector.elementAt(Compiled Code)
at java.text.RuleBasedCollator.getContractValues(Compiled Code)
at java.text.RuleBasedCollator.addContractOrder(Compiled Code)
at java.text.RuleBasedCollator.build(Compiled Code)
at java.text.RuleBasedCollator.<init>(Compiled Code)
at java.text.Collator.getInstance(Compiled Code)
at CollateFrame.loadCollationTables(Compiled Code)
at CollateFrame.buildGUI(Compiled Code)
at CollateFrame.init(CollateDemo.java:254)
at CollateFrame.<init>(CollateDemo.java:234)
at CollateDemo.createDemoFrame(CollateDemo.java:214)
at DemoApplet.actionPerformed(DemoApplet.java:69)
at java.awt.Button.processActionEvent(Button.java:257)
at java.awt.Button.processEvent(Button.java:230)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
In case making JIT off, it works.
D:\jdk1.1.6\demo\i18n\Collate>set JAVA_COMPILER=""
D:\jdk1.1.6\demo\i18n\Collate>appletviewer example1.html
Warning: JIT compiler """" not found. Will use interpreter.
-> runs correctly
I tried the same thing on JDK1.1.5 to verify it's 116regresss or not. it worked OK on JDK1.1.5.
This problem was also reproduced on Windows95 US vanila version.
(Please see the attched scrrenshot with console messages)
Here is the combination result summary with OS and JIT on/off
Win32 JIT result
JA on NG
JA off OK
US on NG
The stack trace above is as same as 4128993.
I've heard that unfortunately 4128993 will not fixed in 1.1.6 FCS and Javasoft think aboiut the importance of having some solution (workaround/patch/?) for their Japanese customers.
The same problem happened within JDK demo even on US Windows.
D:\jdk1.1.6\demo\i18n\Collate>appletviewer example1.html
Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: 10 >= 10
at java.lang.Throwable.<init>(Compiled Code)
at java.util.Vector.elementAt(Compiled Code)
at java.text.RuleBasedCollator.getContractValues(Compiled Code)
at java.text.RuleBasedCollator.addContractOrder(Compiled Code)
at java.text.RuleBasedCollator.build(Compiled Code)
at java.text.RuleBasedCollator.<init>(Compiled Code)
at java.text.Collator.getInstance(Compiled Code)
at CollateFrame.loadCollationTables(Compiled Code)
at CollateFrame.buildGUI(Compiled Code)
at CollateFrame.init(CollateDemo.java:254)
at CollateFrame.<init>(CollateDemo.java:234)
at CollateDemo.createDemoFrame(CollateDemo.java:214)
at DemoApplet.actionPerformed(DemoApplet.java:69)
at java.awt.Button.processActionEvent(Button.java:257)
at java.awt.Button.processEvent(Button.java:230)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
In case making JIT off, it works.
D:\jdk1.1.6\demo\i18n\Collate>set JAVA_COMPILER=""
D:\jdk1.1.6\demo\i18n\Collate>appletviewer example1.html
Warning: JIT compiler """" not found. Will use interpreter.
-> runs correctly
I tried the same thing on JDK1.1.5 to verify it's 116regresss or not. it worked OK on JDK1.1.5.
This problem was also reproduced on Windows95 US vanila version.
(Please see the attched scrrenshot with console messages)
Here is the combination result summary with OS and JIT on/off
Win32 JIT result
JA on NG
JA off OK
US on NG
The stack trace above is as same as 4128993.
I've heard that unfortunately 4128993 will not fixed in 1.1.6 FCS and Javasoft think aboiut the importance of having some solution (workaround/patch/?) for their Japanese customers.
The same problem happened within JDK demo even on US Windows.
- backported by
-
JDK-2020153 JDK116: CollateDemo doesn't work on Win95/NT(US/JA) when JIT is ON
- Resolved
- relates to
-
JDK-4131426 JDK116N: Collator.getInstance causes exception when JIT ON
- Closed
-
JDK-4128993 [HJV112beta(i)+jdk116M] hjv will not start correctly on ja locale
- Closed