JDK : 1.4.0-beta-b75
JCK : jck14-b08
Platform[s] : Solaris Sparc/Intel
switch/Mode : Default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test :
api/java_lang/String/i18n.html#i18nCtor
String1206
String1224
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_lang/String/i18nCtorTests.java
jtr file location:
==================
file:///net/jtgb4u4c/export/sail16/results/merlin/b75/jck14/sparc/s8_client_jtg-s122/workDir/api/java_lang/String/i18n_i18nCtor.jtr
How to reproduce:
====================
run the attached script
i18nCtorTests.ksh
--------Script START---------------------
#!/bin/ksh
SWITCH=${1+$@}
JDK=/net/jdk/export/disk8/local.java/jdk1.4.0
TESTBASE=/net/jdk/export/disk8/local.java/jck1.4
JCK=${TESTBASE}/JCK-runtime-14
executeClass="javasoft.sqe.tests.api.java.lang.String.i18nCtorTests"
excludeCmd=
executeClassArgs="-TestCaseID String1206 String1224"
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.security.auth.policy=${JCK}/lib/jck.auth.policy -Djava.security.auth.login.config=${JCK}/lib/jck.auth.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}
--------Script END----------------------
Test output:
=============
String1206: Failed. NullPointerException expected
String1224: Failed. NullPointerException expected
STATUS:Failed.tests: 2; failed: 2; first test case failure: String1206
Specific Machine Info:
=====================
SunOS jtg-s120 5.8 Generic sun4u sparc SUNW,Ultra-60
SunOS jtg-i116 5.8 Generic i86pc i386 i86pc
###@###.### 2001-08-14
JCK : jck14-b08
Platform[s] : Solaris Sparc/Intel
switch/Mode : Default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test :
api/java_lang/String/i18n.html#i18nCtor
String1206
String1224
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_lang/String/i18nCtorTests.java
jtr file location:
==================
file:///net/jtgb4u4c/export/sail16/results/merlin/b75/jck14/sparc/s8_client_jtg-s122/workDir/api/java_lang/String/i18n_i18nCtor.jtr
How to reproduce:
====================
run the attached script
i18nCtorTests.ksh
--------Script START---------------------
#!/bin/ksh
SWITCH=${1+$@}
JDK=/net/jdk/export/disk8/local.java/jdk1.4.0
TESTBASE=/net/jdk/export/disk8/local.java/jck1.4
JCK=${TESTBASE}/JCK-runtime-14
executeClass="javasoft.sqe.tests.api.java.lang.String.i18nCtorTests"
excludeCmd=
executeClassArgs="-TestCaseID String1206 String1224"
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.security.auth.policy=${JCK}/lib/jck.auth.policy -Djava.security.auth.login.config=${JCK}/lib/jck.auth.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}
--------Script END----------------------
Test output:
=============
String1206: Failed. NullPointerException expected
String1224: Failed. NullPointerException expected
STATUS:Failed.tests: 2; failed: 2; first test case failure: String1206
Specific Machine Info:
=====================
SunOS jtg-s120 5.8 Generic sun4u sparc SUNW,Ultra-60
SunOS jtg-i116 5.8 Generic i86pc i386 i86pc
###@###.### 2001-08-14
- duplicates
-
JDK-4491124 String(byte[], String enc) misses NPE for enc == null
-
- Closed
-