-
Bug
-
Resolution: Unresolved
-
P4
-
None
In JDK-8243582, it was recognized that the invariants associated with ACC_FINAL classes and methods are checked at class derivation time, *not* verification time. The appropriate rules were added to 5.3.5.
Meanwhile, 4.10 continues to claim that verification performs these checks. These rules should be removed.
Doing so properly will involve significant changes, as many of the rules defined in 4.10.1 exist solely to identify methods that might override an ACC_FINAL method in a superclass.
Meanwhile, 4.10 continues to claim that verification performs these checks. These rules should be removed.
Doing so properly will involve significant changes, as many of the rules defined in 4.10.1 exist solely to identify methods that might override an ACC_FINAL method in a superclass.
- relates to
-
JDK-8243582 5.3.5: Perform 'final' error checks during class loading, not verification
-
- Resolved
-
-
JDK-8028549 Ensure consistent treatment of private/static methods during verification
-
- Closed
-
-
JDK-8267650 Better-defined JVM class file validation
-
- Closed
-
-
JDK-8323550 4.9, 4.10: Clarify timing of code validation checks
-
- Open
-
-
JDK-8233861 5.3: Clean up class loading specification
-
- Closed
-