Failed
org.eclipse.jdt.core.tests.compiler.regression.BinaryLiteralTest.test005 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)
Error Message
test005 - Eclipse found error(s) but Javac did not find any. ----------- Expected ------------ ------------ but was ------------ ----------\n 1. ERROR in X.java (at line 3)\n System.out.println(-0b1110000);\n ^^^^^^^^^\n Binary literals can only be used with source level 1.7 or greater\n ----------\n --------- Difference is ---------- expected:<[]> but was:<[----------\n 1. ERROR in X.java (at line 3)\n System.out.println(-0b1110000);\n ^^^^^^^^^\n Binary literals can only be used with source level 1.7 or greater\n ----------\n ]>
Stacktrace
junit.framework.ComparisonFailure: test005 - Eclipse found error(s) but Javac did not find any. ----------- Expected ------------ ------------ but was ------------ ----------\n 1. ERROR in X.java (at line 3)\n System.out.println(-0b1110000);\n ^^^^^^^^^\n Binary literals can only be used with source level 1.7 or greater\n ----------\n --------- Difference is ---------- expected:<[]> but was:<[----------\n 1. ERROR in X.java (at line 3)\n System.out.println(-0b1110000);\n ^^^^^^^^^\n Binary literals can only be used with source level 1.7 or greater\n ----------\n ]> at org.eclipse.jdt.core.tests.compiler.regression.BinaryLiteralTest.test005(BinaryLiteralTest.java:110)
Standard Output
org.eclipse.jdt.core.tests.compiler.regression.BinaryLiteralTest#test005 - 1.8 X.java [ public class X { public static void main(String[] args) { System.out.println(-0b1110000); } } ] Full results sent to /home/jenkins/agent/workspace/eclipse.jdt.core-run.javac-1.8/tmp/comptest/run.1584479137560/1.8.0_202_20200317_210541.txt
Standard Error
----------------------------------------