diff options
author | wisberg <wisberg> | 2005-05-12 11:54:22 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2005-05-12 11:54:22 +0000 |
commit | 9be6f2d8567da5ee7628049a452f989b1410402c (patch) | |
tree | ef74de054be1d06c9d1ce8a404c6bda5f16c6ab0 /tests/harness | |
parent | 23571ff0520587189db0a64e035baa7eb63c7a35 (diff) | |
download | aspectj-9be6f2d8567da5ee7628049a452f989b1410402c.tar.gz aspectj-9be6f2d8567da5ee7628049a452f989b1410402c.zip |
harness LTW support - untested
Diffstat (limited to 'tests/harness')
-rw-r--r-- | tests/harness/fork/MainWriter.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/harness/fork/MainWriter.java b/tests/harness/fork/MainWriter.java new file mode 100644 index 000000000..a7b3993da --- /dev/null +++ b/tests/harness/fork/MainWriter.java @@ -0,0 +1,14 @@ + +public class MainWriter { + public static void main(String[] args) { + if (args.length > 0) { + if ("err".equals(args[0])) { + System.err.println("System.err"); + } else if ("out".equals(args[0])) { + System.out.println("System.out"); + } else if ("Error".equals(args[0])) { + throw new Error(); + } + } + } +}
\ No newline at end of file |