frjaeger220 / google-guice

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

Just-in-time bindings cache isn't threadsafe #169

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We write to this map during Injector.getInstance() for a just-in-time binding 
that has not-yet been 
requested, but the map is a bare HashMap with no synchronization.

For now, this is only a theoretical problem...

Original issue reported on code.google.com by limpbizkit on 6 Dec 2007 at 12:17

GoogleCodeExporter commented 9 years ago
I missed a synchronized() call higher up on the stack. My bad.

Original comment by limpbizkit on 6 Dec 2007 at 12:51