src/share/vm/ci/ciField.cpp

changeset 2037
e5dfb3ccb88b
parent 1907
c18cbe5936b8
child 2314
f95d63e2154a
     1.1 --- a/src/share/vm/ci/ciField.cpp	Thu Jul 22 15:29:22 2010 -0700
     1.2 +++ b/src/share/vm/ci/ciField.cpp	Fri Jul 23 10:07:46 2010 -0700
     1.3 @@ -339,7 +339,7 @@
     1.4    if (_type != NULL) _type->print_name();
     1.5    else               tty->print("(reference)");
     1.6    tty->print(" is_constant=%s", bool_to_str(_is_constant));
     1.7 -  if (_is_constant) {
     1.8 +  if (_is_constant && is_static()) {
     1.9      tty->print(" constant_value=");
    1.10      _constant_value.print();
    1.11    }

mercurial