pjfanning commented on issue #574: URL: https://github.com/apache/pekko-http/issues/574#issuecomment-2218004201
Use the getMessage if is not null even if NullPointerException has changed in Java 17. We support Java 8+. Text cases may not to be handle supporting different behaviour depending on the Java Runtime Version being used. With StringBasedParserInput, you can change the code that creates instances of StringBasedParserInput to pass in the exception toString instead of getMessage when the getMessage returns null or empty string. Use getMessage when there is a non-empty string (to retain compatibility with existing behaviour). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
