You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/07/10 02:25:48 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13704040#comment-13704040 ] 

ASF subversion and git services commented on CLOUDSTACK-3433:
-------------------------------------------------------------

Commit 73a6aa78854f379e6439bf22457094a5272cbfed in branch refs/heads/4.1 from [~kelveny]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=73a6aa7 ]

CLOUDSTACK-3433: Relax the same package restriction for Command and its derived classes in ArrayTypeAdaptor<T>

                
> 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