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 /testData/results/TestClassLoop.dec | |
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 'testData/results/TestClassLoop.dec')
-rw-r--r-- | testData/results/TestClassLoop.dec | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/testData/results/TestClassLoop.dec b/testData/results/TestClassLoop.dec new file mode 100644 index 0000000..b231ae0 --- /dev/null +++ b/testData/results/TestClassLoop.dec @@ -0,0 +1,45 @@ +package pkg; + + +public class TestClassLoop { + + public static void testSimpleInfinite() { + while(true) { + System.out.println(); + } + } + + public static void testFinally() { + boolean var0 = Math.random() > 0.0D; + + while(true) { + try { + if(!var0) { + return; + } + } finally { + System.out.println("1"); + } + } + } + + public static void testFinallyContinue() { + boolean var0 = Math.random() > 0.0D; + + while(true) { + while(true) { + try { + System.out.println("1"); + break; + } finally { + if(var0) { + System.out.println("3"); + continue; + } + } + } + + System.out.println("4"); + } + } +} |