WebRequestCodingStrategy is not synchronized
--------------------------------------------

                 Key: WICKET-946
                 URL: https://issues.apache.org/jira/browse/WICKET-946
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.0-beta3
            Reporter: John Ray


The WebRequestCodingStrategy class uses a TreeMap to store mounted pages 
however there is no synchronization done. This will cause problems if pages are 
being mounted/unmounted by one thread while web requests are being served from 
a different one. It could also cause problems if two threads try to 
mount/unmount pages at the same time.

I'll include a patch to fix this as well as a new version of the java file that 
you can use if you want

Keep up the good work

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to