Community
Participate
Working Groups
Build 3.0M3 The following source compiled in 1.3 source mode is flagged with a syntax error as expected (assert isn't a keyword in 1.3 mode), but the error diagnosis is rather misleading. public class X { public static void main(String[] args) { assert true; } } --> Syntax error on token "assert", assert expected !?
Post 3.0
Reopen
Cannot be reproduced with 3.3. Fixed in a previous build. Test added ComplianceDiagnoseTest#test0053()