JDK-6892738 : test/java/util/Arrays/ArrayObjectMethods.java failing intermittently
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2009-10-18
  • Updated: 2010-05-08
  • Resolved: 2009-10-22
Related Reports
Duplicate :  
Description
test/java/util/Arrays/ArrayObjectMethods.java is failing intermittently in JPRT, at least on windows-x64. This is observed with a build that is essentially jdk7 b73. Here's an example failure:

TEST: java/util/Arrays/ArrayObjectMethods.java
JDK under test: (C:\temp\jprt\T1\T\212512~1.AB2\TESTPR~1\WINDOW~1.2-P)
java version "1.7.0-2009-10-17-212512.ab23780.jdk"
Java(TM) SE Runtime Environment (build 1.7.0-2009-10-17-212512.ab23780.jdk-administrator_2009_10_17_19_19-b00)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b03, mixed mode)


ACTION: build -- Passed. Build successful
REASON: Named class compiled on demand
TIME:   1.266 seconds
messages:
command: build ArrayObjectMethods
reason: Named class compiled on demand
elapsed time (seconds): 1.266

ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME:   1.266 seconds
messages:
command: compile C:\temp\jprt\T1\T\212512.ab23780\source\test\java\util\Arrays\ArrayObjectMethods.java
reason: .class file out of date or does not exist
elapsed time (seconds): 1.266
STDOUT:
STDERR:

ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed
REASON: Assumed action based on file name: run main ArrayObjectMethods 
TIME:   2.031 seconds
messages:
command: main ArrayObjectMethods
reason: Assumed action based on file name: run main ArrayObjectMethods 
elapsed time (seconds): 2.031
STDOUT:

Passed = 135, failed = 1

STDERR:
java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(Thread.java:1353)
	at ArrayObjectMethods.fail(ArrayObjectMethods.java:177)
	at ArrayObjectMethods.check(ArrayObjectMethods.java:180)
	at ArrayObjectMethods.test(ArrayObjectMethods.java:113)
	at ArrayObjectMethods.instanceMain(ArrayObjectMethods.java:187)
	at ArrayObjectMethods.main(ArrayObjectMethods.java:185)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:717)
java.lang.AssertionError: Some tests failed
	at ArrayObjectMethods.instanceMain(ArrayObjectMethods.java:189)
	at ArrayObjectMethods.main(ArrayObjectMethods.java:185)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:717)

JavaTest Message: Test threw exception: java.lang.AssertionError: Some tests failed
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.AssertionError: Some tests failed