Skip to content


Browse files Browse the repository at this point in the history
8254761: Wrong intrinsic annotation used for StringLatin1.indexOfChar
Reviewed-by: alanb
  • Loading branch information
cl4es committed Oct 14, 2020
1 parent 738effa commit a6a3813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java.base/share/classes/java/lang/
Expand Up @@ -213,7 +213,7 @@ public static int indexOf(byte[] value, int ch, int fromIndex) {
return indexOfChar(value, ch, fromIndex, max);

private static int indexOfChar(byte[] value, int ch, int fromIndex, int max) {
byte c = (byte)ch;
for (int i = fromIndex; i < max; i++) {
Expand Down

1 comment on commit a6a3813

Copy link

@bridgekeeper bridgekeeper bot commented on a6a3813 Oct 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.