0 Replies Latest reply on Apr 13, 2010 2:52 AM by axelrose

    probable bug in javassist.jar

      As i was working on javassist for code generation , i found some thing which bother me at some extent.

      I found some code sinpet that was having a class called CtNewClass .

      The example was for Instrumenting classes , and the user was fascing some other run time exception.

      what i found that javassist.CtNewClass is not visible. As dig deeper found that class not to have declared public.

       

      The forum that have the example code has the url 'http://community.jboss.org/message/303087#303087 ' .

      Or just can write javassist.CtNewClass and see.

       

      Let me know if there is any other version..(< 3.3 or 3.6 or 3.8)

       

      As in earlier version i did not find some classes of signature attribute ,

      like

       

      SignatureAttribute.ClassType type = (ClassType) SignatureAttribute

                                                                      .toFieldSignature(sig.getSignature());

       

      some inner classes containing attribute like ObjectType,TypeParameter,TypeArgument were missing..

       

      Can anybody help!