On Tue, 2 Sep 2025 12:38:57 GMT, Matthew Donovan <mdono...@openjdk.org> wrote:
>> This PR extends security tests to use ByteBuffers backed by MemorySegments. >> Tests in the areas of Signature, Cipher, MessageDigest, and Mac are updated. > > Matthew Donovan has updated the pull request with a new target base due to a > merge or a rebase. The pull request now contains three commits: > > - addressed PR comments and refactored to use try-with-resources > - Merge branch 'master' into cipher-ffm > - 8357466: Create test for Ciphers that are using ByteBuffers backed by > MemorySegments Can we also add some negative tests? (This could be done in a different PR). For example, trying to use a read-only ByteBuffer for output, or trying to use a ByteBuffer after the arena has been closed. ------------- PR Comment: https://git.openjdk.org/jdk/pull/26967#issuecomment-3253905969