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

Reflection::resolve_field/field_get/field_set are broken

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: hs21
    • Fix Version/s: hs22
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b05
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        When moving the static fields out from the instanceKlasses into the mirrors, the Reflection::resolve_field, Reflection::field_get and Reflection::field_set functions were not updated accordingly. These functions still try to access the static fields with an offset from the klassOop.

        Note, that these functions are only available if compiled with SUPPORT_OLD_REFLECTION.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  never Tom Rodriguez
                  Reporter:
                  stefank Stefan Karlsson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: