google-code-export / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
2 stars 1 forks source link

Race condition in cglib MethodProxy.invokeSuper() causes wrong method invocation #196

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This Guice discussion group thread describes a problem with Guice in
heavily concurrent usage:

http://groups.google.com/group/google-guice/browse_thread/thread/94e681aa7201dc0
b/8eb5ca1e91b18298?lnk=gst&q=cglib#8eb5ca1e91b18298

Basically the problem is that the AOP functionality in Guice may end up
calling a wrong method in highly concurrent usage, which normally causes a
ClassCastException.

I have witnessed the problem in load tests.

There's a fix the abovementioned thread, personally I haven't verified that
the fix works.

Original issue reported on code.google.com by juha.myn...@gmail.com on 6 May 2008 at 7:57

GoogleCodeExporter commented 9 years ago
I believe this is fixed with cglib 2.2, which we got in Rev 491:
http://code.google.com/p/google-guice/source/detail?r=491

Original comment by limpbizkit on 9 Jun 2008 at 6:45

GoogleCodeExporter commented 9 years ago
Is the fix available in some Guice release?

Original comment by juha.myn...@gmail.com on 9 Jun 2008 at 6:54

GoogleCodeExporter commented 9 years ago
Only svn for now...

Original comment by limpbizkit on 9 Jun 2008 at 8:06