aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorwisberg <wisberg>2005-07-11 23:52:53 +0000
committerwisberg <wisberg>2005-07-11 23:52:53 +0000
commit178760115e55305fd8f726d078ea162df1ff0399 (patch)
tree52bf3f37f3e52687e07fcdbd22518ae616878a08 /tests/bugs
parent295abc046777ddf6aafc9dd198f49f364664242b (diff)
downloadaspectj-178760115e55305fd8f726d078ea162df1ff0399.tar.gz
aspectj-178760115e55305fd8f726d078ea162df1ff0399.zip
tests for Huff's fix for 102746 - not hooked up b/c harness manages classpath.
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/pr102746/PR102746.java8
-rw-r--r--tests/bugs/pr102746/PR102746.txt9
-rw-r--r--tests/bugs/pr102746/lib/Lib.java7
3 files changed, 24 insertions, 0 deletions
diff --git a/tests/bugs/pr102746/PR102746.java b/tests/bugs/pr102746/PR102746.java
new file mode 100644
index 000000000..ceb42ab2e
--- /dev/null
+++ b/tests/bugs/pr102746/PR102746.java
@@ -0,0 +1,8 @@
+
+public class PR102746 {
+ public static void main(String[] args) {
+ if (!("hello".equals(lib.Lib.hello()))) {
+ throw new Error("no hello");
+ }
+ }
+} \ No newline at end of file
diff --git a/tests/bugs/pr102746/PR102746.txt b/tests/bugs/pr102746/PR102746.txt
new file mode 100644
index 000000000..5dbfbdbad
--- /dev/null
+++ b/tests/bugs/pr102746/PR102746.txt
@@ -0,0 +1,9 @@
+
+Would test with
+
+ <ajc-test dir="bugs/pr102746" title="log to file with -log in classpath">
+ <compile files="lib/Lib.java" outjar="foo-logging.jar"/>
+ <compile files="PR102746.java" classpath="foo-logging.jar"/>
+ </ajc-test>
+
+except that the harness is I think snooping for foo-logging.jar wrong. \ No newline at end of file
diff --git a/tests/bugs/pr102746/lib/Lib.java b/tests/bugs/pr102746/lib/Lib.java
new file mode 100644
index 000000000..ef5c29d89
--- /dev/null
+++ b/tests/bugs/pr102746/lib/Lib.java
@@ -0,0 +1,7 @@
+package lib;
+
+public class Lib {
+ public static String hello() {
+ return "hello";
+ }
+} \ No newline at end of file