-
Bug
-
Resolution: Not an Issue
-
P1
-
None
-
5.0
-
sparc
-
solaris_8
I have a class that simply prints "hello world" to sys.out. When I execute it with the 1.4.1 JDK and set the file.encoding=cp037, it appears to behave as expected. But when I execute it with the 1.4.2 or 1.5 JDK and set the file.encoding=cp037 an exception gets thrown. (see examples below).
strongbad:/home/elambert/cp037 950 % ksh doit.sh
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)
About to run test with
È@æ
*****PASSED.*****
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
About to run test with
Exception in thread "main" ¥KKÕâ¢ÄƤÅz@HelloWorld
*****FAILED.*****
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b26)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b26, mixed mode)
About to run test with
Exception in thread "main" ¥KKÕâ¢ÄƤÅz@HelloWorld
*****FAILED.*****
To recreate this problem, simply untar the attached file (cp037.tar) and run the doit.sh script
strongbad:/home/elambert/cp037 950 % ksh doit.sh
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)
About to run test with
È@æ
*****PASSED.*****
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
About to run test with
Exception in thread "main" ¥KKÕâ¢ÄƤÅz@HelloWorld
*****FAILED.*****
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b26)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b26, mixed mode)
About to run test with
Exception in thread "main" ¥KKÕâ¢ÄƤÅz@HelloWorld
*****FAILED.*****
To recreate this problem, simply untar the attached file (cp037.tar) and run the doit.sh script