aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-08-06 00:29:13 +0000
committerwisberg <wisberg>2003-08-06 00:29:13 +0000
commit40fb45135a9079752db1fc3a984d278d054c6dbb (patch)
tree2d6e2df602218e04a3c8636606cc1e1229d52e4f
parent56f0f547f737c8418cad102a60de44c35dd1c409 (diff)
downloadaspectj-40fb45135a9079752db1fc3a984d278d054c6dbb.tar.gz
aspectj-40fb45135a9079752db1fc3a984d278d054c6dbb.zip
@testcase PR#41170 combine classpath on command line and in .lst file
-rw-r--r--tests/ajcTestsFailing.xml7
-rw-r--r--tests/bugs/options/classpath/Client.java6
-rw-r--r--tests/bugs/options/classpath/classpathTest.lst4
-rw-r--r--tests/bugs/options/classpath/lib.jarbin0 -> 367 bytes
-rw-r--r--tests/bugs/options/classpath/lib/Library.java7
5 files changed, 24 insertions, 0 deletions
diff --git a/tests/ajcTestsFailing.xml b/tests/ajcTestsFailing.xml
index ddc6cc1dd..1e2c145f1 100644
--- a/tests/ajcTestsFailing.xml
+++ b/tests/ajcTestsFailing.xml
@@ -5,4 +5,11 @@
<suite>
+ <ajc-test dir="bugs/options/classpath"
+ pr="41170"
+ title="combine classpath on command line and in .lst file">
+ <compile options="-verbose" argfiles="classpathTest.lst"/>
+ <run class="Client"/>
+ </ajc-test>
+
</suite>
diff --git a/tests/bugs/options/classpath/Client.java b/tests/bugs/options/classpath/Client.java
new file mode 100644
index 000000000..5b1271739
--- /dev/null
+++ b/tests/bugs/options/classpath/Client.java
@@ -0,0 +1,6 @@
+
+public class Client {
+ public static void main(String[] args) {
+ lib.Library.method();
+ }
+} \ No newline at end of file
diff --git a/tests/bugs/options/classpath/classpathTest.lst b/tests/bugs/options/classpath/classpathTest.lst
new file mode 100644
index 000000000..e3f419de6
--- /dev/null
+++ b/tests/bugs/options/classpath/classpathTest.lst
@@ -0,0 +1,4 @@
+// @testcase PR#41170 combine classpath on command line and in .lst file
+-classpath
+lib.jar
+Client.java
diff --git a/tests/bugs/options/classpath/lib.jar b/tests/bugs/options/classpath/lib.jar
new file mode 100644
index 000000000..81738d97a
--- /dev/null
+++ b/tests/bugs/options/classpath/lib.jar
Binary files differ
diff --git a/tests/bugs/options/classpath/lib/Library.java b/tests/bugs/options/classpath/lib/Library.java
new file mode 100644
index 000000000..9699686b4
--- /dev/null
+++ b/tests/bugs/options/classpath/lib/Library.java
@@ -0,0 +1,7 @@
+
+package lib;
+
+public class Library {
+ public static void method() {
+ }
+} \ No newline at end of file