Skip to content

Failed

org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest.test277643 - 10 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 22 builds (Since #111 )
Took 1.2 sec.

Error Message

test277643: unused excuse org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacTestOptions$EclipseHasABug@6e2b0a37 for compiler org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacCompiler@31cd0bc0

Stacktrace

junit.framework.AssertionFailedError: test277643: unused excuse org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacTestOptions$EclipseHasABug@6e2b0a37 for compiler org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacCompiler@31cd0bc0
	at org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest.test277643(GenericTypeTest.java:51457)

Standard Output


Full results sent to /tmp/comptest/run.1584245034298/10.0.2_20200315_040443.txt

Standard Error

--- javac err: ---
Test.java:4: warning: [rawtypes] found raw type: Test.W_Description
		W_Description wdescription = get(W_Description.class, object);
		^
  missing type arguments for generic class Test.W_Description<WRAPPED>
  where WRAPPED is a type-variable:
    WRAPPED extends Object declared in class Test.W_Description
Test.java:4: warning: [unchecked] unchecked method invocation: method get in class Test is applied to given types
		W_Description wdescription = get(W_Description.class, object);
		                                ^
  required: Class<W>,T
  found: Class<Test.W_Description>,Object
  where W,T are type-variables:
    W extends Test.WrapperLogic<? super T> declared in method <T,W>get(Class<W>,T)
    T extends Object declared in method <T,W>get(Class<W>,T)
2 warnings