United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6939804 ciConstant::print() prints incorrect bool value
6939804 : ciConstant::print() prints incorrect bool value

Details
Type:
Bug
Submit Date:
2010-03-31
Status:
Resolved
Updated Date:
2010-09-24
Project Name:
JDK
Resolved Date:
2010-04-21
Component:
hotspot
OS:
solaris_10
Sub-Component:
compiler
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs18
Fixed Versions:
hs18

Related Reports
Backport:
Backport:
Backport:
Backport:

Sub Tasks

Description
ciConstant::print() prints incorrect bool value because of typo:

    tty->print("%s", bool_to_str(_value._int == 0));
                                                                  ^ should be 1

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/1c9c45172908
                                     
2010-04-08
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/1c9c45172908
                                     
2010-04-02



Hardware and Software, Engineered to Work Together