Locales: ja, zh
Platforms : Sol/win32
JDK build : Kestrel-O
Bad string (string is "abc\uD800\uDC00efgh") conversion for good surrogate in ja, zh locales
the same string can be converted well in C locale
-------------------------------------------------------#Test Results (version 2)
#Tue Aug 24 14:15:46 PDT 1999
#checksum:58e1276f5a8c0c72
#-----testdescription-----
file=/home/barzin/regtest/test/sun/io/CharToByteConverter/MalformedSurrogates.java
keywords=bug4153987
run=ASSUMED_ACTION main MalformedSurrogates\n
source=MalformedSurrogates.java
testsuite=/home/barzin/regtest/test
title=Malformed surrogates should be handled by the converter in substitution mode.
#-----environment-----
#-----testresult-----
description=file:/home/barzin/regtest/test/sun/io/CharToByteConverter/MalformedSurrogates.java
end=Tue Aug 24 14:15:46 PDT 1999
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.lang.InternalError: Converter malfunction: sun.io.CharToByteEUC_JP
javatestVersion=JT_2.1.1a
script=javasoft.sqe.javatest.regtest.RegressionScript
sections=script_messages build compile main
start=Tue Aug 24 14:15:38 PDT 1999
status=Failed. Execution failed: `main' threw exception: java.lang.InternalError: Converter malfunction: sun.io.CharToByteEUC_JP
test=sun/io/CharToByteConverter/MalformedSurrogates.java
work=/home/barzin/regtest/JTwork/sun/io/CharToByteConverter
#section:script_messages
----------messages:(1/68)----------
JDK under test: java full version "1.3beta-O" (/home/barzin/jdk1.3)
#section:build
----------messages:(3/105)----------
command: build MalformedSurrogates
reason: Named class compiled on demand
elapsed time (seconds): 5.143
result: Passed. Compilation successful
#section:compile
----------messages:(3/176)----------
command: compile /home/barzin/regtest/test/sun/io/CharToByteConverter/MalformedSurrogates.java
reason: .class file out of date or does not exist
elapsed time (seconds): 5.114
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:main
----------messages:(3/137)----------
command: main MalformedSurrogates
reason: Assumed action based on file name: run main MalformedSurrogates
elapsed time (seconds): 1.996
----------System.out:(1/29)----------
Testing string conversion...
----------System.err:(20/729)----------
7
[0]=c=99
[1]=?=63
[2]=?=63
[3]=e=101
[4]=f=102
[5]=g=103
[6]=h=104
java.lang.InternalError: Converter malfunction: sun.io.CharToByteEUC_JP
at java.lang.String.getBytes(String.java:632)
at java.lang.String.getBytes(String.java:673)
at MalformedSurrogates.main(MalformedSurrogates.java:27)
at java.lang.reflect.Method.invoke(Native Method)
at javasoft.sqe.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:479)
JavaTest Message: Test threw exception: java.lang.InternalError: Converter malfunction: sun.io.CharToByteEUC_JP
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.InternalError: Converter malfunction: sun.io.CharToByteEUC_JP
result: Failed. Execution failed: `main' threw exception: java.lang.InternalError: Converter malfunction: sun.io.CharToByteEUC_JP
test result: Failed. Execution failed: `main' threw exception: java.lang.InternalError: Converter malfunction: sun.io.CharToByteEUC_JP
------------------------
Platforms : Sol/win32
JDK build : Kestrel-O
Bad string (string is "abc\uD800\uDC00efgh") conversion for good surrogate in ja, zh locales
the same string can be converted well in C locale
-------------------------------------------------------#Test Results (version 2)
#Tue Aug 24 14:15:46 PDT 1999
#checksum:58e1276f5a8c0c72
#-----testdescription-----
file=/home/barzin/regtest/test/sun/io/CharToByteConverter/MalformedSurrogates.java
keywords=bug4153987
run=ASSUMED_ACTION main MalformedSurrogates\n
source=MalformedSurrogates.java
testsuite=/home/barzin/regtest/test
title=Malformed surrogates should be handled by the converter in substitution mode.
#-----environment-----
#-----testresult-----
description=file:/home/barzin/regtest/test/sun/io/CharToByteConverter/MalformedSurrogates.java
end=Tue Aug 24 14:15:46 PDT 1999
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.lang.InternalError: Converter malfunction: sun.io.CharToByteEUC_JP
javatestVersion=JT_2.1.1a
script=javasoft.sqe.javatest.regtest.RegressionScript
sections=script_messages build compile main
start=Tue Aug 24 14:15:38 PDT 1999
status=Failed. Execution failed: `main' threw exception: java.lang.InternalError: Converter malfunction: sun.io.CharToByteEUC_JP
test=sun/io/CharToByteConverter/MalformedSurrogates.java
work=/home/barzin/regtest/JTwork/sun/io/CharToByteConverter
#section:script_messages
----------messages:(1/68)----------
JDK under test: java full version "1.3beta-O" (/home/barzin/jdk1.3)
#section:build
----------messages:(3/105)----------
command: build MalformedSurrogates
reason: Named class compiled on demand
elapsed time (seconds): 5.143
result: Passed. Compilation successful
#section:compile
----------messages:(3/176)----------
command: compile /home/barzin/regtest/test/sun/io/CharToByteConverter/MalformedSurrogates.java
reason: .class file out of date or does not exist
elapsed time (seconds): 5.114
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:main
----------messages:(3/137)----------
command: main MalformedSurrogates
reason: Assumed action based on file name: run main MalformedSurrogates
elapsed time (seconds): 1.996
----------System.out:(1/29)----------
Testing string conversion...
----------System.err:(20/729)----------
7
[0]=c=99
[1]=?=63
[2]=?=63
[3]=e=101
[4]=f=102
[5]=g=103
[6]=h=104
java.lang.InternalError: Converter malfunction: sun.io.CharToByteEUC_JP
at java.lang.String.getBytes(String.java:632)
at java.lang.String.getBytes(String.java:673)
at MalformedSurrogates.main(MalformedSurrogates.java:27)
at java.lang.reflect.Method.invoke(Native Method)
at javasoft.sqe.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:479)
JavaTest Message: Test threw exception: java.lang.InternalError: Converter malfunction: sun.io.CharToByteEUC_JP
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.InternalError: Converter malfunction: sun.io.CharToByteEUC_JP
result: Failed. Execution failed: `main' threw exception: java.lang.InternalError: Converter malfunction: sun.io.CharToByteEUC_JP
test result: Failed. Execution failed: `main' threw exception: java.lang.InternalError: Converter malfunction: sun.io.CharToByteEUC_JP
------------------------