On Fri, 20 Feb 2026 17:51:56 GMT, Paul Sandoz <[email protected]> wrote:

> We need an IR test, could you investigate if that is possible? 

I do not know how do I do... sorry.

> src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorMathLibrary.java
>  line 295:
> 
>> 293:             @SuppressWarnings({"unchecked"})
>> 294:             Class<V> vt = (Class<V>)vspecies.vectorType();
>> 295:             AbstractSpecies<E> asp = (AbstractSpecies<E>)vspecies;
> 
> Instead change method signature to use `AbstractSpecies<E>` (from 
> `VectorSpecies<E>`) and at the call site change the argument to be result of 
> `vspecies()` (from `species()`).

Fixed in new commit.

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

PR Comment: https://git.openjdk.org/jdk/pull/29835#issuecomment-3937631816
PR Review Comment: https://git.openjdk.org/jdk/pull/29835#discussion_r2835486757

Reply via email to