This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]