Fixes random JUnit timeouts that can occur while switching between modules in the same test suite.  The underlying problem is that module defs are held through soft references to allow memory to be freed.  That's great, except that sometimes the old module would be collected before client browsers could transition to the new module; this would cause the old servlet at the old path to die, and the clients would be left pinging a dead servlet and unable to transition to the new module.

TODO: this fix keeps a lot of memory tied up; another possible solution would be a change to GWTShellServlet to allow old servlets to hang around indefinitely.

Review by: knorton (desk)


git-svn-id: https://google-web-toolkit.googlecode.com/svn/releases/1.5@2941 8db76d5a-ed1c-0410-87a9-c151d255dfc7
1 file changed