Integrated: 8254010: GrowableArrayView::print fails to compile

Tobias Hartmann thartmann at openjdk.java.net
Tue Oct 6 05:51:44 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

This pull request has now been integrated.

Changeset: 17285472
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/17285472
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8254010: GrowableArrayView::print fails to compile

Reviewed-by: stefank

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

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


More information about the hotspot-dev mailing list