From 2de34df5bcd6cdc4ce1b68e930fb72b6ba441a1b Mon Sep 17 00:00:00 2001 From: kvn Date: Fri, 2 Apr 2010 11:55:00 -0700 Subject: [PATCH] 6939804: ciConstant::print() prints incorrect bool value Summary: Fix typo. Reviewed-by: never --- src/share/vm/ci/ciConstant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/vm/ci/ciConstant.cpp b/src/share/vm/ci/ciConstant.cpp index cd3ac2b0c..fc8ec5004 100644 --- a/src/share/vm/ci/ciConstant.cpp +++ b/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: -- GitLab