Re: Making Color Final (and Paint too, for all intents and purposes)

2013-07-14 Thread Kevin Rushforth
+1 In practice I agree with Richard that this should not cause any issues for applications. -- Kevin David Ray wrote: +1 David Sent from my iPhone On Jul 12, 2013, at 3:15 PM, Richard Bair wrote: I have two different changes I might want to make, both of which are definitely incompa

Re: Making Color Final (and Paint too, for all intents and purposes)

2013-07-12 Thread David Ray
+1 David Sent from my iPhone On Jul 12, 2013, at 3:15 PM, Richard Bair wrote: > I have two different changes I might want to make, both of which are > definitely incompatible for subclasses, but are otherwise source compatible. > > public abstract class Paint { >Paint() { } // <--- Add

Making Color Final (and Paint too, for all intents and purposes)

2013-07-12 Thread Richard Bair
I have two different changes I might want to make, both of which are definitely incompatible for subclasses, but are otherwise source compatible. public abstract class Paint { Paint() { } // <--- Add this package constructor. Anybody who subclassed Paint will die } public final class Color