RFR: 8346602: Remove unused macro parameters in `jni.cpp`

David Holmes dholmes at openjdk.org
Thu Dec 19 21:07:34 UTC 2024


On Thu, 19 Dec 2024 08:16:54 GMT, Qizheng Xing <qxing at openjdk.org> wrote:

> Some of the macros in `jni.cpp`, including `DEFINE_GETSCALARARRAYELEMENTS`, `DEFINE_RELEASESCALARARRAYELEMENTS`, `DEFINE_GETSCALARARRAYREGION` and `DEFINE_SETSCALARARRAYREGION`, have unused parameters.
> 
> This patch removes them.

Wow - how did you spot that? These parameters have been unused since the day the code was added!

LGTM.

Thanks

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

Marked as reviewed by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22824#pullrequestreview-2516202657


More information about the hotspot-dev mailing list