[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bugs in BitSet & Compilation of latest version
From: |
Tom Tromey |
Subject: |
Re: Bugs in BitSet & Compilation of latest version |
Date: |
23 Jan 2002 18:02:29 -0700 |
>>>>> "Carlos" == Carlos Cavanna <address@hidden> 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