Threads should not be Cloneable

Florian Weimer fw at deneb.enyo.de
Sun Aug 15 11:51:20 UTC 2010


* David Holmes:

> tom.hawtin at oracle.com said the following on 08/14/10 00:12:
>> 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.
>
> Why? What purpose would it serve?

Increased backwards compatibility.



More information about the core-libs-dev mailing list