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

Assertion jvms-5.4.3.5-240-B-B-A requires rewording

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 12
    • Fix Version/s: None
    • Component/s: specification
    • Labels:
      None
    • Subcomponent:
      vm

      Description

      Assertion says:
      "For kinds 1, 3, and 5 (REF_getField, REF_putField, and REF_invokeVirtual): If C.f or C.m resolved to a protected field or method, and C is in a different run-time package than the current class, then C must be assignable to the current class."
      Last part of the assertion needs to be changed as
      "... then the current class must be assignable to C."

      Attached testfile demonstrating the error.

        Attachments

        1. AssertionError.tgz
          1 kB
          Prashanthram Gundarlahally
        2. TestCase.tar
          15 kB
          Leonid Kuskov

          Activity

            People

            • Assignee:
              abuckley Alex Buckley
              Reporter:
              pgundarlahal Prashanthram Gundarlahally
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: