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

Javac should propagate ACC_VALUE/ACC_IDENTITY from supertypes to subtypes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Consider:

      identity interface I {}
      interface J extends I {}


      As of https://github.com/openjdk/valhalla/pull/688, javac compiles
      I with ACC_IDENTITY set and J without it.

      Both I and J should have ACC_IDENTITY set in this case.

        Attachments

          Activity

            People

            Assignee:
            sadayapalam Srikanth Adayapalam
            Reporter:
            sadayapalam Srikanth Adayapalam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: