On Fri, Feb 15, 2013 at 6:10 AM, David Holmes <[email protected]>wrote:
> On 15/02/2013 11:53 PM, Kasper Nielsen wrote: > >> Hi, >> >> I know AnnotatedElement is not a common class to implement outside of the >> JDK. But the interface introduces some new methods that will break >> existing >> code. >> > > I must admit I am surprised as I thought that any new methods on > interfaces would have to have default implementations to avoid this kind of > breakage. Seems to me that defaults should be possible for those new > methods. Perhaps this is still a work in progress? > OpenJDK could invest more in static analysis tools. Here it would be good to use a tool to audit all interfaces to check that new methods without defaults have not been added.
