[jboss-user] [Javassist Development] - probable bug in javassist.jar

suprasanna choudhury do-not-reply at jboss.com
Tue Apr 13 02:52:20 EDT 2010


suprasanna choudhury [http://community.jboss.org/people/axelrose] created the discussion

"probable bug in javassist.jar"

To view the discussion, visit: http://community.jboss.org/message/537060#537060

--------------------------------------------------------------
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 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!

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/537060#537060]

Start a new discussion in Javassist Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2063]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100413/6a02db58/attachment.html 


More information about the jboss-user mailing list