In Java 1.4, can applets enable and disable assertions?
John Zukowski Yes. There are no required permissions to enable or disable assertion checking. This permits the applet to only access/alter classes from the same classloader, so doesn't expand access in any way. It is possible to cause a weak denial of service attack by enabling assertions.