RFR: 8356202: Cleanup Source code in String Implementation Classes [v2]

Roger Riggs rriggs at openjdk.org
Thu Oct 2 16:23:45 UTC 2025


On Thu, 2 Oct 2025 16:02:56 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

>> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Revert to insensitive.
>
> src/java.base/share/classes/java/lang/StringLatin1.java line 217:
> 
>> 215: 
>> 216:     @IntrinsicCandidate
>> 217:     static int indexOf(byte[] value, int valueCount, byte[] str, int strCount, int fromIndex) {
> 
> I guess that removing `public` needs no changes in the intrinsic implementation?

The linkage is based on the signature, not the access.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27609#discussion_r2399361294


More information about the core-libs-dev mailing list