[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-2882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24399#action_24399
 ] 

Grégory Joseph edited comment on MAGNOLIA-2882 at 10/8/09 6:43 PM:
-------------------------------------------------------------------

The drawback of this is that older version handlers are not binary compatible 
any more:

Take the data module as an example:

{code}
SEVERE: Exception sending context initialized event to listener instance of 
class info.magnolia.cms.servlets.MgnlServletContextListener
java.lang.NoSuchMethodError: 
info.magnolia.module.delta.ArrayDelegateTask.<init>(Ljava/lang/String;Ljava/lang/String;Linfo/magnolia/module/delta/Task;Linfo/magnolia/module/delta/Task;
 \L 
info/magnolia/module/delta/Task;Linfo/magnolia/module/delta/Task;)V
        at 
info.magnolia.module.data.setup.DataModuleVersionHandler.<init>(DataModuleVersionHandler.java:108)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

{code}

      was (Author: pbaerfuss):
    The drawback of this is that older version handlers are not binary 
compatible any more:

Take the data module as an example:

{code}
SEVERE: Exception sending context initialized event to listener instance of 
class info.magnolia.cms.servlets.MgnlServletContextListener
java.lang.NoSuchMethodError: 
info.magnolia.module.delta.ArrayDelegateTask.<init>(Ljava/lang/String;Ljava/lang/String;Linfo/magnolia/module/delta/Task;Linfo/magnolia/module/delta/Task;Linfo/magnolia/module/delta/Task;Linfo/magnolia/module/delta/Task;)V
        at 
info.magnolia.module.data.setup.DataModuleVersionHandler.<init>(DataModuleVersionHandler.java:108)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

{code}
  
> Introduce vararg constructors in ArrayDelegateTask
> --------------------------------------------------
>
>                 Key: MAGNOLIA-2882
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2882
>             Project: Magnolia
>          Issue Type: Improvement
>          Components: core, updatemechanism
>            Reporter: Grégory Joseph
>            Assignee: Grégory Joseph
>            Priority: Trivial
>             Fix For: 4.2
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to