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-1423) [PATCH] fix clone implementation
Date Wed, 27 Feb 2008 10:55:51 GMT

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

Stefan Guggisberg resolved JCR-1423.
------------------------------------

    Resolution: Fixed

applied patch with 2 minor modifications:

- changed formatting (avoid tabs)
- patched 
    jackrabbit-core/..../nodetype/EffectiveNodeType.java
       rather than
    jackrabbit-jcr2spi/..../nodetype/EffectiveNodeTypeImpl.java

fixed in svn r631547

thanks!

> [PATCH] fix clone implementation
> --------------------------------
>
>                 Key: JCR-1423
>                 URL: https://issues.apache.org/jira/browse/JCR-1423
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-core
>    Affects Versions: core 1.4.1
>            Reporter: Dave Brosius
>            Priority: Trivial
>             Fix For: core 1.4.2
>
>         Attachments: fix_clone_impl.patch
>
>
> Several classes implement clone, by doing new XXXX() to create the object. As these classes
aren't final, this will fail if these classes are ever derived from (which they are not, right
now). The correct implementation is to call super.clone(). This patch fixes this.

-- 
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