ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject asserts in java 1.4
Date Wed, 19 Dec 2001 19:48:29 GMT
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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message