« Return to Thread: proxy annotation issue

proxy annotation issue

by Oleg Gorobets :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hello all!

 

I’ve encountered a tricky bug in cglib. When creating proxy with callback that implements MethodInterceptor the resulted proxy loses all annotations on methods. I’ve created a TestNG test-case to illustrate this (see attached file). proxyWithMethodCallBack() test will fail when trying to get annotation from proxy.

 

Does anyone have suggestions on how to fix this?



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
cglib-devel mailing list
cglib-devel@...
https://lists.sourceforge.net/lists/listinfo/cglib-devel

EnhancerTests.java (2K) Download Attachment

 « Return to Thread: proxy annotation issue