Hey all,

I've having some weird issues when updating my bundles:

DEBUG: Constraint violation for 23.2 detected; module can see
org.restlet.service from [23.2] and org.restlet.service from [23.1]
DEBUG: Constraint violation for 23.2 detected; module can see
org.restlet.service from [23.2] and org.restlet.service from [23.1]
DEBUG: Constraint violation for 23.2 detected; module can see
org.restlet.service from [23.2] and org.restlet.service from [23.0]
DEBUG: Constraint violation for 23.2 detected; module can see
org.restlet.service from [23.2] and org.restlet.service from [23.0]

Bundle 23 both exports, and imports org.restlet.* in its bnd configuration.
Each time I update the bundle, the list of constraint violations just grows
with references to the previous versions of the bundle.

What would cause this?  Would this likely be something from another bundle
holding onto class references/instances from my bundle 23?  If I call
'refresh' on the package things seem to clear up ok.

The bundle operates as an extender style thing, watching for other bundles
matching a certain condition (header), and pulling class's from it, which
should be GC'd and no longer used/referenced after bundle 23 is updated.

Any thoughts of what I'm missing, or possibly not doing right?

mark


-- 
"It is easier to optimize correct code than to correct optimized code." --
Bill Harlan

Reply via email to