JDK-6345520 : JCK14a Some api/java_lang StrictMath tests fail with 142_11b1 64bit JDK on Windows x86_64
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 1.4.2_11
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_2003
  • CPU: x86
  • Submitted: 2005-11-03
  • Updated: 2010-05-10
  • Resolved: 2005-12-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2_11 b02Fixed
Related Reports
Relates :  
Relates :  
Description
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

Comments
EVALUATION The fix for 4984407 is confirmed to also fix the failed pow_test and atan2_test. This fix will be applied to the _11 workspace. This fix hasn't been tested on IA64 so it isn't clear if there is any connection to the additional failures noted in this CR's comments: a separate bug should be filed as these additional failures are not connected to the platform covered by this CR's SR. The commit build number is a guess until the build schedule can be determined.
16-11-2005