Description
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.