You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Max Starets (JIRA)" <de...@myfaces.apache.org> on 2010/03/31 23:22:27 UTC
[jira] Created: (TRINIDAD-1770) Trinidad's ResponseWriterDecorator
needs to avoid synchronization introduced by
javax.faces.context.ResponseWriterWrapper
Trinidad's ResponseWriterDecorator needs to avoid synchronization introduced by javax.faces.context.ResponseWriterWrapper
--------------------------------------------------------------------------------------------------------------------------
Key: TRINIDAD-1770
URL: https://issues.apache.org/jira/browse/TRINIDAD-1770
Project: MyFaces Trinidad
Issue Type: Bug
Affects Versions: 2.0.0.3-core
Reporter: Max Starets
Since we moved to JSF 2.0, ResponseWriterDecorator extends javax.faces.context.ResponseWriterWrapper.
The problem is that ResponseWriterWrapper does not override all ResponseWrapper methods. Non-overridden methods are handled by java.io.Writer,
which uses synchronization. For example, write(String) will be calling into synchronized code in java.io.Writer.write(String).
The solution will be to provide overrides in ResponseWriterDecorator for all ResponseWriter methods not overridden by ResponseWriterWrapper (at least until the ResponseWriterWrapper is fixed in JSF).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.