mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-21 11:32:13 +00:00
Don't crash on missing interfaces when resolving static bindings (temp)
This commit is contained in:
1 parent
14f3f403dd
commit
50b9deff2a
1 file changed
+3
-1
@@ -1262,7 +1262,9 @@ public class ClassInfo extends TreeInfo {
|
||||
for (String implemented : this.interfaces) {
|
||||
ClassInfo iface = ClassInfo.forName(implemented);
|
||||
if (iface == null) {
|
||||
throw new RuntimeException(new ClassNotFoundException(implemented));
|
||||
ClassInfo.logger.debug("Failed to resolve declared interface {} on {}", implemented, this.name);
|
||||
continue;
|
||||
// throw new RuntimeException(new ClassNotFoundException(implemented));
|
||||
}
|
||||
M member = iface.findInHierarchy(name, desc, true, traversal.next(), flags & ~ClassInfo.INCLUDE_PRIVATE, type);
|
||||
if (member != null) {
|
||||
|
||||
Reference in new issue
Block a user