You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Kelven Yang (JIRA)" <ji...@apache.org> on 2013/07/10 04:02:46 UTC

[jira] [Resolved] (CLOUDSTACK-3433) Relax the same package restriction for Command and its derived classes in ArrayTypeAdaptor

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

Kelven Yang resolved CLOUDSTACK-3433.
-------------------------------------

    Resolution: Fixed
    
> Relax the same package restriction for Command and its derived classes in ArrayTypeAdaptor<T>
> ---------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3433
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3433
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.1.1
>            Reporter: Kelven Yang
>            Assignee: Kelven Yang
>             Fix For: 4.1.1
>
>
> In ArrayTypeAdaptor<T>, there is an enforcement in code that Command class and all its derived sub classes have to existing within the same java package root.
> For some strange reason that I suspect it is due to the initialization order of static variables, the logic in separating package name and composing full sub classes name with package prefix can sometime break.
> Remove this enforcement to make code more robust at runtime against subtle issues caused by environment changes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira