> You can still emulate this by wrapping all your assert's in an
> 
> if (RELEASE) {
>   assert ...;
> }
> 
> with RELEASE a static final boolean... --DD 

Yeah, but that's just a horrible hack, IMO - and indeed in a lot of cases you 
*do* still want to be able to enable assertions where they're available, even 
in released kits.

I'm investigating BCEL for the assertion stripping - it looks like it could 
actually be very simple. It may or may not be useful for Ant, but I'm sure I'll 
find a use for it at some stage :)

Jon

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to