RFR: 8254010: GrowableArrayView::print fails to compile
Tobias Hartmann
thartmann at openjdk.java.net
Mon Oct 5 10:09:48 UTC 2020
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
-------------
Commit messages:
- 8254010: GrowableArrayView::print fails to compile
Changes: https://git.openjdk.java.net/jdk/pull/502/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=502&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8254010
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/502.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/502/head:pull/502
PR: https://git.openjdk.java.net/jdk/pull/502
More information about the hotspot-dev
mailing list