javax.faces.Application addBehaviors() throws UnsupportedOperationException
when it shouldn't
---------------------------------------------------------------------------------------------
Key: MYFACES-3081
URL: https://issues.apache.org/jira/browse/MYFACES-3081
Project: MyFaces Core
Issue Type: Bug
Components: General
Affects Versions: 2.0.5-SNAPSHOT
Reporter: Michael Freedman
Line 140 of javax.faces.Application is currently:
application.addBehavior(behaviorId, behaviorClass);
when it should be:
return application.addBehavior(behaviorId, behaviorClass);
without the return we fall through and throw the UnsupportedOperationException
when we shouldn't.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira