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

[JVMCI] HotSpotResolvedJavaFieldImpl.getIndex returns wrong value

    XMLWordPrintable

Details

    • b24

    Backports

      Description

        The way unsigned 16-bit values for HotSpotResolvedJavaFieldImpl.index are handled by HotSpotResolvedJavaFieldImpl.getIndex() is wrong. It is passed into the constructor as an int, and returned by getIndex as an int - but it is stored as a short. Which means that unsigned 16-bit values are not handled correctly.

        Attachments

          Issue Links

            Activity

              People

                dnsimon Douglas Simon
                dnsimon Douglas Simon
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: