CloneNotSupportedException should extends RuntimeException not Exception
David Holmes
david.holmes at oracle.com
Mon Oct 15 11:47:31 UTC 2012
On 15/10/2012 8:56 PM, Alan Bateman wrote:
> On 15/10/2012 11:28, Joel Borggrén-Franck wrote:
>> On 10/15/2012 12:34 AM, David Holmes wrote:
>> > Remi,
>> >
>> > This ship has sailed you can't recall it. CloneNotSupportedException
>> > is a checked exception and needs to remain so for source and binary
>> > compatibility.
>> >
>>
>> I see how this is source incompatible and also behaviorally
>> incompatible in a few cases, but how is this binary incompatible?
> I think you're right as there wouldn't be a linkage error.
>
> This thread reminds of Joe Darcy's classic blog on compatibility kinds:
>
> https://blogs.oracle.com/darcy/entry/kinds_of_compatibility
Yes I stand corrected - no "binary compatability" issue.
David
More information about the core-libs-dev
mailing list