diff options
author | mkersten <mkersten> | 2003-09-26 05:56:32 +0000 |
---|---|---|
committer | mkersten <mkersten> | 2003-09-26 05:56:32 +0000 |
commit | e0c2b4345229e9f8ffe937ffd4dc21cf79b067d6 (patch) | |
tree | 1c878db0751df4644ffdfad5ca162e21e6aae926 /ajde/testdata/bug-36071a | |
parent | 79c8ebbe4756a32b50741805d888e09a746c59da (diff) | |
download | aspectj-e0c2b4345229e9f8ffe937ffd4dc21cf79b067d6.tar.gz aspectj-e0c2b4345229e9f8ffe937ffd4dc21cf79b067d6.zip |
Cleaning up bad bug data.
Diffstat (limited to 'ajde/testdata/bug-36071a')
-rw-r--r-- | ajde/testdata/bug-36071a/.cvsignore | 2 | ||||
-rw-r--r-- | ajde/testdata/bug-36071a/config1.lst | 2 | ||||
-rw-r--r-- | ajde/testdata/bug-36071a/config2.lst | 1 | ||||
-rw-r--r-- | ajde/testdata/bug-36071a/input1.jar | bin | 0 -> 1489 bytes | |||
-rw-r--r-- | ajde/testdata/bug-36071a/input2.jar | bin | 0 -> 153 bytes | |||
-rw-r--r-- | ajde/testdata/bug-36071a/src/Main.java | 22 | ||||
-rw-r--r-- | ajde/testdata/bug-36071a/src/aspects/Logging.java | 27 | ||||
-rw-r--r-- | ajde/testdata/bug-36071a/src/testsrc/TestProperties.java | 29 | ||||
-rw-r--r-- | ajde/testdata/bug-36071a/src/testsrc/test.props | 1 |
9 files changed, 84 insertions, 0 deletions
diff --git a/ajde/testdata/bug-36071a/.cvsignore b/ajde/testdata/bug-36071a/.cvsignore new file mode 100644 index 000000000..fe99505dc --- /dev/null +++ b/ajde/testdata/bug-36071a/.cvsignore @@ -0,0 +1,2 @@ +bin + diff --git a/ajde/testdata/bug-36071a/config1.lst b/ajde/testdata/bug-36071a/config1.lst new file mode 100644 index 000000000..6ba2da52a --- /dev/null +++ b/ajde/testdata/bug-36071a/config1.lst @@ -0,0 +1,2 @@ +src/Main.java
+src/testsrc/TestProperties.java
diff --git a/ajde/testdata/bug-36071a/config2.lst b/ajde/testdata/bug-36071a/config2.lst new file mode 100644 index 000000000..c1fd90b45 --- /dev/null +++ b/ajde/testdata/bug-36071a/config2.lst @@ -0,0 +1 @@ +src/aspects/Logging.java
diff --git a/ajde/testdata/bug-36071a/input1.jar b/ajde/testdata/bug-36071a/input1.jar Binary files differnew file mode 100644 index 000000000..83abbbaa1 --- /dev/null +++ b/ajde/testdata/bug-36071a/input1.jar diff --git a/ajde/testdata/bug-36071a/input2.jar b/ajde/testdata/bug-36071a/input2.jar Binary files differnew file mode 100644 index 000000000..d55b84dfe --- /dev/null +++ b/ajde/testdata/bug-36071a/input2.jar diff --git a/ajde/testdata/bug-36071a/src/Main.java b/ajde/testdata/bug-36071a/src/Main.java new file mode 100644 index 000000000..417fc6809 --- /dev/null +++ b/ajde/testdata/bug-36071a/src/Main.java @@ -0,0 +1,22 @@ +import java.io.IOException; + +/* + * Created on 30-Jul-03 + * + * To change this generated comment go to + * Window>Preferences>Java>Code Generation>Code and Comments + */ + +/** + * @author websterm + * + * To change this generated comment go to + * Window>Preferences>Java>Code Generation>Code and Comments + */ +public class Main { + + public static void main(String[] args) throws IOException { + String propsName = (args.length > 0)? args[0] : "test.props"; + new test.TestProperties().load(propsName); + } +} diff --git a/ajde/testdata/bug-36071a/src/aspects/Logging.java b/ajde/testdata/bug-36071a/src/aspects/Logging.java new file mode 100644 index 000000000..2e8ba485a --- /dev/null +++ b/ajde/testdata/bug-36071a/src/aspects/Logging.java @@ -0,0 +1,27 @@ +/* + * Created on 30-Jul-03 + * + * To change this generated comment go to + * Window>Preferences>Java>Code Generation>Code and Comments + */ +package aspects; + +/** + * @author websterm + * + * To change this generated comment go to + * Window>Preferences>Java>Code Generation>Code and Comments + */ +public aspect Logging { + + pointcut methods () : + execution(* *..*(..)) && !within(Logging); + + before () : methods () { + System.err.println("> " + thisJoinPoint.getSignature().toLongString()); + } + + after () : methods () { + System.err.println("< " + thisJoinPoint.getSignature().toLongString()); + } +} diff --git a/ajde/testdata/bug-36071a/src/testsrc/TestProperties.java b/ajde/testdata/bug-36071a/src/testsrc/TestProperties.java new file mode 100644 index 000000000..18139e035 --- /dev/null +++ b/ajde/testdata/bug-36071a/src/testsrc/TestProperties.java @@ -0,0 +1,29 @@ +/* + * Created on 30-Jul-03 + * + * To change this generated comment go to + * Window>Preferences>Java>Code Generation>Code and Comments + */ +package test; + +import java.io.IOException; +import java.io.InputStream; +import java.util.Properties; + +/** + * @author websterm + * + * To change this generated comment go to + * Window>Preferences>Java>Code Generation>Code and Comments + */ +public class TestProperties { + + public void load (String name) throws IOException { + InputStream in = getClass().getResourceAsStream(name); +// System.out.println("? load() in=" + in); + Properties props = new Properties(); + props.load(in); + in.close(); + props.list(System.out); + } +} diff --git a/ajde/testdata/bug-36071a/src/testsrc/test.props b/ajde/testdata/bug-36071a/src/testsrc/test.props new file mode 100644 index 000000000..51e670ac7 --- /dev/null +++ b/ajde/testdata/bug-36071a/src/testsrc/test.props @@ -0,0 +1 @@ +test=test
\ No newline at end of file |