-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
beta3
-
generic, x86, sparc
-
generic, linux, solaris, solaris_2.6, solaris_7, solaris_8, windows_nt, windows_2000
-
Verified
JDK : 1.4.0-beta-b64 ( passed using jdk1.4-b63)
JCK : jck1.3a
Platform[s] : Solaris Sparc/x86
switch/Mode : all switches
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test :
api/java_io/CharacterEncoding/primarySBCS.html#ISO_8859_1
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_io/CharacterEncoding/TestMap.java Test8859_1.java
jtr file location:
==================
file:///net/jtgb4u4c/export/sail16/results/merlin/b64/jck13a/sparc/s6_client_jtg-s116/workDir/api/java_io/CharacterEncoding/primarySBCS_ISO_8859_1.jtr
jtr also attached.
How to reproduce:
====================
run the attched scritped.
io_CharacterEncoding.ksh
--------Script START---------------------
#!/bin/ksh
SWITCH=${1+$@}
JDK=/net/jdk/export/disk8/local.java/jdk1.4
TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a
JCK=${TESTBASE}/JCK-runtime-13a
executeClass="javasoft.sqe.tests.api.java.io.CharacterEncoding.Test8859_1"
excludeCmd=
executeClassArgs="-Encoding 8859_1"
executeTestURL=
headless=
#executeContextArgs is used for vm testing.
executeContextArgs=
case `uname -s` in
SunOS)
ARCH=`uname -p`
case $ARCH in
sparc)
sharedJDK=$JDK/solsparc
;;
i386)
sharedJDK=$JDK/solx86
;;
esac
;;
Linux)
sharedJDK=$JDK/linux-i386
ARCH=linux
;;
esac
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
DISPLAY=${DISPLAY-$HOST:0.0}
if `echo $SWITCH|grep "\-d64" >/dev/null`; then
LD_LIBRARY_PATH=${JCK}/lib/sparcv9
else
LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
fi
PATH=$JDK/bin:$sharedJDK/bin:$PATH
export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH
echo
java ${SWITCH} -version
echo
java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy -Djava.rmi.activation.port=${executeClass} -Djava.awt.headless=${headless} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}
--------Script END----------------------
Test output:
=============
ByteConverterLoad: Passed. OKAY
TestByteMapping: Passed. OKAY
LoadCharToByte: Passed. OKAY
TestNoSubMapping: Passed. OKAY
TestUnmappable: Failed. Incorrect number of bytes written: 4
TestHighSurrogate: Passed. OKAY
TestLowSurrogate: Passed. OKAY
TestSurrogatePair: Passed. Incorrect number of byte written: 2
STATUS:Failed.tests: 8; passed: 7; failed: 1; first test case failure: TestUnmappable
Specific Machine Info:
=====================
SunOS jtg-s120 5.8 Generic sun4u sparc SUNW,Ultra-60
SunOS jtg-i112 5.8 Generic i86pc i386 i86pc
takwing.cheung@Eng 2001-05-11
- duplicates
-
JDK-4402765 (cs) api/java_lang/String/i18n.html#i18nCtorEncodings, Merlin, Sparc, B46
- Closed
-
JDK-4402886 (cs) JCK13: api/java_io/PrintWriter/index.html --> PrWWriter1,3,4,5,Merlin,Sparc
- Closed
-
JDK-4408438 (cs) Strings with German characters will not compile on Merlin-beta build 49
- Closed
-
JDK-4463205 (cs) jdk regression:OutputStreamWriter.write incorrectly writes valid chars
- Closed
-
JDK-4464220 (cs) print_chars_02_x (pm) test throws Unexpected Exception
- Closed
-
JDK-4407455 (cs) JCK13a :api/java_io/FileReader ,Merlin-b48 ,Solaris
- Closed
-
JDK-4417760 (cs) Reg-test:sun/io/CharToByteConverter/MalformedSurrogates threw an exception
- Closed
-
JDK-4424300 (cs) jdk1.4.0beta-b54 java.lang.String: getBytes("ASCII") returns wrong array of
- Closed
-
JDK-4424392 (cs) CharsetEncoder.encode() misses char after nonmapped one
- Closed
-
JDK-4482116 (cs) outputstream prints wrong values for non-ascii characters
- Closed
- relates to
-
JDK-4503732 (cs) Charset API redesign
- Resolved