JDK-4417760 : (cs) Reg-test:sun/io/CharToByteConverter/MalformedSurrogates threw an exception
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_8
  • CPU: x86
  • Submitted: 2001-02-22
  • Updated: 2001-07-22
  • Resolved: 2001-07-20
Related Reports
Duplicate :  
Description
Regression test:sun/io/CharToByteConverter/MalformedSurrogates.java threw an exception when running against jdk1.4 beta b52 on IA8 zh_TW.UTF-8 and NT4 de locale.

Below is a part of a message:

#section:main
----------messages:(3/136)----------
command: main MalformedSurrogates
reason: Assumed action based on file name: run main MalformedSurrogates 
elapsed time (seconds): 1.33
----------System.out:(1/29)----------
Testing string conversion...
----------System.err:(18/811)----------
4
[0]=c=99
[1]=?=63
[2]=g=103
[3]=h=104
java.lang.Exception: Bad string conversion for bad surrogate
        at MalformedSurrogates.main(MalformedSurrogates.java:22)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30)
        at sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl.java:46)
        at java.lang.reflect.Method.invoke(Method.java:306)
        at javasoft.sqe.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:579)

JavaTest Message: Test threw exception: java.lang.Exception: Bad string conversion for bad surrogate
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.Exception: Bad string conversion for bad surrogate
result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Bad string conversion for bad surrogate



keiko.nakayama@Eng 2001-02-21

Comments
EVALUATION Duplicate of bug 4457851. iag@eng 2001-07-19
19-07-2001