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.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.