diff options
Diffstat (limited to 'tests/bugs/systemouts/src/pack/X.java')
-rw-r--r-- | tests/bugs/systemouts/src/pack/X.java | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/bugs/systemouts/src/pack/X.java b/tests/bugs/systemouts/src/pack/X.java new file mode 100644 index 000000000..29803554c --- /dev/null +++ b/tests/bugs/systemouts/src/pack/X.java @@ -0,0 +1,43 @@ + +package pack; + +public final class X { + + public static void ut(boolean b, String m) { + if (!b) { + try { + if (b) + return; + } catch (RuntimeException e) { + System.out.println(""); + e.printStackTrace(System.out); + } + } + } + + + public static void printArgs(String programName, String[] args) { + System.out.print(programName); + for (int i=0; i<args.length; i++){ + System.out.print(" "); + System.out.print(args[i]); + } + } + static void t() { + System.out.print("s"); + System.out.flush(); + System.out.print('.'); + System.out.flush(); + System.out.print('.'); + System.out.flush(); + System.out.print('.'); + System.out.flush(); + System.out.print('.'); + System.out.flush(); + System.out.print('.'); + System.out.flush(); + System.out.print('.'); + System.out.flush(); + System.out.println(""); + } +} |