Jayashri Visvanathan wrote:
> M src/com/sun/faces/application/ApplicationImpl.java
> Fix for JSFRI 85. Throw FacesException if a converter could not
> be created by createConverter() (that takes a converter class
> as an argument) as required by the Spec.
Looks good.
> M src/com/sun/faces/renderkit/html_basic/HtmlResponseWriter.java
> Fix for JSFRI 89
> writeAttribute() method should not throw an exception if "value" is
> null
> public void writeAttribute(String name, Object value, String
> componentPropertyName)
> throws IOException {
> - if (name == null || value == null) {
> + if (name == null) {
> throw new
> NullPointerException(Util.getExceptionMessageString(
> Util.NULL_PARAMETERS_ERROR_MESSAGE_ID));
> + }
> + if ( value == null ) {
> + value="";
> }
This should simply be "if (value == null) { return; }"; that is,
it should write nothing, not attr="".
-- Adam