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

verifier tries to load a hidden class causing unexpected exception

    XMLWordPrintable

    Details

      Description

      There are certain situations, when verifying a hidden class, when the verifier tries to load the hidden class when doing an assignability check. The load fails because the hidden class is not in the system dictionary and an unexpected exception gets thrown.

      One situation where this occurs is when verifying a getfield instruction and the type of the object on the stack is the hidden class but the type of the class containing the field is a different class. The verifier will try to load the hidden class to check that it is assignable to the type of the class containing the field.

      (Note that the type of the class containing the field is pointed to by the field's FieldRef in the constant pool.)

        Attachments

          Activity

            People

            Assignee:
            hseigel Harold Seigel
            Reporter:
            hseigel Harold Seigel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: