RFR: 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:58 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.
Here is a JBS issue with follow-up testing @AlanBateman .
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25321#issuecomment-2913696631
More information about the core-libs-dev
mailing list