assertion support

Jeff Sturm jsturm@one-point.com
Tue Aug 27 14:13:00 GMT 2002


On 12 Aug 2002, Tom Tromey wrote:
> >>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:
>> Jeff> Note that rhug currently doesn't build because jython declares
> Jeff> methods named "assert".
>> I didn't know that. Thanks.
>> I think there are two good options:
>> * Change jython. Long term this is best.
>> * Change gcj to have an option so that it doesn't recognize "assert"
> as a keyword (the JDK javac has this). I think the code to do this
> would be pretty small, just a hack in lex.c (plus the command-line
> recognition and of course the documentation).

Or both. Chances are there are other packages declaring "assert" as
jython does.
> Care to submit a PR for this?

This is now java/7738. I marked it high priority since I consider it a
regression. Let me know if you don't agree and I'll downgrade it.
Jeff


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /