More info in the assert message
This commit is contained in:
@@ -194,7 +194,7 @@ public class AsmUtil {
|
|||||||
}
|
}
|
||||||
Integer defaultMapping = visibilityToAccessFlag.get(descriptor.getVisibility());
|
Integer defaultMapping = visibilityToAccessFlag.get(descriptor.getVisibility());
|
||||||
if (defaultMapping == null) {
|
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;
|
return defaultMapping;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user