Withdrawn: 8318200: String::newStringNoRepl and String::getBytesNoRepl does not throw CharacterCodingException

Shaojin Wen duke at openjdk.org
Fri Oct 20 11:38:40 UTC 2023

On Mon, 16 Oct 2023 22:27:34 GMT, Shaojin Wen <duke at openjdk.org> wrote:

> When calling String::newStringNoRepl and String::getBytesNoRepl, we need to use try...catch to handle CharacterCodingException and throw IllegalArgumentException instead of CharacterCodingException to make the calling code cleaner.

This pull request has been closed without being integrated.


PR: https://git.openjdk.org/jdk/pull/16209

More information about the security-dev mailing list