Skip to content

Failed

org.eclipse.jdt.core.tests.compiler.regression.InnerClass15Test.test006 - 12 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 1 build (Since #44 )
Took 0.87 sec.

Error Message

test006 - 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: 
test006 - 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.test006(InnerClass15Test.java:172)

Standard Output

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

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

]


Full results sent to /tmp/genie.jdt/comptest/run.1565715170219/12_20190813_125251.txt

Standard Error

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