-
Bug
-
Resolution: Fixed
-
P1
-
hs12
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2177077 | 7 | Vladimir Kozlov | P3 | Resolved | Fixed | b26 |
JDK-2174868 | 6u14 | Vladimir Kozlov | P3 | Resolved | Fixed | b01 |
JDK-2172192 | 6u5p | Vladimir Kozlov | P3 | Resolved | Fixed | b02 |
JCK: JCK-runtime-6a alt. bundle
J2SE: FAIL - 6u5p b01, PASS 6u5, 6u4p
Platform[s]: FAIL - All
switch/Mode: FAIL - -server -Xcomp
Test api/java/text/NumberFormat/Format has side effect since 6u5p b01. For example:
java -server -Xcomp -Xfuture -classpath K:\\Links\\stt\\jck_promotions\\6a\\fcs\\alt2\\binaries\\JCK-runtime-6a\\classes javasoft.sqe.tests.api.java.text.NumberFormat.FormatTests -TestCaseID NumberFormat0010
test reports:
NumberFormat0006: Passed. OKAY
passes. At the sampe time when run after another test it fails:
java -server -Xcomp -Xfuture -classpath K:\\Links\\stt\\jck_promotions\\6a\\fcs\\alt2\\binaries\\JCK-runtime-6a\\classes javasoft.sqe.tests.api.java.text.NumberFormat.FormatTests -TestCaseID NumberFormat0006 NumberFormat0010
NumberFormat0006: Passed. OKAY
NumberFormat0010: Failed. Failed
Method format(Object, StringBuffer, FieldPosition) incorrect
StringBuffer passed to format(Long, StringBuffer, FieldPosition) method
expected value of StringBuffer =
passed value =
STATUS:Failed.test cases: 2; passed: 1; failed: 1; first test case failure: NumberFormat0010
Test does nothing except assigning one StringBuffer instance to a member of class NumberFormatTest then comparing both objects with ==.
Steps to reproduce:
run commands above.
Unix path to JCK is:
/net/stt-13.russia.sun.com/export/stt/jck_promotions/6a/fcs/alt2/binaries/JCK-runtime-6a/classes
test sources:
/net/stt-13.russia.sun.com/export/stt/jck_promotions/6a/fcs/alt2/binaries/JCK-runtime-6a/tests
J2SE: FAIL - 6u5p b01, PASS 6u5, 6u4p
Platform[s]: FAIL - All
switch/Mode: FAIL - -server -Xcomp
Test api/java/text/NumberFormat/Format has side effect since 6u5p b01. For example:
java -server -Xcomp -Xfuture -classpath K:\\Links\\stt\\jck_promotions\\6a\\fcs\\alt2\\binaries\\JCK-runtime-6a\\classes javasoft.sqe.tests.api.java.text.NumberFormat.FormatTests -TestCaseID NumberFormat0010
test reports:
NumberFormat0006: Passed. OKAY
passes. At the sampe time when run after another test it fails:
java -server -Xcomp -Xfuture -classpath K:\\Links\\stt\\jck_promotions\\6a\\fcs\\alt2\\binaries\\JCK-runtime-6a\\classes javasoft.sqe.tests.api.java.text.NumberFormat.FormatTests -TestCaseID NumberFormat0006 NumberFormat0010
NumberFormat0006: Passed. OKAY
NumberFormat0010: Failed. Failed
Method format(Object, StringBuffer, FieldPosition) incorrect
StringBuffer passed to format(Long, StringBuffer, FieldPosition) method
expected value of StringBuffer =
passed value =
STATUS:Failed.test cases: 2; passed: 1; failed: 1; first test case failure: NumberFormat0010
Test does nothing except assigning one StringBuffer instance to a member of class NumberFormatTest then comparing both objects with ==.
Steps to reproduce:
run commands above.
Unix path to JCK is:
/net/stt-13.russia.sun.com/export/stt/jck_promotions/6a/fcs/alt2/binaries/JCK-runtime-6a/classes
test sources:
/net/stt-13.russia.sun.com/export/stt/jck_promotions/6a/fcs/alt2/binaries/JCK-runtime-6a/tests
- backported by
-
JDK-2172192 Side effect in NumberFormat tests with -server -Xcomp (all platforms, 6u5 perf release b01)
- Resolved
-
JDK-2174868 Side effect in NumberFormat tests with -server -Xcomp (all platforms, 6u5 perf release b01)
- Resolved
-
JDK-2177077 Side effect in NumberFormat tests with -server -Xcomp (all platforms, 6u5 perf release b01)
- Resolved
- relates to
-
JDK-6686791 Side effect in NumberFormat tests with -server -Xcomp (all platforms, 6u5 perf release b01)
- Closed
-
JDK-6667580 Optimize CmpP for allocations
- Closed