aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs')
-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
4 files changed, 17 insertions, 0 deletions
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