--disable-assertions does not work when compiling from .class

Ranjit Mathew rmathew@gmail.com
Fri Sep 2 15:25:00 GMT 2005


Ranjit Mathew wrote:
> 
> To implement what you want, GCJ would have to recognise such
> patterns in class files generated by itself, by javac, by ECJ,
> by Jikes, etc. - needless to say, this is rather difficult
> and does not provide much benefit.

This part is silly and I don't know what I was thinking - you
just need to set the "$assertionsDisabled" field to false
for a class for which assertions have been disabled.

Sorry.

Ranjit.

-- 
Ranjit Mathew       Email: rmathew AT gmail DOT com

Bangalore, INDIA.     Web: http://ranjitmathew.hostingzero.com/



More information about the Java mailing list