summaryrefslogtreecommitdiffstats
path: root/ajde/testdata/bug-36071a
diff options
context:
space:
mode:
authormkersten <mkersten>2003-09-26 05:56:32 +0000
committermkersten <mkersten>2003-09-26 05:56:32 +0000
commite0c2b4345229e9f8ffe937ffd4dc21cf79b067d6 (patch)
tree1c878db0751df4644ffdfad5ca162e21e6aae926 /ajde/testdata/bug-36071a
parent79c8ebbe4756a32b50741805d888e09a746c59da (diff)
downloadaspectj-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/.cvsignore2
-rw-r--r--ajde/testdata/bug-36071a/config1.lst2
-rw-r--r--ajde/testdata/bug-36071a/config2.lst1
-rw-r--r--ajde/testdata/bug-36071a/input1.jarbin0 -> 1489 bytes
-rw-r--r--ajde/testdata/bug-36071a/input2.jarbin0 -> 153 bytes
-rw-r--r--ajde/testdata/bug-36071a/src/Main.java22
-rw-r--r--ajde/testdata/bug-36071a/src/aspects/Logging.java27
-rw-r--r--ajde/testdata/bug-36071a/src/testsrc/TestProperties.java29
-rw-r--r--ajde/testdata/bug-36071a/src/testsrc/test.props1
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
new file mode 100644
index 000000000..83abbbaa1
--- /dev/null
+++ b/ajde/testdata/bug-36071a/input1.jar
Binary files differ
diff --git a/ajde/testdata/bug-36071a/input2.jar b/ajde/testdata/bug-36071a/input2.jar
new file mode 100644
index 000000000..d55b84dfe
--- /dev/null
+++ b/ajde/testdata/bug-36071a/input2.jar
Binary files differ
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