I have eclipse 3, and I use "assert" liberally in my Java code for development phase. However, though I have set compiler compliance for Java 1.4, eclipse still marks it as error, saying - Syntax error on token "assert", assert expected
How can I configure Eclipse s that it recognizes assert correctly.
TIA, - Manish
posted 11 years ago
in the compiler options, "Compliance and Classfiles" tab, set all 3 options in the JDK compliance section to 1.4.