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

Javac should propagate ACC_VALUE/ACC_IDENTITY from supertypes to subtypes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P4
    • repo-valhalla
    • repo-valhalla
    • tools
    • None
    • generic
    • 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

            sadayapalam Srikanth Adayapalam (Inactive)
            sadayapalam Srikanth Adayapalam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: