-
Bug
-
Resolution: Won't Fix
-
P3
-
1.4.2_14
-
x86
-
windows_xp
JCK: JCK-runtime-4a b04
J2SE: FAIL - JDK1.4.2u14-b03 and JDK1.4.2u13-b06 (possibly fails on earlier URs)
Platform[s]: FAIL - Windows XP Home x86 under IE6 Plugin (stt-08.russia.sun.com)
switch/Mode: FAIL - default
Tests fail only under Plugin. All failures have the same error message:
"java.lang.Error: UnknownCharacterException thrown in substititution mode".
WorkDir - /net/stt-13/export/stt/jck_workspace/1.4.2/u14/b03/plugin/IE6-WinXPHome-x86
Failing Tests:
==================
api/java_net/URLDecoder/index.html#Decode
api/java_net/URLEncoder/index.html#Encode
jtr file location:
==================
attached
Test output:
=============
URLEncoder0001: Passed. OKAY
URLEncoder0002: Passed. OKAY
URLEncoder2001: Passed. OKAY
URLEncoder0003: Passed. OKAY
URLEncoder0004: Passed. OKAY
URLEncoder0005: Passed. OKAY
URLEncoder0006: Passed. OKAY
URLEncoder0007: Passed. OKAY
java.lang.Error: UnknownCharacterException thrown in substititution mode
at sun.io.CharToByteConverter.convertAny(Unknown Source)
at sun.nio.cs.StreamEncoder$ConverterSE.implWrite(Unknown Source)
at sun.nio.cs.StreamEncoder.write(Unknown Source)
at sun.nio.cs.StreamEncoder.write(Unknown Source)
at java.io.OutputStreamWriter.write(Unknown Source)
at java.net.URLEncoder.encode(Unknown Source)
at javasoft.sqe.tests.api.java.net.URLEncoder.EncodeTests.URLEncoder0008(EncodeTests.java:372)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:372)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:317)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:194)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:125)
at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:818)
at com.sun.javatest.agent.Agent$Task.execute(Agent.java:749)
at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:607)
at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:376)
at com.sun.javatest.agent.Agent.access$000(Agent.java:42)
at com.sun.javatest.agent.Agent$1.run(Agent.java:254)
at java.lang.Thread.run(Unknown Source)
Caused by: sun.io.UnknownCharacterException
at sun.io.CharToByteSingleByte.convert(Unknown Source)
... 24 more
URLEncoder0008: Failed. Test case throws exception: java.lang.Error: UnknownCharacterException thrown in substititution mode
result: Failed. test cases: 9; passed: 8; failed: 1; first test case failure: URLEncoder0008
J2SE: FAIL - JDK1.4.2u14-b03 and JDK1.4.2u13-b06 (possibly fails on earlier URs)
Platform[s]: FAIL - Windows XP Home x86 under IE6 Plugin (stt-08.russia.sun.com)
switch/Mode: FAIL - default
Tests fail only under Plugin. All failures have the same error message:
"java.lang.Error: UnknownCharacterException thrown in substititution mode".
WorkDir - /net/stt-13/export/stt/jck_workspace/1.4.2/u14/b03/plugin/IE6-WinXPHome-x86
Failing Tests:
==================
api/java_net/URLDecoder/index.html#Decode
api/java_net/URLEncoder/index.html#Encode
jtr file location:
==================
attached
Test output:
=============
URLEncoder0001: Passed. OKAY
URLEncoder0002: Passed. OKAY
URLEncoder2001: Passed. OKAY
URLEncoder0003: Passed. OKAY
URLEncoder0004: Passed. OKAY
URLEncoder0005: Passed. OKAY
URLEncoder0006: Passed. OKAY
URLEncoder0007: Passed. OKAY
java.lang.Error: UnknownCharacterException thrown in substititution mode
at sun.io.CharToByteConverter.convertAny(Unknown Source)
at sun.nio.cs.StreamEncoder$ConverterSE.implWrite(Unknown Source)
at sun.nio.cs.StreamEncoder.write(Unknown Source)
at sun.nio.cs.StreamEncoder.write(Unknown Source)
at java.io.OutputStreamWriter.write(Unknown Source)
at java.net.URLEncoder.encode(Unknown Source)
at javasoft.sqe.tests.api.java.net.URLEncoder.EncodeTests.URLEncoder0008(EncodeTests.java:372)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:372)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:317)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:194)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:125)
at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:818)
at com.sun.javatest.agent.Agent$Task.execute(Agent.java:749)
at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:607)
at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:376)
at com.sun.javatest.agent.Agent.access$000(Agent.java:42)
at com.sun.javatest.agent.Agent$1.run(Agent.java:254)
at java.lang.Thread.run(Unknown Source)
Caused by: sun.io.UnknownCharacterException
at sun.io.CharToByteSingleByte.convert(Unknown Source)
... 24 more
URLEncoder0008: Failed. Test case throws exception: java.lang.Error: UnknownCharacterException thrown in substititution mode
result: Failed. test cases: 9; passed: 8; failed: 1; first test case failure: URLEncoder0008
- relates to
-
JDK-4974686 Only in 1.4.2, URLEncoder outputs exception in Japanese locale
- Closed