JDK-6874028 : JCK api/java_text/Bidi/index.html#ctor test fails with NPE from jdk 6u14 b01
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 6u14
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2009-08-20
  • Updated: 2011-01-19
  • Resolved: 2009-08-20
Related Reports
Duplicate :  
Description
api/java_text/Bidi/index.html#ctor[Bidi2022] JCK 6b test started to fail with NPE 
java version "1.6.0_15-rev"
Java(TM) Platform, Standard Edition for Business (build 1.6.0_15-rev-b05)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b04, compiled mode)
=================================
java.lang.NullPointerException
	at javasoft.sqe.tests.api.java.text.Bidi.ctorTests.Bidi2022(ctorTests.java:374)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:406)
	at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
	at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
	at javasoft.sqe.tests.api.java.text.Bidi.ctorTests.main(ctorTests.java:28)
Bidi2022: Failed. Test case throws exception: java.lang.NullPointerException
STATUS:Failed.test cases: 1; all failed; first test case failure: Bidi2022

Test fails *only* with options (-d64) -Xcomp -XX:+UseCompressedOops.
When -Xcomp or -XX:+UseCompressedOops omitted - test pass.
Test started to fail from jdk 6u14 b01, when -XX:+UseCompressedOops option became availible.

Comments
EVALUATION Duplicate of 6865031. The test passed after applying the fix for 6865031.
20-08-2009