Is the exported package list complete in the 5.0.1 release jar?
In 5.0.1 ASM provided some OSGi headers in their release jar
(http://forge.ow2.org/project/shownotes.php?release_id=5424), but not all of the
API packages appear in there.
For example, in Eclipse Orbit we provide a bundled version of ASM that exports
all of the API packages listed below:
Export-Package: org.objectweb.asm;version="5.0.1",
org.objectweb.asm.commons;version="5.0.1",
org.objectweb.asm.signature;version="5.0.1",
org.objectweb.asm.tree;version="5.0.1",
org.objectweb.asm.tree.analysis;version="5.0.1",
org.objectweb.asm.util;version="5.0.1",
org.objectweb.asm.xml;version="5.0.1"
Is it intentional that you do not export all of the same ones?
This is causing a build problem for Red Hat that ends up making a jar that
cannot be directly consumed by Eclipse (while they are building Eclipse).
https://bugs.eclipse.org/bugs/show_bug.cgi?id=431820
Or perhaps the addition of exported package headers is a mistake?