Le 13/08/2010 16:15, Chris Hegarty a écrit :
On 13/08/2010 15:12, tom.haw...@oracle.com wrote:
On 13/08/2010 14:58, Chris Hegarty wrote:
protected final Object clone() throws CloneNotSupportedException {
throw new CloneNotSupportedException();
The final can (and should, IMO) be removed.
OK, so we'll allow subclasses to crate their own clones but disallow
access to the default Object.clone implementation. I don't have a
particular problem with this.
-Chris.
Tom
Knowning that the default implementation doesn't work for Thread,
it seems a reasonable choice.
Rémi