-
Bug
-
Resolution: Fixed
-
P2
-
1.4.2_11
The following two tests fail on Windows 2003 ES and Windows XP Pro X64 systems with java version 1.4.2_11-ea-b01 [windows-amd64 bundle].
javasoft.sqe.tests.api.java.lang.StrictMath.pow_test
javasoft.sqe.tests.api.java.lang.StrictMath.atan2_test
When you run these tests with 32bit JDK they pass with no errors.
I also tested on Solaris_AMD with 64bit bundle and 64bit libraries - tests pass ok.
Output observed when running attached script lang_fail.sh with 64bit JDK and 64bit libraries-
java version "1.4.2_11-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-ea-b01)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_11-ea-b01, mixed mode)
pow failed for 8000000000000000 , 4008000000000000 Expected 8000000000000000 Got
: 0
pow failed for fff0000000000000 , c008000000000000 Expected 8000000000000000 Got
: 0
pow failed 2 out of 1740 tests
STATUS:Failed. Check log
Configuration tested
--------------------
JCK=/net/carlow.ireland/export/home4/jck/JCK-runtime-14a
LD_LIBRARY_PATH=/net/carlow.ireland/export/home4/jck/JCK-runtime-14a/lib/windows-amd64/64bit
Bundle Tested - /net/carlow.ireland/export/home2/jdks/1.4.2_11/ea/b01/bundles/windows-amd64/j2sdk-1_4_2_11-ea-bin-b01-windows-amd64-21_oct_2005.tar
javasoft.sqe.tests.api.java.lang.StrictMath.pow_test
javasoft.sqe.tests.api.java.lang.StrictMath.atan2_test
When you run these tests with 32bit JDK they pass with no errors.
I also tested on Solaris_AMD with 64bit bundle and 64bit libraries - tests pass ok.
Output observed when running attached script lang_fail.sh with 64bit JDK and 64bit libraries-
java version "1.4.2_11-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-ea-b01)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_11-ea-b01, mixed mode)
pow failed for 8000000000000000 , 4008000000000000 Expected 8000000000000000 Got
: 0
pow failed for fff0000000000000 , c008000000000000 Expected 8000000000000000 Got
: 0
pow failed 2 out of 1740 tests
STATUS:Failed. Check log
Configuration tested
--------------------
JCK=/net/carlow.ireland/export/home4/jck/JCK-runtime-14a
LD_LIBRARY_PATH=/net/carlow.ireland/export/home4/jck/JCK-runtime-14a/lib/windows-amd64/64bit
Bundle Tested - /net/carlow.ireland/export/home2/jdks/1.4.2_11/ea/b01/bundles/windows-amd64/j2sdk-1_4_2_11-ea-bin-b01-windows-amd64-21_oct_2005.tar
- relates to
-
JDK-6351144 JCK14a Some api/java_lang StrictMath tests fail with 142_11b1 64bit JDK on Itanium2
- Closed
-
JDK-4984407 StrictMath.atan2 and StrictMath.pow return incorrect values for AMD64 machine
- Closed