jahaziel17 / wro4j

Automatically exported from code.google.com/p/wro4j
0 stars 0 forks source link

Non-synchronized WeakHashMap causes infinite loop in Injector #740

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is quite hard to reproduce, but for a couple times Injector has ended up 
in an eternal loop. Googling "WeakHashMap loop" returns many similar problems.

Wrapping injectedObjects with Collections.synchronizedMap should help.

I am using wro4j 1.6.3 with Tomcat 7.0 and Windows 7.

Original issue reported on code.google.com by marint...@gmail.com on 6 Jun 2013 at 7:48

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by alex.obj...@gmail.com on 6 Jun 2013 at 8:36

GoogleCodeExporter commented 8 years ago
Fixed in branch 1.6.x

Original comment by alex.obj...@gmail.com on 6 Jun 2013 at 9:31

GoogleCodeExporter commented 8 years ago

Original comment by alex.obj...@gmail.com on 6 Jun 2013 at 9:56

GoogleCodeExporter commented 8 years ago

Original comment by alex.obj...@gmail.com on 8 Jun 2013 at 9:48