Bug 45999

Summary: Out-of-the-box default compliance settings silly
Product: [Eclipse Project] JDT Reporter: Eric Nickell <nickell>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 M5   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Eric Nickell CLA 2003-11-03 17:39:57 EST
With Compiler compliance level set to 1.4, and "Use default compliance settings"
checked, my project has many instances of "Syntax error on token "assert",
assert expected".

The error message is non-informative. Moreover, it took me some time to discover
a workaround: Uncheck "Use default compliance settings", and set the three
subsequent pull-down combo boxes to be "1.4", "1.4", and "Error" respectively.

Out-of-the-box, the grayed portions were displaying "1.2", "1.3", and "Warning".
Comment 1 Philipe Mulet CLA 2003-11-04 05:17:44 EST
These defaults match javac from JDK1.4.