Skip to content
Permalink
Browse files
8254010: GrowableArrayView::print fails to compile
Reviewed-by: stefank
  • Loading branch information
TobiHartmann committed Oct 6, 2020
1 parent 6e61861 commit 1728547270b224529eeb7d3d143868557eadd900
Showing 1 changed file with 2 additions and 2 deletions.
@@ -296,8 +296,8 @@ class GrowableArrayView : public GrowableArrayBase {
}

void print() {
tty->print("Growable Array " INTPTR_FORMAT, this);
tty->print(": length %ld (_max %ld) { ", _len, _max);
tty->print("Growable Array " INTPTR_FORMAT, p2i(this));
tty->print(": length %d (_max %d) { ", _len, _max);
for (int i = 0; i < _len; i++) {
tty->print(INTPTR_FORMAT " ", *(intptr_t*)&(_data[i]));
}

1 comment on commit 1728547

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on 1728547 Oct 6, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.