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

JVM should not throw VerifyError when a private method overrides a final method

XMLWordPrintable

    • team

        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.

              hseigel Harold Seigel (Inactive)
              hseigel Harold Seigel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: