Integrated: 8283325: US_ASCII decoder relies on String.decodeASCII being exhaustive

Claes Redestad redestad at openjdk.java.net
Thu Mar 17 21:20:33 UTC 2022


On Thu, 17 Mar 2022 16:08:42 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> Adjust `String.decodeASCII` to deal with the possibility that `StringCoding.countPositives` can return a value less than the exact number of leading positive bytes. This is the likely cause of a number of intermittent but somewhat common errors on aarch64 tests in our CI.

This pull request has now been integrated.

Changeset: 002e3667
Author:    Claes Redestad <redestad at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/002e3667443d94e2303c875daf72cf1ccbbb0099
Stats:     61 lines in 2 files changed: 61 ins; 0 del; 0 mod

8283325: US_ASCII decoder relies on String.decodeASCII being exhaustive

Reviewed-by: rriggs, dcubed

-------------

PR: https://git.openjdk.java.net/jdk/pull/7855


More information about the core-libs-dev mailing list