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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 12
    • specification
    • None
    • vm

      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.

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

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

              Created:
              Updated:
              Resolved: