Skip to content

Commit

Permalink
Fixed incorrect stack map frames
Browse files Browse the repository at this point in the history
  • Loading branch information
skinnyBat authored and Mumfrey committed Oct 22, 2015
1 parent 2c44a81 commit 4d0428c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ protected String getCommonSuperClass(final String type1, final String type2) {
ClassInfo d = ClassInfo.forName(type2);

if (c.hasSuperClass(d)) {
return type1;
return type2;
}
if (d.hasSuperClass(c)) {
return type2;
return type1;
}
if (c.isInterface() || d.isInterface()) {
return MixinClassWriter.JAVA_LANG_OBJECT;
Expand All @@ -68,7 +68,7 @@ protected String getCommonSuperClass(final String type1, final String type2) {
return MixinClassWriter.JAVA_LANG_OBJECT;
}

} while (!c.hasSuperClass(d));
} while (!d.hasSuperClass(c));

return c.getName();
}
Expand Down

0 comments on commit 4d0428c

Please sign in to comment.