Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8215407 javac should reject class files with bad EnclosingMethod attributes
  3. JDK-8222335

Release Note: javac Rejects Class Files with Broken EnclosingMethod Attribute

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Verification:
      Verified

      Description

      javac now rejects class files that have an invalid `EnclosingMethod` attribute, in which the name of the enclosing class is not a prefix of the name of the current class, as required by JLS 13.1.

        Attachments

          Activity

            People

            Assignee:
            jlahoda Jan Lahoda
            Reporter:
            jlahoda Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: