[JBoss-user] [Javassist user questions] - Re: Bug in getDeclaringClass in 3.0RC1
I have released 3.0! Please enjoy. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863381#3863381 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863381 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Bug in getDeclaringClass in 3.0RC1
chiba wrote : I have implemented getEnclosingClass(). | The source is in CVS HEAD. Thanks - I look forward to the next release Keep up the good work View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863341#3863341 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863341 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Bug in getDeclaringClass in 3.0RC1
I have implemented getEnclosingClass(). The source is in CVS HEAD. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3861963#3861963 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861963 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Bug in getDeclaringClass in 3.0RC1
That's a good idea. I'll implement it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3861795#3861795 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861795 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Bug in getDeclaringClass in 3.0RC1
I think I can answer my own question :) In java.lang.Class the method getDeclaringClass returns null for an anonymous class because the Java Language Specification doesn't list anonymous classes as members of a class (but strangely does list named classes as members). I suspect therefore that CtClass's getDeclaringClass is mimicing this behaviour when it throws a NotFoundException for an anonymous class. Sun have introduced in J5 a new method, getEnclosingClass, which works with anonymous and named classes and gives the outer class. Therefore, are there plans to add getEnclosingClass to Javassist? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860984#3860984 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860984 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user