CloneNotSupportedException should extends RuntimeException not Exception
Alan Bateman
Alan.Bateman at oracle.com
Mon Oct 15 10:56:16 UTC 2012
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
More information about the core-libs-dev
mailing list