changeset 202 | dc13bf0e5d5d |
parent 1 | 489c9b5090e2 |
child 360 | 21d113ecbf6a |
--- a/hotspot/src/share/vm/services/heapDumper.cpp Fri Feb 22 17:55:13 2008 -0800 +++ b/hotspot/src/share/vm/services/heapDumper.cpp Mon Feb 25 15:05:44 2008 -0800 @@ -997,7 +997,7 @@ } // If the byte ordering is big endian then we can copy most types directly - int length_in_bytes = array->length() * type2aelembytes[type]; + int length_in_bytes = array->length() * type2aelembytes(type); assert(length_in_bytes > 0, "nothing to copy"); switch (type) {