diff options
author | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-09-01 15:05:08 +0400 |
---|---|---|
committer | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-09-01 15:11:41 +0400 |
commit | 3854b67daac14188d47a86bb6b84ccb00c087f5f (patch) | |
tree | 4138065e6b5d0c1b43b6f3fa2753492cf41661d4 /src/org | |
parent | 1a4e48d11d50b1c9367568ed60f6a43a469d4ace (diff) | |
download | fernflower-3854b67daac14188d47a86bb6b84ccb00c087f5f.tar fernflower-3854b67daac14188d47a86bb6b84ccb00c087f5f.tar.gz fernflower-3854b67daac14188d47a86bb6b84ccb00c087f5f.tar.lz fernflower-3854b67daac14188d47a86bb6b84ccb00c087f5f.tar.xz fernflower-3854b67daac14188d47a86bb6b84ccb00c087f5f.zip |
java-decompiler: post-import cleanup (tests reorganized)
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/jetbrains/java/decompiler/main/decompiler/ConsoleDecompiler.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/org/jetbrains/java/decompiler/main/decompiler/ConsoleDecompiler.java b/src/org/jetbrains/java/decompiler/main/decompiler/ConsoleDecompiler.java index 50a55cf..28bb4ee 100644 --- a/src/org/jetbrains/java/decompiler/main/decompiler/ConsoleDecompiler.java +++ b/src/org/jetbrains/java/decompiler/main/decompiler/ConsoleDecompiler.java @@ -133,7 +133,12 @@ public class ConsoleDecompiler implements IBytecodeProvider, IDecompilatSaver { public void decompileContext(File root) { this.root = root; - fernflower.decompileContext(); + try { + fernflower.decompileContext(); + } + finally { + fernflower.clearContext(); + } } // ******************************************************************* |