jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-844) ArrayStoreException while reregistering existing node types
Date Fri, 13 Apr 2007 12:59:15 GMT

     [ https://issues.apache.org/jira/browse/JCR-844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Guggisberg resolved JCR-844.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

> => should be (I suppose !)
>
>               return (NodeType[]) nodeTypes.toArray(new NodeType[nodeTypes.size()]);

oops, absolutely :-) thanks for spotting this.

fixed in svn r528476



> ArrayStoreException while reregistering existing node types
> -----------------------------------------------------------
>
>                 Key: JCR-844
>                 URL: https://issues.apache.org/jira/browse/JCR-844
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.2.3
>            Reporter: Thierry Levieux
>         Assigned To: Stefan Guggisberg
>             Fix For: 1.3
>
>
> class: NodeTypeManagerImpl
> method: public NodeType[] registerNodeTypes(InputStream in, String contentType, boolean
reregisterExisting)
>                 ...
>                 return (NodeType[]) nodeTypes.toArray(new NodeTypeDef[nodeTypes.size()]);
>                 ...
> => should be (I suppose !)
>                 return (NodeType[]) nodeTypes.toArray(new NodeType[nodeTypes.size()]);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message