[
https://issues.apache.org/jira/browse/JCLOUDS-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13780545#comment-13780545
]
ASF subversion and git services commented on JCLOUDS-303:
---------------------------------------------------------
Commit 9f12b6309d498e5ff4916d5c8de3ab7011d3e871 in branch refs/heads/master
from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-jclouds.git;h=9f12b63 ]
JCLOUDS-303. unwrap should permit subtypes
> Child/subtype APIs cannot be unwrapped as the parent type
> ---------------------------------------------------------
>
> Key: JCLOUDS-303
> URL: https://issues.apache.org/jira/browse/JCLOUDS-303
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-core
> Affects Versions: 1.7.0, 1.6.2
> Reporter: Andrew Phillips
> Assignee: Adrian Cole
>
> If API B extends A (e.g. AWSEC2Api which extends EC2Api), the call to
> "unwrapApi(A.class)" will fail. Both it and "unwrapApi(B.class)" should
> succeed.
--
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