Mercurial > hg > truffle
diff src/share/vm/oops/constantPoolOop.cpp @ 4137:04b9a2566eec
Merge with hsx23/hotspot.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sat, 17 Dec 2011 21:40:27 +0100 |
parents | f08d439fab8c |
children | a428df0139f3 f457154eee8b |
line wrap: on
line diff
--- a/src/share/vm/oops/constantPoolOop.cpp Sat Dec 17 20:50:09 2011 +0100 +++ b/src/share/vm/oops/constantPoolOop.cpp Sat Dec 17 21:40:27 2011 +0100 @@ -1355,7 +1355,7 @@ } case JVM_CONSTANT_Long: { u8 val = Bytes::get_Java_u8(bytes); - printf("long "INT64_FORMAT, *(jlong *) &val); + printf("long "INT64_FORMAT, (int64_t) *(jlong *) &val); ent_size = 8; idx++; // Long takes two cpool slots break;