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

Consider default methods for additions to AnnotatedElement

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: