RFR: 8321279: Implement hashCode() in Heap-X-Buffer.java.template [v7]

Brian Burkhalter bpb at openjdk.org
Tue Dec 12 17:42:33 UTC 2023


On Tue, 12 Dec 2023 16:25:33 GMT, Vladimir Sitnikov <vsitnikov at openjdk.org> wrote:

> However, `HeapIntBuffer` and `HeapShortBuffer` could probably be supported.

The `byte` and `char` types probably account for a large percentage of use cases so perhaps it's not worth cluttering up the code with other `#if`s for other cases. It's common for `char` to require special handling.

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

PR Comment: https://git.openjdk.org/jdk/pull/16992#issuecomment-1852506239


More information about the nio-dev mailing list