Testcase:

Take wicket examples, linkomatic.

Put a breakpoint on the Page3 constructor. Click on the pagelink to the Page3 page twice (on the same page) and see two threads waiting.

The synchronized block seems to be too late.

Martijn


On 1/5/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
According to our limited test, BookmarkablePageTargets are executed outside the synchronized block. This means that any session access in the constructor of the Page is not synchronized, and will get you into trouble. This is what happens in our application.

Questions:
 - is this by design?
 - has anyone changed this behavior since december 16?

Martijn

--
Living a wicket life...

Martijn Dashorst - http://www.jroller.com/page/dashorst

Wicket 1.1 is out: http://wicket.sourceforge.net/wicket-1.1



--
Living a wicket life...

Martijn Dashorst - http://www.jroller.com/page/dashorst

Wicket 1.1 is out: http://wicket.sourceforge.net/wicket-1.1

Reply via email to