Community
Participate
Working Groups
THe JDT willnot recognize 'assert' as a keyword, and will not compile it period. I would really apreciate it if you would add this keyword. Thank you.
What are your compiler settings? The assert keyword is supported for a while. You need to change your compiler settings to 1.4 mode. See Preferences>Java>Compiler>Compliance and Classfiles>JDK Compliance. Set it to 1.4. You can also set these preferences on a per project basis.
Change severity since this looks like a configuration problem not a bug.
Ok to close?
Could you please let me know if changing the settings to 1.4 mode fixes your problem? Thanks. Without reply from you, it will be closed as INVALID.
Close as INVALID. Reopen if you cannot use assert as a keyword even if the 1.4 mode is activated.
sorry, yes changing the setting fixed the problem.