Failed

org.eclipse.jdt.core.tests.compiler.regression.ResourceLeakTests.testBug473317 - 10 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

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

Error Message

testBug473317: unused excuse org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacTestOptions$Excuse@531a82 for compiler org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacCompiler@46494bec

Stacktrace

junit.framework.AssertionFailedError: testBug473317: unused excuse org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacTestOptions$Excuse@531a82 for compiler org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacCompiler@46494bec
	at org.eclipse.jdt.core.tests.compiler.regression.ResourceLeakTests.runLeakTest(ResourceLeakTests.java:75)
	at org.eclipse.jdt.core.tests.compiler.regression.ResourceLeakTests.testBug473317(ResourceLeakTests.java:5362)

Standard Output


Full results sent to /tmp/comptest/run.1573967040170/10.0.2_20191117_050427.txt

Standard Error

--- javac err: ---
AutoCloseableEnhancedForTest.java:27: warning: [try] auto-closeable resource MyIterable<T> has a member method close() that could throw InterruptedException
   private static class MyIterable<T> implements Iterable<T>, AutoCloseable
                  ^
  where T is a type-variable:
    T extends Object declared in class MyIterable
1 warning