Duplicate :
|
|
Duplicate :
|
|
Relates :
|
JCK : jck6.0 J2SE : FAIL - mustang b48 PASS - mustang b47 Platform[s] : FAIL - solaris, linux switch/Mode : FAIL - default JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto Failing Tests : api/java_util/Date/index.html#misc Test source location: ===================== /net/cady/export/dtf/unified/knight-ws/suites/jck/jck6.0/JCK-runtime-60/tests/api/java_util/Date/miscTests.java jtr file location: ================== attached How to reproduce: ============================================== -----------------script starts ---------------- #!/bin/sh JDK=/net/koori/onestop/jdk/1.6.0/promoted/all/b48/binaries/solaris-sparc JCK=/net/jsqalab/export/testsuites/JCK/jck6.0/b06/JCK-runtime-60 LD=LIBRARY_PATH="$JCK/lib/SunOS.sparc:$JCK/lib/SunOS.sparc/jmx" export LD_LIBRARY_PATH CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar" POLICY="-Djava.security.policy=$JCK/lib/jck.policy" TEST="javasoft.sqe.tests.api.java.util.Date.miscTests -TestCaseID ALL" echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep JCK_BUILD` $JDK/bin/java -showversion -cp $CLASSPATH $POLICY $TEST -----------------script ends ---------------- Test output: ============= JCK_VERSION=6.0 JCK_BUILD_ID=b06 java version "1.6.0-ea" Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b48) Java HotSpot(TM) Client VM (build 1.6.0-ea-b48, mixed mode, sharing) ... Date2013: Failed. toString() returns wrong result : Sun May 16 08:47:04 PST -292275055 Date2014: Failed. toGMTString() returns wrong result : 16 May -292275055 16:47:04 GMT ... ------Date2013------ expected result = "Sun Dec 02 08:47:04 PST 292269055 ------Date2014------ expected result = 2 Dec 292269055 16:47:04 GMT STATUS:Failed.test cases: 42; passed: 40; failed: 2; first test case failure: Date2013 Specific Machine Info: ============================== $ uname -a SunOS hiltonlv 5.10 Generic_118835-02 sun4u sparc SUNW,Ultra-60 *** (#1 of 1): 2005-08-22 16:46:24 PDT ###@###.###
|