diff -r 380fc00765c6 -r ff4fc393de4c hotspot/src/share/vm/utilities/constantTag.hpp --- a/hotspot/src/share/vm/utilities/constantTag.hpp Fri Oct 11 13:48:02 2013 +0200 +++ b/hotspot/src/share/vm/utilities/constantTag.hpp Fri Oct 11 11:23:49 2013 -0400 @@ -108,7 +108,8 @@ _tag = tag; } - jbyte value() { return _tag; } + jbyte value() const { return _tag; } + jbyte non_error_value() const; BasicType basic_type() const; // if used with ldc, what kind of value gets pushed?