Failed

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

Failing for the past 7 builds (Since Failed#111 )
Took 1.9 sec.

Error Message

testBug473317: unused excuse org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacTestOptions$Excuse@6f83db89 for compiler org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacCompiler@3ef04239

Stacktrace

junit.framework.AssertionFailedError: testBug473317: unused excuse org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacTestOptions$Excuse@6f83db89 for compiler org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacCompiler@3ef04239
	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.1575781522902/10.0.2_20191208_050527.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