You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Steve Loughran <st...@iseran.com> on 2001/12/19 20:48:29 UTC

asserts in java 1.4

I was rummaging around the 1.4beta3 api today, as you do, and noticed that
the ClassLoader class has added some methods to set the assertion status on
a class or package; provided a class has not been initialised stuff can be
turned on or off:
http://java.sun.com/j2se/1.4/docs/api/java/lang/ClassLoader.html

It should therefore be possible to flip asserts on and off inside a running
JVM. woo hoo, as they say



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>