Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repackage asm 4.0 with jarjar to allow different versions of asm coexist #12

Closed
ghost opened this issue Nov 12, 2013 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Nov 12, 2013

From Daniel.Y...@gmail.com on November 27, 2012 05:15:45

ASM guys suggest repackaging your asm jar files with jarjar if you want to use different versions of asm in your project. In fact, spring team repackaged asm into their own package name to avoid potential conflict.
In my project, I have two repackaged versions of asm and a standard one which is 3.1. If I use the latest reflectasm I have to put asm 4.0 into my class path which will conflict.

Original issue: http://code.google.com/p/reflectasm/issues/detail?id=12

@ghost
Copy link
Author

ghost commented Nov 12, 2013

From nathan.s...@gmail.com on November 26, 2012 20:39:49

This seems to come up a lot for Kryo, which uses ReflectASM. If everyone would just use the latest ASM there wouldn't be an issue. The solution is to use something like Maven which has a plugin that can create a "shaded" JAR. I don't want to repackage the ASM in ReflectASM because if someone is using ReflectASM and ASM 4 then they would have two of the same ASM versions unnecessarily.

Status: WontFix

@ghost ghost closed this as completed Nov 12, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

0 participants