7032306: Fastdebug build failure on Solaris with SS11 compilers

Tue, 29 Mar 2011 22:05:21 -0700

author
never
date
Tue, 29 Mar 2011 22:05:21 -0700
changeset 2690
2cd0180da6e1
parent 2689
b1c22848507b
child 2692
fe1dbd98e18f

7032306: Fastdebug build failure on Solaris with SS11 compilers
Reviewed-by: kvn, iveresov

src/share/vm/oops/instanceKlass.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/oops/instanceKlass.cpp	Tue Mar 29 17:35:34 2011 -0700
     1.2 +++ b/src/share/vm/oops/instanceKlass.cpp	Tue Mar 29 22:05:21 2011 -0700
     1.3 @@ -2337,7 +2337,7 @@
     1.4      st->print_cr(BULLET"fake entry for oop_size: %d", java_lang_Class::oop_size(obj));
     1.5      st->print_cr(BULLET"fake entry for static_oop_field_count: %d", java_lang_Class::static_oop_field_count(obj));
     1.6      klassOop real_klass = java_lang_Class::as_klassOop(obj);
     1.7 -    if (real_klass && real_klass->klass_part()->oop_is_instance()) {
     1.8 +    if (real_klass != NULL && real_klass->klass_part()->oop_is_instance()) {
     1.9        instanceKlass::cast(real_klass)->do_local_static_fields(&print_field);
    1.10      }
    1.11    } else if (as_klassOop() == SystemDictionary::MethodType_klass()) {

mercurial