RFR: 8310816: GcInfoBuilder float/double signature mismatch

Kevin Walls kevinw at openjdk.org
Fri Jun 23 19:10:14 UTC 2023


Simple typo in a signature which is passed to JNU_NewObjectByName.  The method clearly intentds to pass Float, but uses Double.

This code is probably not invoked, unless there is a GC MXBean with such fields.  I see no straightforward way of testing this explicitly, but the change is tiny.

All tests in test/jdk/com/sun/management still pass.

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

Commit messages:
 - 8310816: GcInfoBuilder float/double signature mismatch

Changes: https://git.openjdk.org/jdk/pull/14631/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14631&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8310816
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/14631.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14631/head:pull/14631

PR: https://git.openjdk.org/jdk/pull/14631


More information about the serviceability-dev mailing list