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

Buffer view implementations use incorrect offset for Unsafe access

XMLWordPrintable

    • b131
    • Verified

      JDK-8151163 updated the buffer implementations to use the Unsafe unaligned accessors.

      The offset calculation is incorrect. Care also needs to be take to work correctly for heap and direct buffers, specifically for the ByteBufferAs* implementations that leverage an absolute offset to the byte array or address respectively.

            psandoz Paul Sandoz
            psandoz Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: