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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2016/10/05 20:04:21 UTC
[jira] [Resolved] (OAK-4741) MemoryNodeStore constructor should
only allow MemoryNodeState instances as base
[ https://issues.apache.org/jira/browse/OAK-4741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig resolved OAK-4741.
--------------------------------
Resolution: Not A Problem
Fix Version/s: (was: 1.6)
The fix from OAK-4847 fixes this issue
> MemoryNodeStore constructor should only allow MemoryNodeState instances as base
> -------------------------------------------------------------------------------
>
> Key: OAK-4741
> URL: https://issues.apache.org/jira/browse/OAK-4741
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Priority: Minor
>
> {{MemoryNodeStore(NodeState)}} is overly generic and it turns out that {{MemoryNodeStore}} cannot cope with other {{NodeState}} instances than {{MemoryNodeState}} as its base: merging a {{NodeBuilder}} acquired through such a store will throw a {{IllegalArgumentException}}.
> We need to adjust the signature accordingly.
> See http://markmail.org/message/mnhhwujowygc4m2p
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)