Threads should not be Cloneable

tom.hawtin at oracle.com tom.hawtin at oracle.com
Fri Aug 13 14:12:03 UTC 2010


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.

Tom



More information about the core-libs-dev mailing list