The following JT_HS test started failing in the 2012-01-10
RT_Baseline nightly after syncing with Main_Baseline:
compiler/7116216/StackOverflow.java
This test failed in 15 configs (so far).
Here is a snippet from one of the .jtr files:
----------messages:(3/152)----------
command: main -Xcomp -Xbatch StackOverflow
reason: User specified action: run main/othervm -Xcomp -Xbatch StackOverflow
elapsed time (seconds): 11.064
----------System.out:(0/0)----------
----------System.err:(12/876)----------
java.lang.IllegalAccessException: Class com.sun.javatest.regtest.MainWrapper$MainThread can not access a member of class StackOverflow with modifiers "public static"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:95)
at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:261)
at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:253)
at java.lang.reflect.Method.invoke(Method.java:594)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:722)
JavaTest Message: Verify that the class defining the test is
JavaTest Message: declared public (test invoked via reflection)
STATUS:Error.java.lang.IllegalAccessException: Class com.sun.javatest.regtest.MainWrapper$MainThread can not access a member of class StackOverflow with modifiers "public static"
result: Error. java.lang.IllegalAccessException: Class com.sun.javatest.regtest.MainWrapper$MainThread can not access a member of class StackOverflow with modifiers "public static"
test result: Error. java.lang.IllegalAccessException: Class com.sun.javatest.regtest.MainWrapper$MainThread can not access a member of class StackOverflow with modifiers "public static"
Since RT_Baseline started failing when sync'ed with Main_Baseline,
I checked Main_Baseline nightly results. This test started failing
in Main_Baseline on 2011-01-04 with the following VM identifier:
23.0-b10-internal-201201041834.bvandett.merge-to-main
The test failed in 8/8 configs in Main_Baseline.
The test does not show up on either the "New Failures" list or
the "Known Failures" list for the 2012-01-03 nightly in any
baseline. That means that the test either did not fail in any
baseline's nightly prior to 2012-01-04 or that subsuite (JT_HS)
is not executed on the baseline in which the failure originated.
I checked all baseline back to 2011-12-26 and verified that this
test first fails in Main_Baseline on 2012-01-04.
I just realized that this set of error messages:
java.lang.IllegalAccessException: Class com.sun.javatest.regtest.MainWrapper$MainThread can not access a member of class StackOverflow with modifiers "public static"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:95)
at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:261)
at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:253)
at java.lang.reflect.Method.invoke(Method.java:594)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:722)
JavaTest Message: Verify that the class defining the test is
JavaTest Message: declared public (test invoked via reflection)
is coming from the JavaTest/JTREG harness. This is starting
to look like an environment issue.