JBPC 2.0 : ResourceResponse.setCharacterEncoding always throws
UnsupportedOperationException
--------------------------------------------------------------------------------------------
Key: JBPORTAL-2436
URL:
https://jira.jboss.org/jira/browse/JBPORTAL-2436
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Core
Affects Versions: Portlet-2.0
Environment: Any
Reporter: Bernard de Terwangne
package org.jboss.portal.portlet.impl.jsr168.api;
...
public class ResourceResponseImpl extends MimeResponseImpl implements ResourceResponse
{
...
public void setLocale(Locale locale)
{
throw new UnsupportedOperationException();
}
public void setCharacterEncoding(String s)
{
throw new UnsupportedOperationException();
}
public void setContentLength(int i)
{
throw new UnsupportedOperationException();
}
...
}
Problems come when you want to deploy your portlet on JBoss PortletContainer and on other
portals. JSR-286 does not state that portals my throw UnsupportedOperationException.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira