changeset 10565 | dc90c239f4ec |
parent 10008 | d84de97ad847 |
child 11626 | 7423003cc783 |
--- a/hotspot/src/share/vm/oops/constantPoolOop.cpp Tue Sep 20 23:50:16 2011 -0700 +++ b/hotspot/src/share/vm/oops/constantPoolOop.cpp Sun Sep 25 16:03:29 2011 -0700 @@ -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;