Hi, i got a simple question.

I have set the classpool to a jar file and obtained a CtClass Object from it. I 
changed the bytecode of this class. Now how do i write it back into the jar 
file?

When i use class.writeFile() without parameters it's not saved inside the jar. 
When i give a new location as parameter the modified classfile is saved correct 
to that place.

But how do i overwrite the original classfile iside the jar?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124200#4124200

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124200
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to