As of Java version 1.4, assertion statements are compiled by default.
The answer says it is wrong because:
as of Java 1.4 you must add the argument –source 1.4 to the command line if you want the
compiler to compile assertion statements.
I don't get it. The default behaviour is surely 'javac -source 6' so it should be true. Where am I going wrong?
I just compiled a test program without any -source flag and it works fine. It correctly throws 'assert false' when -ea used. Lost!