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.

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

              Created:
              Updated:
              Resolved: