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

Richard S. Hall resolved FELIX-2451.
------------------------------------

    Resolution: Fixed

Committed a patch. The exception message stays the same, but the debug log 
message is:

    "Current candidate permutation failed, will try another if possible."

Please close if you are satisfied.

> Felix uses System.out to print debug messages related to resolver...
> --------------------------------------------------------------------
>
>                 Key: FELIX-2451
>                 URL: https://issues.apache.org/jira/browse/FELIX-2451
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-3.0.0
>            Reporter: Sahoo
>            Assignee: Richard S. Hall
>             Fix For: framework-3.2.0
>
>
> Felix prints message like this using System.out.println...
> RE: org.apache.felix.framework.resolver.ResolveException: Constraint 
> violation for package 'javax.xml.bind.attachment' when resolving module 154.0 
> between existing import 0.javax.xml.bind.attachment BLAMED ON [[154.0] 
> package; (package=javax.xml.bind.attachment)] and uses constraint 
> 227.0.javax.xml.bind.attachment BLAMED ON [[154.0] package; 
> (package=com.sun.xml.bind.v2.model.runtime), [178.0] package; 
> (&(package=javax.xml.bind.annotation.adapters)(version>=2.2.1)), [227.0] 
> package; (&(package=javax.xml.bind)(version>=2.2.1)), [227.0] package; 
> (&(package=javax.xml.bind.attachment)(version>=2.2.1))]
> It should use a logger with an appropriate  log level so that user has a 
> choice to see such debug message. I wish I could convince Richard to change 
> the message in some way to indicate that this message does not mean the 
> resolver could not resolve the bundle, rather this is an intermediate message 
> and resolver may continue to find a consistent class space for the bundle. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to