--- a/hotspot/src/share/vm/interpreter/bytecodes.hpp Mon Sep 28 15:05:02 2015 +0200
+++ b/hotspot/src/share/vm/interpreter/bytecodes.hpp Tue Sep 29 11:02:08 2015 +0200
@@ -353,8 +353,8 @@
public:
// Conversion
- static void check (Code code) { assert(is_defined(code), err_msg("illegal code: %d", (int)code)); }
- static void wide_check (Code code) { assert(wide_is_defined(code), err_msg("illegal code: %d", (int)code)); }
+ static void check (Code code) { assert(is_defined(code), "illegal code: %d", (int)code); }
+ static void wide_check (Code code) { assert(wide_is_defined(code), "illegal code: %d", (int)code); }
static Code cast (int code) { return (Code)code; }