JDK-4679936 : WIN64: JCK1.4: 9 api/java_lang/StrictMath tests fail
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 1.4.1
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: itanium
  • Submitted: 2002-05-04
  • Updated: 2002-06-18
  • Resolved: 2002-05-16
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.1 betaFixed
Related Reports
Relates :  
Description
Filed By       : J2SE-SQA [###@###.###
JDK            : J2SE 1.4.1-test-test
JCK            : jck1.4-b17
Platform[s]    : Windows XP 64 bit
switch/Mode    : -Xinterpreter -Xfuture
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]: api/java_lang/StrictMath/desc.html#asin
                 api/java_lang/StrictMath/desc.html#atan
                 api/java_lang/StrictMath/desc.html#atan2
                 api/java_lang/StrictMath/desc.html#cos
                 api/java_lang/StrictMath/desc.html#exp
                 api/java_lang/StrictMath/desc.html#log
                 api/java_lang/StrictMath/desc.html#pow
                 api/java_lang/StrictMath/desc.html#sin
                 api/java_lang/StrictMath/desc.html#tan

Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_lang/StrictMath/*.java

jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/hopper/PIT/itanium/jck14/win/workDir/api/java_lang/StrictMath/*.jtr

How to reproduce:
=================

Run the following script (you may need to change JCK and JDK variables):

--- script start ---
#!/bin/sh

JCK=I:/sail16/JCK/jck14/JCK-runtime-14
JDK=c:/j2sdk1.4.1

flags="-Xfuture -verify -Xinterpreter -Xmx256m -Djava.security.policy=${JCK}/lib/jck.policy"

${JDK}/bin/java -classpath "${JCK}/classes;${JCK}/javatest.jar" ${flags} javasoft.sqe.tests.api.java.lang.StrictMath.asin_test
res=$?
if [ "${res}" != "95" ]; then
	echo "*** Test FAILED: ${res}"
else
	echo "*** Test PASSED"
fi
--- script end ---

Test output:
============
asin failed for 3fd126e978d4fdf8 Expected 3fd15d3fd6ef496c Got: 3fd15d3fd6ef496b
asin failed for 3fd2978d4fdf3b69 Expected 3fd2dd2c4be44395 Got: 3fd2dd2c4be44394
asin failed for 3fd676c8b4395816 Expected 3fd6f3f04fea549c Got: 3fd6f3f04fea549d
asin failed for 3fd7df3b645a1cb2 Expected 3fd8769fe8dfde2c Got: 3fd8769fe8dfde2b
asin failed for 3fd8000000000006 Expected 3fd899f4edc962da Got: 3fd899f4edc962d9
asin failed for 3fd9810624dd2f21 Expected 3fda3b7ca8b8996e Got: 3fda3b7ca8b8996d
asin failed for 3fda3d70a3d70a44 Expected 3fdb097cc349e2ce Got: 3fdb097cc349e2cd
asin failed for 3fdc20c49ba5e35b Expected 3fdd1f684ace3146 Got: 3fdd1f684ace3147
asin failed for 3fdc28f5c28f5c30 Expected 3fdd2887569581d2 Got: 3fdd2887569581d1
asin failed for 3fdcccccccccccd4 Expected 3fdddf7bba8753d5 Got: 3fdddf7bba8753d4
asin failed for 3fdddb22d0e56049 Expected 3fdf0fa43f701ab8 Got: 3fdf0fa43f701ab7
asin failed for 3fde8f5c28f5c297 Expected 3fdfdc129d0414d8 Got: 3fdfdc129d0414d7
asin failed for 3fde978d4fdf3b6c Expected 3fdfe565d231ba06 Got: 3fdfe565d231ba05
asin failed for 3fe004189374bc6e Expected 3fe0c60d36702058 Got: 3fe0c60d36702059
asin failed for 3fe0083126e978d8 Expected 3fe0cac89c39e9c6 Got: 3fe0cac89c39e9c7
asin failed for 3fe01cac083126ea Expected 3fe0e277b15be34e Got: 3fe0e277b15be34d
asin failed for 3fe024dd2f1a9fbe Expected 3fe0ebf3c9007be6 Got: 3fe0ebf3c9007be5
asin failed for 3fe045a1cac0830e Expected 3fe111f4a88f46e4 Got: 3fe111f4a88f46e5
asin failed for 3fe083126e978d44 Expected 3fe1597eaca89b90 Got: 3fe1597eaca89b8f
asin failed for 3fe0978d4fdf3b56 Expected 3fe1716cb96bf750 Got: 3fe1716cb96bf751
asin failed for 3fe0a7ef9db22cfe Expected 3fe1849962b61536 Got: 3fe1849962b61535
asin failed for 3fe0d4fdf3b6458c Expected 3fe1b9788a9b43a2 Got: 3fe1b9788a9b43a3
asin failed for 3fe0ed916872b008 Expected 3fe1d66623b2e4c8 Got: 3fe1d66623b2e4c9
asin failed for 3fe12f1a9fbe76a8 Expected 3fe223dad327a11c Got: 3fe223dad327a11d
asin failed for 3fe14fdf3b6459f8 Expected 3fe24ac1f24bc518 Got: 3fe24ac1f24bc519
asin failed for 3fe15810624dd2cc Expected 3fe2548079aecb22 Got: 3fe2548079aecb21
asin failed for 3fe16c8b439580de Expected 3fe26ce531979b84 Got: 3fe26ce531979b83
asin failed for 3fe1810624dd2ef0 Expected 3fe2855601c48320 Got: 3fe2855601c4831f
asin failed for 3fe19db22d0e55d6 Expected 3fe2a7a21b1d4098 Got: 3fe2a7a21b1d4099
asin failed for 3fe1c28f5c28f590 Expected 3fe2d3de92377ede Got: 3fe2d3de92377edf
asin failed for 3fe1d2f1a9fbe738 Expected 3fe2e794c3a8f340 Got: 3fe2e794c3a8f33f
asin failed for 3fe1d70a3d70a3a2 Expected 3fe2ec839598c4dc Got: 3fe2ec839598c4db
asin failed for 3fe2083126e9789a Expected 3fe327dd954b4e88 Got: 3fe327dd954b4e87
asin failed for 3fe21cac083126ac Expected 3fe340ae93c3d16c Got: 3fe340ae93c3d16b
asin failed for 3fe22d0e56041854 Expected 3fe354927fb82960 Got: 3fe354927fb82961
asin failed for 3fe2395810624d92 Expected 3fe363830b801f34 Got: 3fe363830b801f33
asin failed for 3fe2666666666620 Expected 3fe39a7403a86852 Got: 3fe39a7403a86853
asin failed for 3fe26a7ef9db228a Expected 3fe39f75ed573dfa Got: 3fe39f75ed573df9
asin failed for 3fe28b43958105da Expected 3fe3c79930aa837e Got: 3fe3c79930aa837f
asin failed for 3fe29ba5e353f782 Expected 3fe3dbb8410e25a8 Got: 3fe3dbb8410e25a7
asin failed for 3fe2c083126e973c Expected 3fe4091f64723d70 Got: 3fe4091f64723d71
asin failed for 3fe2ed916872afca Expected 3fe440dd10d4680c Got: 3fe440dd10d4680b
asin failed for 3fe3604189374b62 Expected 3fe4d007094cd9c2 Got: 3fe4d007094cd9c3
asin failed for 3fe3851eb851eb1c Expected 3fe4fe72c7c6f0f6 Got: 3fe4fe72c7c6f0f5
asin failed for 3fe389374bc6a786 Expected 3fe5039e64136c0a Got: 3fe5039e64136c09
asin failed for 3fe399999999992e Expected 3fe518534a515ec4 Got: 3fe518534a515ec3
asin failed for 3fe3a9fbe76c8ad6 Expected 3fe52d1297a1deea Got: 3fe52d1297a1dee9
asin failed for 3fe3b645a1cac014 Expected 3fe53ca8f3fe7500 Got: 3fe53ca8f3fe7501
asin failed for 3fe3df3b645a1c38 Expected 3fe570c95526208e Got: 3fe570c95526208f
asin failed for 3fe40c49ba5e34c6 Expected 3fe5aa6e4efef1fe Got: 3fe5aa6e4efef1fd
asin failed for 3fe445a1cac08292 Expected 3fe5f4459c2416d6 Got: 3fe5f4459c2416d5
asin failed for 3fe46e978d4fdeb6 Expected 3fe62959bee9ddc8 Got: 3fe62959bee9ddc9
asin failed for 3fe483126e978cc8 Expected 3fe643ff3e25493e Got: 3fe643ff3e25493f
asin failed for 3fe4872b020c4932 Expected 3fe64955c3c3ee14 Got: 3fe64955c3c3ee13
asin failed for 3fe4e147ae147a4e Expected 3fe6bf84fc98a816 Got: 3fe6bf84fc98a815
asin failed for 3fe578d4fdf3b5a0 Expected 3fe789ae1f712f64 Got: 3fe789ae1f712f65
asin failed for 3fe5ef9db22d0da2 Expected 3fe82b56662633c8 Got: 3fe82b56662633c7
asin failed for 3fe6e147ae147a10 Expected 3fe97df1d6962092 Got: 3fe97df1d6962091
asin failed for 3fe76872b020c3ba Expected 3fea41b1aa224734 Got: 3fea41b1aa224735
asin failed for 3fe7eb851eb850fa Expected 3feb046d7d62ee50 Got: 3feb046d7d62ee51
asin failed for 3fe810624dd2f0b4 Expected 3feb3c2331c74c7c Got: 3feb3c2331c74c7d
asin failed for 3fe84189374bc5ac Expected 3feb8718d8ada81a Got: 3feb8718d8ada819
asin failed for 3fe89fbe76c8b332 Expected 3fec190cd5048b22 Got: 3fec190cd5048b23
asin failed for 3fe8a7ef9db22c06 Expected 3fec25e3ae0f0ef4 Got: 3fec25e3ae0f0ef5
asin failed for 3fe8d4fdf3b64494 Expected 3fec6cf20b5e7d18 Got: 3fec6cf20b5e7d19
asin failed for 3fe916872b020b34 Expected 3fecd5ad2f7c89a6 Got: 3fecd5ad2f7c89a5
asin failed for 3fe92f1a9fbe75b0 Expected 3fecfd636b311096 Got: 3fecfd636b311095
asin failed for 3fe9604189374aa8 Expected 3fed4d8f1ad0a0a2 Got: 3fed4d8f1ad0a0a1
asin failed for 3fe970a3d70a3c50 Expected 3fed688295578d7a Got: 3fed688295578d7b
asin failed for 3fe97ced9168718e Expected 3fed7cccc6242622 Got: 3fed7cccc6242621
asin failed for 3fe9851eb851ea62 Expected 3fed8a5d005b32d0 Got: 3fed8a5d005b32cf
asin failed for 3fe9be76c8b4382e Expected 3fedea27406053f0 Got: 3fedea27406053f1
asin failed for 3fe9e76c8b439452 Expected 3fee2f837b1a1128 Got: 3fee2f837b1a1127
asin failed for 3fe9f7ced91685fa Expected 3fee4b7c36a50692 Got: 3fee4b7c36a50693
asin failed for 3fea147ae147ace0 Expected 3fee7cc1efc6b90a Got: 3fee7cc1efc6b90b
asin failed for 3fea20c49ba5e21e Expected 3fee9200936345d6 Got: 3fee9200936345d5
asin failed for 3fea353f7ced9030 Expected 3feeb595979248f0 Got: 3feeb595979248ef
asin failed for 3fea4189374bc56e Expected 3feecb0a330e0f18 Got: 3feecb0a330e0f17
asin failed for 3fea6a7ef9db2192 Expected 3fef132622867466 Got: 3fef132622867467
asin failed for 3fea76c8b43956d0 Expected 3fef28f693149372 Got: 3fef28f693149371
asin failed for 3fea872b020c4878 Expected 3fef462eb522d5a2 Got: 3fef462eb522d5a3
asin failed for 3feab020c49ba49c Expected 3fef8fea9d363da0 Got: 3fef8fea9d363d9f
asin failed for 3feab851eb851d70 Expected 3fef9ec8a598e3fa Got: 3fef9ec8a598e3fb
asin failed for 3feac8b439580f18 Expected 3fefbca458733abe Got: 3fefbca458733abf
asin failed for 3fead0e5604187ec Expected 3fefcba236ac4c1a Got: 3fefcba236ac4c19
asin failed for 3feadd2f1a9fbd2a Expected 3fefe23354560cc8 Got: 3fefe23354560cc7
asin failed for 3feae147ae147994 Expected 3fefe9be811df464 Got: 3fefe9be811df465
asin failed for 3feb0a3d70a3d5b8 Expected 3ff01ae4139d8ba4 Got: 3ff01ae4139d8ba3
asin failed for 3feb53f7ced9152c Expected 3ff060c55f517f6c Got: 3ff060c55f517f6d
asin failed for 3febb22d0e5602b2 Expected 3ff0bd055e587014 Got: 3ff0bd055e587015
asin failed for 3febc28f5c28f45a Expected 3ff0cd6e9d872966 Got: 3ff0cd6e9d872967
asin failed for 3febc6a7ef9db0c4 Expected 3ff0d18d84ebf972 Got: 3ff0d18d84ebf971
asin failed for 3febcac083126d2e Expected 3ff0d5ae480fd70a Got: 3ff0d5ae480fd709
asin failed for 3febd2f1a9fbe602 Expected 3ff0ddf56cce37ce Got: 3ff0ddf56cce37cd
asin failed for 3febf7ced91685bc Expected 3ff1039486236a74 Got: 3ff1039486236a75
asin failed for 3febfbe76c8b4226 Expected 3ff107cc7885b6c4 Got: 3ff107cc7885b6c5
asin failed for 3fec1cac08312576 Expected 3ff129d56ec74b66 Got: 3ff129d56ec74b67
asin failed for 3fec20c49ba5e1e0 Expected 3ff12e1feb5a05ee Got: 3ff12e1feb5a05ef
asin failed for 3fec28f5c28f5ab4 Expected 3ff136bb485f3c08 Got: 3ff136bb485f3c09
asin failed for 3fec3126e978d388 Expected 3ff13f5f41f6000e Got: 3ff13f5f41f6000f
asin failed for 3fec45a1cac0819a Expected 3ff1551f9c20ced6 Got: 3ff1551f9c20ced5
asin failed for 3fec7ef9db22cf66 Expected 3ff19338e5587a02 Got: 3ff19338e5587a01
asin failed for 3fec83126e978bd0 Expected 3ff197ba76382858 Got: 3ff197ba76382859
asin failed for 3fecc083126e9606 Expected 3ff1dc87c373b744 Got: 3ff1dc87c373b743
asin failed for 3fecc8b439580eda Expected 3ff1e5e20f7f680a Got: 3ff1e5e20f7f6809
asin failed for 3feccccccccccb44 Expected 3ff1ea93705f9fb0 Got: 3ff1ea93705f9faf
asin failed for 3fece560418935c0 Expected 3ff206f84fd8818c Got: 3ff206f84fd8818b
asin failed for 3fecf1a9fbe76afe Expected 3ff21552bbe40676 Got: 3ff21552bbe40677
asin failed for 3fecf9db22d0e3d2 Expected 3ff21ef397ca6f5e Got: 3ff21ef397ca6f5f
asin failed for 3fed0a3d70a3d57a Expected 3ff2325acb34e868 Got: 3ff2325acb34e867
asin failed for 3fed2b020c49b8ca Expected 3ff259c508ce8ee8 Got: 3ff259c508ce8ee7
asin failed for 3fed645a1cac0696 Expected 3ff2a0d9c6ff6170 Got: 3ff2a0d9c6ff616f
asin failed for 3fed916872b01f24 Expected 3ff2dac6b5efc5a2 Got: 3ff2dac6b5efc5a1
asin failed for 3fed95810624db8e Expected 3ff2e023f4fb5518 Got: 3ff2e023f4fb5519
asin failed for 3fedae147ae1460a Expected 3ff300b0e8f96632 Got: 3ff300b0e8f96633
asin failed for 3fedd70a3d70a22e Expected 3ff3386b29dcd0ca Got: 3ff3386b29dcd0cb
asin failed for 3fedfbe76c8b41e8 Expected 3ff36c4d73fa1a56 Got: 3ff36c4d73fa1a55
asin failed for 3fee10624dd2effa Expected 3ff389e72b5b874a Got: 3ff389e72b5b8749
asin failed for 3fee24dd2f1a9e0c Expected 3ff3a81a26aaf8ce Got: 3ff3a81a26aaf8cf
asin failed for 3fee4189374bc4f2 Expected 3ff3d37689819e90 Got: 3ff3d37689819e8f
asin failed for 3fee4dd2f1a9fa30 Expected 3ff3e675a28f15ea Got: 3ff3e675a28f15eb
asin failed for 3fee51eb851eb69a Expected 3ff3ecd981828d6e Got: 3ff3ecd981828d6d
asin failed for 3fee624dd2f1a842 Expected 3ff406b616ad9824 Got: 3ff406b616ad9823
asin failed for 3fee76c8b4395654 Expected 3ff427c024480eb2 Got: 3ff427c024480eb3
asin failed for 3fee7ef9db22cf28 Expected 3ff435335a09647a Got: 3ff435335a096479
asin failed for 3feeb851eb851cf4 Expected 3ff4978fa3269bba Got: 3ff4978fa3269bb9
asin failed for 3feed0e560418770 Expected 3ff4c448e9fe3fc4 Got: 3ff4c448e9fe3fc5
asin failed for 3feedd2f1a9fbcae Expected 3ff4db505d70c952 Got: 3ff4db505d70c953
asin failed for 3feee56041893582 Expected 3ff4eaeed9d2ad80 Got: 3ff4eaeed9d2ad7f
asin failed for 3feeed916872ae56 Expected 3ff4fac6afa6c9ca Got: 3ff4fac6afa6c9c9
asin failed for 3feef5c28f5c272a Expected 3ff50ada799bd8c4 Got: 3ff50ada799bd8c5
asin failed for 3feefdf3b6459ffe Expected 3ff51b2d062253a6 Got: 3ff51b2d062253a7
asin failed for 3fef0a3d70a3d53c Expected 3ff5342538981b12 Got: 3ff5342538981b11
asin failed for 3fef26e978d4fc22 Expected 3ff570eab59109ec Got: 3ff570eab59109ed
asin failed for 3fef2b020c49b88c Expected 3ff579ea14c9163c Got: 3ff579ea14c9163d
asin failed for 3fefb22d0e560236 Expected 3ff6ecf06ead5eb8 Got: 3ff6ecf06ead5eb9
asin failed for 3feb5ce34a51b239 Expected 3ff0695ba906e920 Got: 3ff0695ba906e921
asin failed 137 out of 2121 tests
STATUS:Failed. Check log
*** Test FAILED: 97

Specific Machine Info:
======================
Hostname: jcc-itanium-01
OS: Windows XP 64bit Edition

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: hopper-beta FIXED IN: hopper-beta INTEGRATED IN: hopper-beta VERIFIED IN: hopper-beta
14-06-2004

SUGGESTED FIX Add -Op to the CFLAGS for the j2se build. ###@###.### 2002-05-14
14-05-2002

EVALUATION The source code for the StrictMath methods has not changed recently; the cause of the reported failures is likely due to either improper builds of the StrictMath methods or problems in the ia64 system; therefore, I'm transferring this bug back to hotspot:runtime. The StrictMath methods are currently implemented via native calls to C versions of FDLIBM routines. Coding idioms used in FDLIBM require that they by compiled with little (or no) optimization. ###@###.### 2002-05-06 This problem is caused by Microsoft's Itanium compiler not following IEEE strict without using the /Op compiler option. This option is documented in the flags as "improving floating point consistency". These problems are fixed by adding -Op to the Defs-windows.gmk make file in the make/common build directory for j2se. I have verified that all java_lang JCK test now pass when using this compiler option on java.dll. ###@###.### 2002-05-14 Will work with Bob to get needed makefile changes into proper workspace, hopefully for hopper-beta. ###@###.### 2002-05-14
14-05-2002