Hi,

>         ConstantPoolGen poolGen = new
> ConstantPoolGen(jclass_.getConstantPool());

should read

ConstantPoolGen poolGen = classGen.getConstantPool();

alternatively you could use setConstantPool() on classGen,
otherwise the cp has nothing to do with the modified
class.

Cheers
  Markus 
--
berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern!
http://webmail.berlin.de


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to