samedi 4 juin 2016

Javassist - pass flags to compiler

I've got quick question. I'm using Javassist to add methods to classes and then rebuild jar files.

Javassist using Javac to compiling code. But after compilation by Javassist, I cannot reach LocalVariableTable using e.g. javap.

I've read that flag - g must be set in compiler during the time of compilation.

Do you know how to force in Javassist to compile with self-defined flags, like - g ?

Thanks.





Aucun commentaire:

Enregistrer un commentaire