| Index: runtime/vm/exceptions.cc
|
| diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc
|
| index e2fa84e5de257b8ab4ce9ffa99bc395a877e3bc2..4e8b6fb9dca678975761f5e293d0a3292b145cd3 100644
|
| --- a/runtime/vm/exceptions.cc
|
| +++ b/runtime/vm/exceptions.cc
|
| @@ -270,7 +270,8 @@ static RawField* LookupStacktraceField(const Instance& instance) {
|
| AbstractType& type = AbstractType::Handle(zone, AbstractType::null());
|
| while (true) {
|
| if (test_class.raw() == error_class.raw()) {
|
| - return error_class.LookupInstanceField(Symbols::_stackTrace());
|
| + return error_class.LookupInstanceFieldAllowPrivate(
|
| + Symbols::_stackTrace());
|
| }
|
| type = test_class.super_type();
|
| if (type.IsNull()) return Field::null();
|
|
|