-
Bug
-
Resolution: Fixed
-
P2
-
20
-
b16
Some of the existing JCK tests are failing with IndexOutOfBoundsException
during invocation of setText(StringCharacterIterator).
Noticed that when setText() invoked with the StringCharacterIterator with the
(https://download.java.net/java/early_access/jdk20/docs/api/java.base/java/text/StringCharacterIterator.html#%3Cinit%3E(java.lang.String,int,int,int)
where 'begin' is > 0 the setText() throws IndexOutOfBoundsException.
But, the values are valid.
Please find the attached code snippet.
sample output is -
"java.lang.IndexOutOfBoundsException: Range [1, 5) out of bounds for length 4
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)
at "
I see this could be a side effect ofJDK-8292387
For more details on JCK failures - https://bugs.openjdk.org/browse/JCK-7318139
during invocation of setText(StringCharacterIterator).
Noticed that when setText() invoked with the StringCharacterIterator with the
(https://download.java.net/java/early_access/jdk20/docs/api/java.base/java/text/StringCharacterIterator.html#%3Cinit%3E(java.lang.String,int,int,int)
where 'begin' is > 0 the setText() throws IndexOutOfBoundsException.
But, the values are valid.
Please find the attached code snippet.
sample output is -
"java.lang.IndexOutOfBoundsException: Range [1, 5) out of bounds for length 4
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)
at "
I see this could be a side effect of
For more details on JCK failures - https://bugs.openjdk.org/browse/JCK-7318139
- relates to
-
JDK-8291660 Grapheme support in BreakIterator
- Resolved
-
JDK-8292387 Grapheme support in BreakIterator
- Closed