Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServletResponse.setCharacterEncoding(CharSet encoding) throws NullPointerException if encoding is null #616

Closed
janbartel opened this issue May 1, 2024 · 0 comments

Comments

@janbartel
Copy link
Contributor

6.1.0-M2

ServletResponse.setCharacterEncoding(CharSet encoding) throws NullPointerException if the encoding is null, despite null being one of the expected values according to the method's javadoc.

See:
https://github.com/jakartaee/servlet/blob/master/api/src/main/java/jakarta/servlet/ServletResponse.java#L213

janbartel added a commit to jetty/jetty.project that referenced this issue May 1, 2024
stuartwdouglas added a commit that referenced this issue Jun 24, 2024
stuartwdouglas pushed a commit to stuartwdouglas/servlet-api that referenced this issue Jun 24, 2024
markt-asf added a commit that referenced this issue Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant