JDK-8016745 : REGRESSION: java/lang/reflect/Method/GenericStringTest.java fails since JDK 8 b94
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang:reflect
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2013-06-17
  • Updated: 2013-07-18
  • Resolved: 2013-06-24
Related Reports
Duplicate :  
Description
Testsuite name: Regression
Test name: java/lang/reflect/Method/GenericStringTest.java
JDK tested: JDK 8 b84
OS tested: Solaris 11 sparc 64-bit, Ubuntu Linux 12.04 64-bit
Is it a regression: YES
Regression introduced in build: 8b94

Test passes 8 b93 and fails 8 b94.

Log:

#section:main
----------messages:(3/132)----------
command: main GenericStringTest
reason: Assumed action based on file name: run main GenericStringTest 
elapsed time (seconds): 1.15
----------System.out:(18/890)----------
static void TestClass1.method3() throws java.lang.RuntimeException
protected <S,T> S TestClass1.method4(S,T) throws java.lang.Exception
private static java.lang.String TestClass1.method2(int,int)
void TestClass1.method1(int,double)
public void TestClass2.method2() throws F
public <T> T TestClass2.method1(E,T)
public int Roebling.compareTo(java.lang.Object)
public int Roebling.compareTo(Roebling)
void Roebling.varArg(java.lang.Object...)
public default void TestInterface1.foo()
public default <A> A TestInterface1.bar()
public default strictfp double TestInterface1.quux()
Generic: public int Roebling.compareTo(java.lang.Object)
Regular: public int Roebling.compareTo(java.lang.Object)
Generic: public int Roebling.compareTo(Roebling)
Regular: public int Roebling.compareTo(Roebling)
Generic: void Roebling.varArg(java.lang.Object...)
Regular: void Roebling.varArg(java.lang.Object[])
----------System.err:(15/791)----------
ERROR: Expected ''public int Roebling.compareTo(Roebling)''; got ''public int Roebling.compareTo(java.lang.Object)''.
Test failed.
java.lang.RuntimeException
	at GenericStringTest.main(GenericStringTest.java:85)
	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:491)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:724)

JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException


test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException
Comments
This test is on the exclude list (see jdk/test/ProblemList.txt) pending resolution of JDK-8015780.
24-06-2013