More info in the assert message

This commit is contained in:
Andrey Breslav
2013-11-16 16:02:26 +04:00
parent 345ecbf4c0
commit 054ecdaa6c
@@ -194,7 +194,7 @@ public class AsmUtil {
}
Integer defaultMapping = visibilityToAccessFlag.get(descriptor.getVisibility());
if (defaultMapping == null) {
throw new IllegalStateException(descriptor.getVisibility() + " is not a valid visibility in backend.");
throw new IllegalStateException(descriptor.getVisibility() + " is not a valid visibility in backend. Descriptor: " + descriptor);
}
return defaultMapping;
}