[
https://issues.apache.org/jira/browse/CLOUDSTACK-3433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718389#comment-13718389
]
Wido den Hollander commented on CLOUDSTACK-3433:
------------------------------------------------
I reverted this in the 4.1.1 branch since it breaks the 4.1 series.
This already breaks 4.1 <> 4.2 compatibility.
> 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