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?
And why is the CtClass.getPathName() method not implpemented in the library?? It's shown in the API!