RFR: 8254010: GrowableArrayView::print fails to compile

Stefan Karlsson stefank at openjdk.java.net
Mon Oct 5 10:55:39 UTC 2020


On Mon, 5 Oct 2020 10:04:17 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> When adding some debugging code, I've noticed that the (currently unused) GrowableArrayView::print fails to compile.
> The fix is to use the `%d` format specifier for the int fields `_len` and `_max` and cast `this` to `intptr_t`.
> Thanks,
> Tobias

Marked as reviewed by stefank (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/502


More information about the hotspot-dev mailing list