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

5.3.5: Change 'final' error checks to throw ICCE

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 14
    • Fix Version/s: 16
    • Component/s: specification
    • Labels:
    • Subcomponent:
      vm

      Description

      The enforcement of ACC_FINAL flags on classes and methods has long been specified as part of verification, but in reality these checks are performed during class derivation. As a result of this inconsistency, the error thrown is a VerifyError.

      5.3.5 should be updated to describe the error checks and to specify that an IncompatibleClassChangeError occurs if the checks fail.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                abuckley Alex Buckley
                Reporter:
                dlsmith Dan Smith
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: