mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8254761: Wrong intrinsic annotation used for StringLatin1.indexOfChar
Reviewed-by: alanb
This commit is contained in:
parent
738effade4
commit
a6a381353a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue