On Wed, 18 Dec 2024 17:51:08 GMT, Paul Sandoz <psan...@openjdk.org> wrote:

>> Looks good, thanks for fixing.
>> 
>> This is really a bug rather than an enhancement. In the package JavaDoc we 
>> state:
>>> * For every class in this package,
>>> * unless specified otherwise, any method arguments of reference
>>> * type must not be null, and any null argument will elicit a
>>> * {@code NullPointerException}.  This fact is not individually
>>> * documented for methods of this API.
>> 
>> We should also backport to 24. From the main issue create a backport issue 
>> (from the `More` drop down menu). Then from the main PR type `/backport 
>> :jdk24`, that will create a PR for the `jdk24` branch from which i can 
>> review and then you can integrate.
>
>> @PaulSandoz Not really, nullable argument will inhibit intrinsification, and 
>> the fall back implementation will throw `NullPointerException`. So the only 
>> thing we miss here is the intrinsification of `VectorSupport::rearrange`.
> 
> Ah, yes of course. Still i would categorize as a bug.

@PaulSandoz Thanks for the reviews, given the change is fairly trivial, I will 
merge it now.

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

PR Comment: https://git.openjdk.org/jdk/pull/22816#issuecomment-2552008086

Reply via email to