Secure Coding mailing list archives

By default, the Verifier is disabled on .Net and Java


From: stephen at corsaire.com (Stephen de Vries)
Date: Fri, 05 May 2006 09:03:22 +0700


Jim Halfpenny on the Webappsec list has discovered that BEA's JRockit
JDK _does_ use verification by default, his complete post quoted below
(the test was to access private methods on a class):


Hi,
BEA JRockit verifies by default and as far as I am aware does not offer a
-noverify option.

$ java -cp . verifytest2.Main
java.lang.IllegalAccessError: getName
        at verifytest2/Main.<init>()V(Main.java:???)
        at verifytest2/Main.main([Ljava/lang/String;)V(Main.java:12)

Tested with JRockit 1.4.2_08.

Regards,
Jim Halfpenny





Current thread: