RFR: 8336755: Remove unused UNALIGNED field from Direct non-byte Buffers

Alan Bateman alanb at openjdk.org
Thu Jul 18 16:54:30 UTC 2024


On Thu, 18 Jul 2024 11:58:30 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> Actually it's used only by `DirectByteBuffer` and `DirectByteBufferR` classes.
> 
> List of affected classes:
> `DirectCharBufferS`, `DirectCharBufferU`,
> `DirectDoubleBufferS`, `DirectDoubleBufferU`,
> `DirectFloatBufferS`, `DirectFloatBufferU`,
> `DirectIntBufferS`, `DirectIntBufferU`,
> `DirectLongBufferS`, `DirectLongBufferU`,
> `DirectShortBufferS`, `DirectShortBufferU`
> 
> Tested `test/jdk/java/nio` on Linux x64 release.

Change looks fine. I've fixed the title of the JBS issue as this is because a field in view buffers, I assume you can fix the PR title to match.

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

Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20233#pullrequestreview-2186408647


More information about the nio-dev mailing list