diff options
author | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-05-28 21:56:57 +0400 |
---|---|---|
committer | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-05-28 21:56:57 +0400 |
commit | 1119499562bd94e2601d301a0126dc02f3d5d472 (patch) | |
tree | c91067b0c64b66b7c0d4e90bf378a3c2b4d993a2 /src/de | |
parent | 4996a1613988c14bd2b7bbbee6adcb5c527e81d1 (diff) | |
download | fernflower-1119499562bd94e2601d301a0126dc02f3d5d472.tar fernflower-1119499562bd94e2601d301a0126dc02f3d5d472.tar.gz fernflower-1119499562bd94e2601d301a0126dc02f3d5d472.tar.lz fernflower-1119499562bd94e2601d301a0126dc02f3d5d472.tar.xz fernflower-1119499562bd94e2601d301a0126dc02f3d5d472.zip |
accept inonsistent anonymous classes (with warning)
E.g. Groovy-compiled anonymouses extend both parent class and GroovyObject.
Diffstat (limited to 'src/de')
-rw-r--r-- | src/de/fernflower/main/ClassesProcessor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/fernflower/main/ClassesProcessor.java b/src/de/fernflower/main/ClassesProcessor.java index 07ca4eb..39516a1 100644 --- a/src/de/fernflower/main/ClassesProcessor.java +++ b/src/de/fernflower/main/ClassesProcessor.java @@ -205,7 +205,7 @@ public class ClassesProcessor { if(interfaces.length > 0) { if(interfaces.length > 1) { - throw new RuntimeException("Inconsistent anonymous class definition: "+cl.qualifiedName); + DecompilerContext.getLogger().writeMessage("Inconsistent anonymous class definition: "+cl.qualifiedName, IFernflowerLogger.WARNING); } nestednode.anonimousClassType = new VarType(cl.getInterface(0), true); } else { |