I have set the compliance setting to 1.4, but I am not able to run and trigger an assertion error. Even if the assertion fails, the console does not report the assertion failure. Is there some option in eclipse which I am not setting properly? Thanks in advance...
posted 12 years ago
Just add "-enableassertions" to the VM arguments. I haven't seen a preferences setting for enabling assertions.