From 8e1f408216640d2006679f30be724bbb44fb350d Mon Sep 17 00:00:00 2001 From: Vladimir Kozlov Date: Fri, 2 Apr 2010 11:55:00 -0700 Subject: [PATCH] 6939804: ciConstant::print() prints incorrect bool value Fix typo. Reviewed-by: never --- hotspot/src/share/vm/ci/ciConstant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotspot/src/share/vm/ci/ciConstant.cpp b/hotspot/src/share/vm/ci/ciConstant.cpp index cd3ac2b0c39..fc8ec50041c 100644 --- a/hotspot/src/share/vm/ci/ciConstant.cpp +++ b/hotspot/src/share/vm/ci/ciConstant.cpp @@ -36,7 +36,7 @@ void ciConstant::print() { basictype_to_str(basic_type())); switch (basic_type()) { case T_BOOLEAN: - tty->print("%s", bool_to_str(_value._int == 0)); + tty->print("%s", bool_to_str(_value._int != 0)); break; case T_CHAR: case T_BYTE: