Relates :
|
|
Relates :
|
Accessibility of an "overriding method" should be consistent with the JLS. That means a private method is not deemed to override anything during execution and matches the existing hotspot behavior during method selection in invokevirtual. The verifier would also consider the accessibility and not throw VerifyError if a private method has the same name/descriptor as it superclass' final method.
|