Don't crash on missing interfaces when resolving static bindings (temp)

This commit is contained in:
Mumfrey committed 2015-12-31 11:34:18 +00:00
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) {