Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mojarra-dev] PR to correct handling of jakarta.faces.FACELETS_BUFFER_SIZE

Hi,

According to the spec, when jakarta.faces.FACELETS_BUFFER_SIZE is set to -1, a buffer size should not be assigned on the response.

However, the current behaviour doesn't match the spec. In particular, when jakarta.faces.FACELETS_BUFFER_SIZE is set to -1, this value just gets passed to the HttpServletResponse, resulting in attempting to allocate a buffer of size -1.

We have submitted the following PR to make sure that a value of -1 for jakarta.faces.FACELETS_BUFFER_SIZE is handled correctly (thanks very much to James Perkins for finding this issue and submitting the PR):

https://github.com/eclipse-ee4j/mojarra/pull/5268

Would someone be able to take a look at this?

Thanks,
Farah

Back to the top