Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8005294

Consider default methods for additions to AnnotatedElement

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • core-libs
    • None
    • 8
    • b115
    • generic
    • generic
    • Verified

      The changes to the AnnotatedElement interface made under JDK-7154390 introduced some new methods to the interface. As such, it was a source incompatible change to any implementations of the interface that were not updated at the same time.

      While implementations outside of the JDK are expected to be rare, it would be more source compatible to provide default implementations in the interface declaration, even if the declarations just throw exceptions.

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: