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

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 13
    • 13
    • tools
    • Verified

      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.

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

              Created:
              Updated:
              Resolved: