RFR: 8318200: String::newStringNoRepl and String::getBytesNoRepl does not throw CharacterCodingException [v4]
Shaojin Wen
duke at openjdk.org
Tue Oct 17 11:11:52 UTC 2023
> 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.
Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:
revert NoReplTest, from @cl4es 's review
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/16209/files
- new: https://git.openjdk.org/jdk/pull/16209/files/a93be313..cc3bc9ed
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=16209&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=16209&range=02-03
Stats: 13 lines in 1 file changed: 0 ins; 9 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/16209.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16209/head:pull/16209
PR: https://git.openjdk.org/jdk/pull/16209
More information about the nio-dev
mailing list