6598190: JPRT tests fail when run with -XX:+CheckUnhandledOops
Work around Sun Studio C++ compiler bug 6629277 in dependencies.cpp Reviewed-by: kamg, sgoldman, pbk
This commit is contained in:
parent
f54eceace3
commit
f7eb451719
@ -1491,10 +1491,13 @@ bool DepChange::ContextStream::next() {
|
|||||||
// fall through:
|
// fall through:
|
||||||
_change_type = Change_new_sub;
|
_change_type = Change_new_sub;
|
||||||
case Change_new_sub:
|
case Change_new_sub:
|
||||||
|
// 6598190: brackets workaround Sun Studio C++ compiler bug 6629277
|
||||||
|
{
|
||||||
_klass = instanceKlass::cast(_klass)->super();
|
_klass = instanceKlass::cast(_klass)->super();
|
||||||
if (_klass != NULL) {
|
if (_klass != NULL) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// else set up _ti_limit and fall through:
|
// else set up _ti_limit and fall through:
|
||||||
_ti_limit = (_ti_base == NULL) ? 0 : _ti_base->length();
|
_ti_limit = (_ti_base == NULL) ? 0 : _ti_base->length();
|
||||||
_change_type = Change_new_impl;
|
_change_type = Change_new_impl;
|
||||||
|
Loading…
Reference in New Issue
Block a user