src/share/vm/code/dependencies.cpp

changeset 489
d4a0f561287a
parent 435
a61af66fc99e
child 497
cd0742ba123c
     1.1 --- a/src/share/vm/code/dependencies.cpp	Thu Jan 31 09:41:34 2008 -0500
     1.2 +++ b/src/share/vm/code/dependencies.cpp	Thu Jan 31 14:56:50 2008 -0500
     1.3 @@ -1491,9 +1491,12 @@
     1.4      // fall through:
     1.5      _change_type = Change_new_sub;
     1.6    case Change_new_sub:
     1.7 -    _klass = instanceKlass::cast(_klass)->super();
     1.8 -    if (_klass != NULL) {
     1.9 -      return true;
    1.10 +    // 6598190: brackets workaround Sun Studio C++ compiler bug 6629277
    1.11 +    {
    1.12 +      _klass = instanceKlass::cast(_klass)->super();
    1.13 +      if (_klass != NULL) {
    1.14 +        return true;
    1.15 +      }
    1.16      }
    1.17      // else set up _ti_limit and fall through:
    1.18      _ti_limit = (_ti_base == NULL) ? 0 : _ti_base->length();

mercurial