RFR: 8358537: (bf) JavaNioAccess::getBufferAddress bypasses direct buffer MemorySession state check [v2]
Brian Burkhalter
bpb at openjdk.org
Wed Jun 4 14:29:13 UTC 2025
> Add package-scope `long java.nio.Buffer::address()` to simply return the value of the `address` instance variable; use this method in `JavaNioAccess::getBufferAddress`.
Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
8358537: Revert MemorySegments test change
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25631/files
- new: https://git.openjdk.org/jdk/pull/25631/files/7c2f0130..7e6c05ad
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25631&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25631&range=00-01
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/25631.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25631/head:pull/25631
PR: https://git.openjdk.org/jdk/pull/25631
More information about the nio-dev
mailing list