提交 27da6b44 编写于 作者: S sbohne

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
上级 fe3c5db7
......@@ -1491,10 +1491,13 @@ bool DepChange::ContextStream::next() {
// fall through:
_change_type = Change_new_sub;
case Change_new_sub:
// 6598190: brackets workaround Sun Studio C++ compiler bug 6629277
{
_klass = instanceKlass::cast(_klass)->super();
if (_klass != NULL) {
return true;
}
}
// else set up _ti_limit and fall through:
_ti_limit = (_ti_base == NULL) ? 0 : _ti_base->length();
_change_type = Change_new_impl;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册