You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Francesco Mari (JIRA)" <ji...@apache.org> on 2017/08/08 11:41:00 UTC
[jira] [Created] (OAK-6529) IndexLoaderV1 and IndexLoaderV2 should
not rely on Buffer.array()
Francesco Mari created OAK-6529:
-----------------------------------
Summary: IndexLoaderV1 and IndexLoaderV2 should not rely on Buffer.array()
Key: OAK-6529
URL: https://issues.apache.org/jira/browse/OAK-6529
Project: Jackrabbit Oak
Issue Type: Bug
Components: segment-tar
Reporter: Francesco Mari
Assignee: Francesco Mari
Fix For: 1.8, 1.7.6
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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)