[
https://issues.apache.org/jira/browse/FELIX-5061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14941336#comment-14941336
]
Thomas Watson commented on FELIX-5061:
--------------------------------------
I did add a new testcase to Equinox for this case. You can find it in the
twatson/newResolver branch as I described in FELIX-4987
> Optional resource fragment with requirements that cause class space
> consistency issues with the host export cause unexpected ResolutionExceptions
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: FELIX-5061
> URL: https://issues.apache.org/jira/browse/FELIX-5061
> Project: Felix
> Issue Type: Bug
> Components: Resolver
> Affects Versions: resolver-1.6.0
> Reporter: Thomas Watson
> Attachments: FELIX-5061.patch
>
>
> Not sure if this is actually a bug in version 1.6.0. I am testing with the
> latest out of trunk so it could be something after 1.6.0.
> If a fragment contains a requirement that ultimately causes a uses constraint
> conflict with one of the hosts exported packages then the resolver will end
> up throwing a ResolutionExceptoin even when the fragment and host are
> considered to be optional resources by the ResolverContext.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)