Regression

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

Failing for the past 1 build (Since Failed#91 )
Took 0.8 sec.

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 - 10
X.java [
public class X {	
	public static void main(String[] args) {
		System.out.println(-0b1110000);
	}
}
]


Full results sent to /tmp/genie.jdt/comptest/run.1563077023750/10.0.1_20190714_000352.txt

Standard Error

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