RFR: 8302671: libawt has a memmove decay error

Julian Waters jwaters at openjdk.org
Thu Jun 20 08:37:23 UTC 2024


On Fri, 17 Feb 2023 14:35:45 GMT, Laurent Bourgès <lbourges at openjdk.org> wrote:

> Or use #define KBD_BUF_LEN 256 And use it explicitely in array init & memmove... as plain old C.

Turns out C++ has an even more elegant solution for this: Passing an array by reference https://github.com/openjdk/jdk/pull/19798/files

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

PR Comment: https://git.openjdk.org/jdk/pull/12597#issuecomment-2180125172


More information about the client-libs-dev mailing list