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

Add explanation of why default methods cannot be used in JDK 8 javax.lang.model

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • core-libs
    • b75
    • generic
    • generic
    • Not verified

      Various types in javax.lang.model contain warnings describing how methods can be added to interfaces in this API, which is atypical for APIs included in the JDK. While default methods are being added as part of Project Lambda, they cannot be used in javax.lang.model for this release since the version of javax.lang.model bundled in JDK needs to also be runnable on top of JDK 7.

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

              Created:
              Updated:
              Resolved: