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/09 10:34:00 UTC
[jira] [Resolved] (OAK-6529) IndexLoaderV1 and IndexLoaderV2 should
not rely on Buffer.array()
[ https://issues.apache.org/jira/browse/OAK-6529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Mari resolved OAK-6529.
---------------------------------
Resolution: Fixed
Fixed at r1804503.
> 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)