On Thu, 22 Jan 2026 10:30:53 GMT, Martin Doerr <[email protected]> wrote:

>> I have tried adding the exception but many tests failed!
>> what I understood is asVectorRawTemplate is called in many cases which 
>> eventually calls swapIfNeeded and exception is thrown for the widening 
>> cases. When we reinterpret smaller elements into larger ones we don't need 
>> to swap elements so we could opt out.
>
> Ok, a comment would be helpful.

same type and widening reinterpret cases are handled here itself. returns this; 
in swapIfNeeded

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28425#discussion_r2720702055

Reply via email to