>>>>> "Carlos" == Carlos Cavanna <[EMAIL PROTECTED]> writes:

Carlos>     96.     GridBagConstraints g = (GridBagConstraints) super.clone ();
Carlos>                                                         <------------>
Carlos> *** Error: The method "java.lang.Object clone();" can throw the checked
Carlos> exception "java/lang/CloneNotSupportedException"

Thanks for the report.  I think the correct fix is to wrap the clone
in a try-catch.  I always use jikes to build Classpath before I check
in my merges, so I'm a bit mystified as to why this got through.

Anyway, I'll check in the fix shortly.

Carlos> I also tried compiling with gcj 3.0.2, but in my
Carlos> implementation of Class.java I have a private field called
Carlos> "name", and the compiler complains.

gcj currently requires that you use the Object and Class which come
with it.  It doesn't tolerate other versions.  This is a gcj bug (at
least when generating .class files), but it hasn't yet reached the top
of anybody's list.

Tom

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to