| Index: runtime/lib/mirrors.cc
|
| diff --git a/runtime/lib/mirrors.cc b/runtime/lib/mirrors.cc
|
| index 754aa5f82df967574e1898f8cbb33abd062fc827..46dc79649db58150d569260772e23d4007b2d953 100644
|
| --- a/runtime/lib/mirrors.cc
|
| +++ b/runtime/lib/mirrors.cc
|
| @@ -741,7 +741,9 @@ DEFINE_NATIVE_ENTRY(Mirrors_makeLocalClassMirror, 1) {
|
| GET_NON_NULL_NATIVE_ARGUMENT(Type, type, arguments->NativeArgAt(0));
|
| const Class& cls = Class::Handle(type.type_class());
|
| ASSERT(!cls.IsNull());
|
| - if (cls.IsDynamicClass() || cls.IsVoidClass()) {
|
| + if (cls.IsDynamicClass() ||
|
| + cls.IsVoidClass() ||
|
| + (cls.IsSignatureClass() && !cls.IsCanonicalSignatureClass())) {
|
| Exceptions::ThrowArgumentError(type);
|
| UNREACHABLE();
|
| }
|
|
|