Bug 45999 - Out-of-the-box default compliance settings silly
Summary: Out-of-the-box default compliance settings silly
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.0 M5   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-03 17:39 EST by Eric Nickell CLA
Modified: 2003-11-04 05:17 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.