| Index: runtime/vm/dart_entry.cc
|
| diff --git a/runtime/vm/dart_entry.cc b/runtime/vm/dart_entry.cc
|
| index 0e7790b0cb54e6b4264a6aeb5c6d72bc9cc6ca59..3287777b95fdf2189a7418a9dc9480bcd2f7ff34 100644
|
| --- a/runtime/vm/dart_entry.cc
|
| +++ b/runtime/vm/dart_entry.cc
|
| @@ -167,7 +167,7 @@ RawObject* DartLibraryCalls::ExceptionCreate(
|
| const Library& lib,
|
| const String& class_name,
|
| const GrowableArray<const Object*>& arguments) {
|
| - const Class& cls = Class::Handle(lib.LookupClass(class_name));
|
| + const Class& cls = Class::Handle(lib.LookupClassAllowPrivate(class_name));
|
| ASSERT(!cls.IsNull());
|
| // For now, we only support a non-parameterized or raw type.
|
| const Instance& exception_object = Instance::Handle(Instance::New(cls));
|
|
|