RFR: 8259925: [Vector API] Unreasonable IndexOutOfBoundsException message when length < vlen

Jie Fu jiefu at openjdk.java.net
Tue Jan 26 23:48:40 UTC 2021


On Tue, 26 Jan 2021 18:20:00 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> Hi Jie, Thanks for the detailed analysis. I suspect the difference outside of loops is because of expression "length - (vlen - 1)”. We need to make intrinsic Objects.checkFromIndexSize. Is that something you might be interested in pursuing? 

Yes, I'd like to do that in the future.
Thanks.

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

PR: https://git.openjdk.java.net/jdk/pull/2127


More information about the core-libs-dev mailing list