On Tue, 9 Feb 2021 14:33:22 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:

> JDK-8261422: Adjust problematic String.format calls in 
> jdk/internal/util/Preconditions.java outOfBoundsMessage

src/java.base/share/classes/jdk/internal/util/Preconditions.java line 212:

> 210:                                      args.get(0), args.get(1), 
> args.get(2));
> 211:             case "checkFromIndexSize":
> 212:                 return String.format("Range [%s, %<s + %s) out of bounds 
> for length %s",

I assume we have a code coverage here and that we need tests to exercise these 
code paths.

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

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

Reply via email to