-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Synchronizing on the session object could be ineffectual due to the servlet implentation not providing reference stability #5380
Comments
@VsevolodGolovanov Can you create a PR for the suggested changes? |
I prepped a PR for 4.0. Feel free to backport for 2.3. |
I don't know if someone can help... Does this also apply to Tomcat? Can this create a race condition with ajax requests backed by ViewScoped beans? I'm experiencing some very strange hanging threads |
Mojarra synchronizes on the session object in some places, but at least Undertow 2.0.15.Final returns a different instance (wrapper) from
HttpServletRequest#getSession
for every request in the same session.A simple text search of "synchronized (ses" in mojarra-2.3.21-RELEASE sources yields:
This is issue is a follow up to this.
The text was updated successfully, but these errors were encountered: