-
Bug
-
Resolution: Duplicate
-
P3
-
6
-
generic
-
generic
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#SetGet
Test source location:
=====================
/net/cady/export/dtf/unified/knight-ws/suites/jck/jck6.0/JCK-runtime-60/tests/api/java_util/Date/SetGetTests.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.SetGetTests -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)
Date1032: Failed. getYear() returns wrong result : -292276955
Date1034: Failed. getMonth() returns wrong result : 4
Date1036: Failed. getDate() returns wrong result : 16
Date1038: Failed. getHours() returns wrong result : 8
Date1040: Failed. getMinutes() returns wrong result : 47
Date1042: Failed. getSeconds() returns wrong result : 4
Date1043: Failed. getDay() returns wrong result : 0
date = Fri Dec 14 23:12:55 PST 292272992
millis = -9223372036854775808
expected year = 292271092
date = Fri Dec 14 23:12:55 PST 292272992
millis = -9223372036854775808
expected month = 11
date = Fri Dec 14 23:12:55 PST 292272992
millis = -9223372036854775808
expected day of month = 14
date = Fri Dec 14 23:12:55 PST 292272992
millis = -9223372036854775808
expected hours = 23
date = Fri Dec 14 23:12:55 PST 292272992
millis = -9223372036854775808
expected minutes = 12
date = Fri Dec 14 23:12:55 PST 292272992
millis = -9223372036854775808
expected seconds = 55
date = Fri Dec 14 23:12:55 PST 292272992
millis = -9223372036854775808
expected day of week = 5
STATUS:Failed.test cases: 27; passed: 20; failed: 7; first test case failure: Date1032
Specific Machine Info:
==============================
$ uname -a
SunOS hiltonlv 5.10 Generic_118835-02 sun4u sparc SUNW,Ultra-60
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#SetGet
Test source location:
=====================
/net/cady/export/dtf/unified/knight-ws/suites/jck/jck6.0/JCK-runtime-60/tests/api/java_util/Date/SetGetTests.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.SetGetTests -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)
Date1032: Failed. getYear() returns wrong result : -292276955
Date1034: Failed. getMonth() returns wrong result : 4
Date1036: Failed. getDate() returns wrong result : 16
Date1038: Failed. getHours() returns wrong result : 8
Date1040: Failed. getMinutes() returns wrong result : 47
Date1042: Failed. getSeconds() returns wrong result : 4
Date1043: Failed. getDay() returns wrong result : 0
date = Fri Dec 14 23:12:55 PST 292272992
millis = -9223372036854775808
expected year = 292271092
date = Fri Dec 14 23:12:55 PST 292272992
millis = -9223372036854775808
expected month = 11
date = Fri Dec 14 23:12:55 PST 292272992
millis = -9223372036854775808
expected day of month = 14
date = Fri Dec 14 23:12:55 PST 292272992
millis = -9223372036854775808
expected hours = 23
date = Fri Dec 14 23:12:55 PST 292272992
millis = -9223372036854775808
expected minutes = 12
date = Fri Dec 14 23:12:55 PST 292272992
millis = -9223372036854775808
expected seconds = 55
date = Fri Dec 14 23:12:55 PST 292272992
millis = -9223372036854775808
expected day of week = 5
STATUS:Failed.test cases: 27; passed: 20; failed: 7; first test case failure: Date1032
Specific Machine Info:
==============================
$ uname -a
SunOS hiltonlv 5.10 Generic_118835-02 sun4u sparc SUNW,Ultra-60
- duplicates
-
JDK-6314387 JCK6.0: api/java_util/Date/index.html#misc fails, mustang
-
- Closed
-