RFR: 8309727: Assert privileges while reading the jdk.incubator.vector.VECTOR_ACCESS_OOB_CHECK system property [v2]

Chris Hegarty chegar at openjdk.org
Fri Jun 9 19:31:08 UTC 2023


On Fri, 9 Jun 2023 18:12:36 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Chris Hegarty has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   add at bug and remove newline
>
> test/jdk/jdk/incubator/vector/VectorRuns.java line 74:
> 
>> 72:             return a.length;
>> 73: 
>> 74:         int length = a.length & ~(species.length() - 1);
> 
> Recommend:
> Suggestion:
> 
>         int length = species.loopBound(a.length);

Done, [5a4be97](https://github.com/openjdk/jdk/pull/14392/commits/5a4be97faa822a612dbb9d86cf9b6cf4d88483da)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14392#discussion_r1224679125


More information about the core-libs-dev mailing list