mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-28 20:03:39 +00:00
8254761: Wrong intrinsic annotation used for StringLatin1.indexOfChar
Reviewed-by: alanb
This commit is contained in:
parent
738effade4
commit
a6a381353a
@ -213,7 +213,7 @@ final class StringLatin1 {
|
||||
return indexOfChar(value, ch, fromIndex, max);
|
||||
}
|
||||
|
||||
@HotSpotIntrinsicCandidate
|
||||
@IntrinsicCandidate
|
||||
private static int indexOfChar(byte[] value, int ch, int fromIndex, int max) {
|
||||
byte c = (byte)ch;
|
||||
for (int i = fromIndex; i < max; i++) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user