Regression

org.eclipse.jdt.core.tests.compiler.regression.BinaryLiteralTest.test004 - 10 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 1 build (Since Failed#109 )
Took 0.54 sec.

Error Message

test004 - 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: 
test004 - 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.test004(BinaryLiteralTest.java:86)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.BinaryLiteralTest#test004 - 10
X.java [
public class X {	
	public static void main(String[] args) {
		System.out.println(0b1110000);
	}
}
]


Full results sent to /tmp/comptest/run.1570939403540/10.0.2_20191013_040324.txt

Standard Error

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