Skip to content

Failed

org.eclipse.jdt.core.tests.compiler.regression.InnerClass15Test.test005 - 11 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 1 build (Since #43 )
Took 0.82 sec.

Error Message

test005 - Eclipse found warning(s) but Javac did not find any.
----------- Expected ------------

------------ but was ------------
----------\n
1. WARNING in p1\GreenBox.java (at line 2)\n
 import static p1.BrownBox.*;\n
               ^^^^^^^^^^^\n
The import p1.BrownBox is never used\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. WARNING in p1\GreenBox.java (at line 2)\n
 import static p1.BrownBox.*;\n
               ^^^^^^^^^^^\n
The import p1.BrownBox is never used\n
----------\n
]>

Stacktrace

junit.framework.ComparisonFailure: 
test005 - Eclipse found warning(s) but Javac did not find any.
----------- Expected ------------

------------ but was ------------
----------\n
1. WARNING in p1\GreenBox.java (at line 2)\n
	import static p1.BrownBox.*;\n
	              ^^^^^^^^^^^\n
The import p1.BrownBox is never used\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. WARNING in p1\GreenBox.java (at line 2)\n
	import static p1.BrownBox.*;\n
	              ^^^^^^^^^^^\n
The import p1.BrownBox is never used\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.InnerClass15Test.test005(InnerClass15Test.java:149)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.InnerClass15Test#test005 - 11
p1/GreenBox.java [
package p1;
import static p1.BrownBox.*;
public interface GreenBox {
    public static class Cat extends Object {}
}

]
p1/BrownBox.java [
package p1;
import static p1.GreenBox.*;
public interface BrownBox {
    public static class BlackCat extends Cat {}
}

]


Full results sent to /tmp/genie.jdt/comptest/run.1565427784609/11_20190810_050312.txt

Standard Error

----------------------------------------