JarOptimizer removes directory entries in resulting jars
When:
Checking asm-4.0.jar content via any zip tool.
I expect:
org/
org/objectweb/
org/objectweb/asm/
org/objectweb/asm/AnnotationVisitor.class
...
I get:
org/objectweb/asm/AnnotationVisitor.class
...
e.g, all entries for directories are not packaged in the jar.
This causes a problem while trying to get asm resources from classpath:
http://bugs.sun.com/view_bug.do?bug_id=4761949
In particular, it breaks Spock integration with Arquillian:
https://issues.jboss.org/browse/ARQ-1429
I can provide a patch to JarOptimizer upon request.