#147 Wrong Import-Package: declaration in ical4j bundle

open
nobody
Build (5)
5
2012-03-09
2012-03-09
No

The bundle org.mnode.ical4j:ical4j:1.0.3 contains this declaration in the Import-Package section:
Import-Package: edu.emory.mathcs.backport.java.util.concurrent;resolution:=optional
But this dependency isn't optional. edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap is needed e.g. by the TimeZoneRegistryImpl class. When the dependency isn't resolved at runtime, you get a NoClassDefFoundError (in our case this happened during a tycho-surefire-test).

Can you please check the Import-Package declarations and fix the "optional" imports?

Thanks and Best Regards,

Jochen.

Discussion


Log in to post a comment.