Fix Interface Checker logic for java 8

This commit is contained in:
Mumfrey committed 2016-01-03 01:09:27 +00:00
1 parent 50b9deff2a
commit a16bcf3dd9
1 file changed
+2 -1
@@ -125,7 +125,8 @@ public class MixinTransformerModuleInterfaceChecker implements IMixinTransformer
for (Method method : interfaceMethods) {
Method found = targetClassInfo.findMethodInHierarchy(method.getName(), method.getDesc(), true, Traversal.ALL);
if (found != null) {
// If method IS found and IS implemented, then do nothing (don't print an error)
if (found != null && !found.isAbstract()) {
continue;
}