Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8243583 Change 'final' error checks to throw ICCE
  3. JDK-8260452

Release Note: IncompatibleClassChangeError Exceptions Are Thrown For Failing 'final' Checks When Defining a Class

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot

      Description

      As a result of changes to section 5.3.5 of the Java Virtual Machine Specification, a
      `java.lang.IncompatibleClassChangeError` exception is thrown instead of a `java.lang.VerifyError` exception when defining a class whose super class is final and when defining a class that tries to override a final method.

        Attachments

          Activity

            People

            Assignee:
            hseigel Harold Seigel
            Reporter:
            hseigel Harold Seigel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: