Skip to content

Failed

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

Failing for the past 31 builds (Since Failed #44 )
Took 1 sec.

Error Message

test277643: unused excuse org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacTestOptions$EclipseHasABug@20fe3a28 for compiler org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacCompiler@7b9f7087

Stacktrace

junit.framework.AssertionFailedError: test277643: unused excuse org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacTestOptions$EclipseHasABug@20fe3a28 for compiler org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacCompiler@7b9f7087
	at org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest.test277643(GenericTypeTest.java:51457)

Standard Output


Full results sent to /tmp/comptest/run.1584180334688/12_20200314_100536.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