diff options
author | aclement <aclement> | 2006-09-12 15:19:54 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-09-12 15:19:54 +0000 |
commit | 43638daf5d222e4dd9af8788d575b721f84d1210 (patch) | |
tree | 0bb30b11aedf5693d1b9c428cf6b5c60fff4bc93 /tests/bugs153 | |
parent | 7a4256df61f2d23aefb855ffb0ad6c6bfb2d36d6 (diff) | |
download | aspectj-43638daf5d222e4dd9af8788d575b721f84d1210.tar.gz aspectj-43638daf5d222e4dd9af8788d575b721f84d1210.zip |
testcode for 153490: nested delegate problems.
Diffstat (limited to 'tests/bugs153')
-rw-r--r-- | tests/bugs153/pr153490/A.aj | 4 | ||||
-rw-r--r-- | tests/bugs153/pr153490/A2.aj | 7 | ||||
-rw-r--r-- | tests/bugs153/pr153490/Bar.java | 7 | ||||
-rw-r--r-- | tests/bugs153/pr153490/C.java | 7 | ||||
-rw-r--r-- | tests/bugs153/pr153490/Foo.java | 7 | ||||
-rw-r--r-- | tests/bugs153/pr153490/Goo.java | 6 | ||||
-rw-r--r-- | tests/bugs153/pr153490/jarForBar.jar | bin | 0 -> 2196 bytes | |||
-rw-r--r-- | tests/bugs153/pr153490/jarForFoo.jar | bin | 0 -> 1814 bytes | |||
-rw-r--r-- | tests/bugs153/pr153490/jarForGoo.jar | bin | 0 -> 2163 bytes | |||
-rw-r--r-- | tests/bugs153/pr153490/readme.txt | 5 | ||||
-rw-r--r-- | tests/bugs153/pr153490/required.jar | bin | 0 -> 1819 bytes |
11 files changed, 43 insertions, 0 deletions
diff --git a/tests/bugs153/pr153490/A.aj b/tests/bugs153/pr153490/A.aj new file mode 100644 index 000000000..c9d4c0bf0 --- /dev/null +++ b/tests/bugs153/pr153490/A.aj @@ -0,0 +1,4 @@ +public aspect A { + public enum TestType {Pre}; +} + diff --git a/tests/bugs153/pr153490/A2.aj b/tests/bugs153/pr153490/A2.aj new file mode 100644 index 000000000..7e7f6be62 --- /dev/null +++ b/tests/bugs153/pr153490/A2.aj @@ -0,0 +1,7 @@ +public aspect A2 { + + public static class C { + public enum TestType {Pre}; + } + +} diff --git a/tests/bugs153/pr153490/Bar.java b/tests/bugs153/pr153490/Bar.java new file mode 100644 index 000000000..102323eaa --- /dev/null +++ b/tests/bugs153/pr153490/Bar.java @@ -0,0 +1,7 @@ +public class Bar { + + public static void main(String[] args) { + A2.C.TestType pre = A2.C.TestType.Pre; + } + +} diff --git a/tests/bugs153/pr153490/C.java b/tests/bugs153/pr153490/C.java new file mode 100644 index 000000000..86cf7793b --- /dev/null +++ b/tests/bugs153/pr153490/C.java @@ -0,0 +1,7 @@ +public class C { + + static aspect A { + public enum TestType {Pre}; + } + +} diff --git a/tests/bugs153/pr153490/Foo.java b/tests/bugs153/pr153490/Foo.java new file mode 100644 index 000000000..d6643e152 --- /dev/null +++ b/tests/bugs153/pr153490/Foo.java @@ -0,0 +1,7 @@ +public class Foo { + + public static void main(String[] args) { + A.TestType pre = A.TestType.Pre; + } + +} diff --git a/tests/bugs153/pr153490/Goo.java b/tests/bugs153/pr153490/Goo.java new file mode 100644 index 000000000..f68367947 --- /dev/null +++ b/tests/bugs153/pr153490/Goo.java @@ -0,0 +1,6 @@ +public class Goo { + + public static void main(String[] args) { + C.A.TestType pre = C.A.TestType.Pre; + } +} diff --git a/tests/bugs153/pr153490/jarForBar.jar b/tests/bugs153/pr153490/jarForBar.jar Binary files differnew file mode 100644 index 000000000..026dd15f4 --- /dev/null +++ b/tests/bugs153/pr153490/jarForBar.jar diff --git a/tests/bugs153/pr153490/jarForFoo.jar b/tests/bugs153/pr153490/jarForFoo.jar Binary files differnew file mode 100644 index 000000000..fb3b134d7 --- /dev/null +++ b/tests/bugs153/pr153490/jarForFoo.jar diff --git a/tests/bugs153/pr153490/jarForGoo.jar b/tests/bugs153/pr153490/jarForGoo.jar Binary files differnew file mode 100644 index 000000000..d261c1a66 --- /dev/null +++ b/tests/bugs153/pr153490/jarForGoo.jar diff --git a/tests/bugs153/pr153490/readme.txt b/tests/bugs153/pr153490/readme.txt new file mode 100644 index 000000000..08799734e --- /dev/null +++ b/tests/bugs153/pr153490/readme.txt @@ -0,0 +1,5 @@ +to regenerate jarForFoo.jar: ajc A.aj -outjar required.jar -1.5 -noExit + +to regenerate jarForBar.jar: ajc A2.aj -outjar jarForBar.jar -1.5 -noExit + +to regenerate jarForGoo.jar: ajc C.java -outjar jarForGoo.jar -1.5 -noExit diff --git a/tests/bugs153/pr153490/required.jar b/tests/bugs153/pr153490/required.jar Binary files differnew file mode 100644 index 000000000..def76fe30 --- /dev/null +++ b/tests/bugs153/pr153490/required.jar |