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

Chen Liang liach at openjdk.org
Thu Jul 18 15:50:00 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.

Created https://bugs.openjdk.org/browse/JDK-8336755 for you.

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

PR Comment: https://git.openjdk.org/jdk/pull/20233#issuecomment-2236751548


More information about the nio-dev mailing list