Failed
org.eclipse.jdt.core.tests.compiler.regression.InnerClass15Test.test005 - 10 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)
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 - 10 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/comptest/run.1584245034298/10.0.2_20200315_040443.txt
Standard Error
----------------------------------------