pantsbuild / jarjar

An export of https://code.google.com/p/jarjar/ @ svn:r142 for pants tool use and further development.
Apache License 2.0
37 stars 27 forks source link

JarJar does weird things with illegal input. #3

Closed gmalmquist closed 9 years ago

gmalmquist commented 9 years ago

We ran into a problem where we had a transitive dependency on http://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-xjc/2.2, which for some crazy reason has a root-level packaged named 1.0 that has a copy of every single other class in the jar under it. JarJar, rather than erroring out or ignoring the 1.0, instead just chopped off the 1.0 prefix of each class entry. This caused jarjar to die because every single class was duplicated.

gmalmquist commented 9 years ago

This was fixed in 646f7f8d4b4fef7466e1a4f1246c60d90e013250.