Integrated: 8357145: CRC/Inflater/Deflater/Adler32 methods that take a ByteBuffer throw UOE if backed by shared memory segment

Per Minborg pminborg at openjdk.org
Tue May 27 19:18:59 UTC 2025


On Tue, 20 May 2025 07:37:34 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR proposes to use ` JavaNioAccess::getBufferAdress` rather than `DirectBuffer::address` in the package `java.util.zip` so that `Buffer` instances backed by `MemorySegment` instances can be used.
> 
> This PR passes tier1, tier2, and tier3 tests on multiple platforms and configurations.

This pull request has now been integrated.

Changeset: da228e06
Author:    Per Minborg <pminborg at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/da228e069359bbab0e5c54f8cb2e20d67693b87c
Stats:     51 lines in 7 files changed: 23 ins; 7 del; 21 mod

8357145: CRC/Inflater/Deflater/Adler32 methods that take a ByteBuffer throw UOE if backed by shared memory segment

Reviewed-by: alanb

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

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


More information about the core-libs-dev mailing list