comparison src/share/vm/code/dependencies.cpp @ 54:d4a0f561287a

6598190: JPRT tests fail when run with -XX:+CheckUnhandledOops Summary: Work around Sun Studio C++ compiler bug 6629277 in dependencies.cpp Reviewed-by: kamg, sgoldman, pbk
author sbohne
date Thu, 31 Jan 2008 14:56:50 -0500
parents a61af66fc99e
children cd0742ba123c
comparison
equal deleted inserted replaced
53:9785f6d2dd97 54:d4a0f561287a
1489 return true; 1489 return true;
1490 case Change_new_type: 1490 case Change_new_type:
1491 // fall through: 1491 // fall through:
1492 _change_type = Change_new_sub; 1492 _change_type = Change_new_sub;
1493 case Change_new_sub: 1493 case Change_new_sub:
1494 _klass = instanceKlass::cast(_klass)->super(); 1494 // 6598190: brackets workaround Sun Studio C++ compiler bug 6629277
1495 if (_klass != NULL) { 1495 {
1496 return true; 1496 _klass = instanceKlass::cast(_klass)->super();
1497 if (_klass != NULL) {
1498 return true;
1499 }
1497 } 1500 }
1498 // else set up _ti_limit and fall through: 1501 // else set up _ti_limit and fall through:
1499 _ti_limit = (_ti_base == NULL) ? 0 : _ti_base->length(); 1502 _ti_limit = (_ti_base == NULL) ? 0 : _ti_base->length();
1500 _change_type = Change_new_impl; 1503 _change_type = Change_new_impl;
1501 case Change_new_impl: 1504 case Change_new_impl: