RFR: 8357466: Create test for Ciphers that are using ByteBuffers backed by MemorySegments [v4]

Matthew Donovan mdonovan at openjdk.org
Wed Sep 10 14:25:12 UTC 2025


> 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 six commits:

 - updated additional Cipher tests for MemorySegment-backed ByteBuffers
 - Merge branch 'master' into cipher-ffm
 - added null-check for arena argument
 - 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

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

Changes: https://git.openjdk.org/jdk/pull/26967/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26967&range=03
  Stats: 1208 lines in 22 files changed: 530 ins; 151 del; 527 mod
  Patch: https://git.openjdk.org/jdk/pull/26967.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26967/head:pull/26967

PR: https://git.openjdk.org/jdk/pull/26967


More information about the security-dev mailing list