--- a/hotspot/src/share/vm/code/dependencies.cpp Mon Sep 28 15:05:02 2015 +0200
+++ b/hotspot/src/share/vm/code/dependencies.cpp Tue Sep 29 11:02:08 2015 +0200
@@ -400,7 +400,7 @@
}
void Dependencies::check_valid_dependency_type(DepType dept) {
- guarantee(FIRST_TYPE <= dept && dept < TYPE_LIMIT, err_msg("invalid dependency type: %d", (int) dept));
+ guarantee(FIRST_TYPE <= dept && dept < TYPE_LIMIT, "invalid dependency type: %d", (int) dept);
}
// for the sake of the compiler log, print out current dependencies: