On Mon, 3 Oct 2022 16:59:40 GMT, Alexey Semenyuk <asemen...@openjdk.org> wrote:
>> At least, the results in different encodings are the same as before the fix. >> How about not fixing the pattern for other encordings to avoid false >> negative? > > This looks good to me. The only requirement to the value of `testString` is > that it is a letter outside of the Basic Latin character set. So picking a > letter that can be encoded in the active encoding works. Although I still prefer preventing possible errors in the test, the change does not make it worse than before. ------------- PR: https://git.openjdk.org/jdk/pull/10226