Hi all,
I have a jar file and without the source code, I want to replace
a package and all classes of this package with my own.
e.g. There is a package
com.abc.tool
com.abc.tool.A.class
com.abc.tool.B.class
The com.abc.tool.A.class and com.abc.tool.B.class are used in many
other classes.
I want to use my own implementation, So I can create my
package(com.def.tool) and my A.java B.java which has exactly the same
method as com.abc.tool.A.class and com.abc.tool.B.class
com.def.tool
com.def.tool.A.class
com.def.tool.B.class
But other classes in this jar still use com.abc.tool.A.class and
com.abc.tool.B.class. I want to use a byte code library to modify the
jar so it can run and use my implementation.
Is BCEL suitable for this? Thank you
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]