Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6529

IndexLoaderV1 and IndexLoaderV2 should not rely on Buffer.array()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.6, 1.8.0
    • segment-tar
    • None

    Description

      The code in IndexLoaderV1 and IndexLoaderV2 calls Buffer.array() to compute the checksum. This method might fail with an UnsupportedOperationException if the Buffer points to a memory mapped region.

      Attachments

        Activity

          People

            frm Francesco Mari
            frm Francesco Mari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: