[vectorIntrinsics] RFR: Load store memory segment [v3]

Paul Sandoz psandoz at openjdk.java.net
Wed Mar 30 19:02:56 UTC 2022


On Wed, 30 Mar 2022 08:25:14 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Paul Sandoz has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Use assertThrows.
>
> test/jdk/jdk/incubator/vector/Byte128VectorLoadStoreTests.java line 970:
> 
>> 968: 
>> 969:         try {
>> 970:             SPECIES.zero().intoMemorySegment(a, 0, bo);
> 
> I think these can be written more succinctly with `expectThrows(UnsupportedOperationException.class, () -> { ... })`

Done.

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

PR: https://git.openjdk.java.net/panama-vector/pull/187


More information about the panama-dev mailing list