diff -r c90fb9fd47bd -r 998d9d0b33a4 hotspot/src/share/vm/prims/jvm.cpp --- a/hotspot/src/share/vm/prims/jvm.cpp Tue Feb 10 22:22:36 2015 +0000 +++ b/hotspot/src/share/vm/prims/jvm.cpp Wed Feb 11 17:41:55 2015 +0100 @@ -303,7 +303,7 @@ // java.lang.System, but we choose to keep it here so that it stays next // to JVM_CurrentTimeMillis and JVM_NanoTime -const jlong MAX_DIFF_SECS = 0x0100000000LL; // 2^32 +const jlong MAX_DIFF_SECS = CONST64(0x0100000000); // 2^32 const jlong MIN_DIFF_SECS = -MAX_DIFF_SECS; // -2^32 JVM_LEAF(jlong, JVM_GetNanoTimeAdjustment(JNIEnv *env, jclass ignored, jlong offset_secs))