From 43638daf5d222e4dd9af8788d575b721f84d1210 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 12 Sep 2006 15:19:54 +0000 Subject: [PATCH] testcode for 153490: nested delegate problems. --- tests/bugs153/pr153490/A.aj | 4 ++++ tests/bugs153/pr153490/A2.aj | 7 +++++++ tests/bugs153/pr153490/Bar.java | 7 +++++++ tests/bugs153/pr153490/C.java | 7 +++++++ tests/bugs153/pr153490/Foo.java | 7 +++++++ tests/bugs153/pr153490/Goo.java | 6 ++++++ tests/bugs153/pr153490/jarForBar.jar | Bin 0 -> 2196 bytes tests/bugs153/pr153490/jarForFoo.jar | Bin 0 -> 1814 bytes tests/bugs153/pr153490/jarForGoo.jar | Bin 0 -> 2163 bytes tests/bugs153/pr153490/readme.txt | 5 +++++ tests/bugs153/pr153490/required.jar | Bin 0 -> 1819 bytes 11 files changed, 43 insertions(+) create mode 100644 tests/bugs153/pr153490/A.aj create mode 100644 tests/bugs153/pr153490/A2.aj create mode 100644 tests/bugs153/pr153490/Bar.java create mode 100644 tests/bugs153/pr153490/C.java create mode 100644 tests/bugs153/pr153490/Foo.java create mode 100644 tests/bugs153/pr153490/Goo.java create mode 100644 tests/bugs153/pr153490/jarForBar.jar create mode 100644 tests/bugs153/pr153490/jarForFoo.jar create mode 100644 tests/bugs153/pr153490/jarForGoo.jar create mode 100644 tests/bugs153/pr153490/readme.txt create mode 100644 tests/bugs153/pr153490/required.jar 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 new file mode 100644 index 0000000000000000000000000000000000000000..026dd15f4d190fd807dd0255bf8b7586f445270a GIT binary patch literal 2196 zcmaKt2{hDeAIE1T=CxegU}#}1h0Dy?E)lme5oU&IY}vDv#z+|3$d;{UY!M^5C`lM4 z#>H()_I*iZH$*9l$sXNX-kG<1Uf#}m@9#PP^Z!5Rf1c-ee&6%`o(~Saj~5I8aaR3> z!@7Vy1qSc}u%@<14GSwXI2LJTVPjnVUu)RGPv<7TY7_Fh!-#fs-BVK90 zo(qCmV%06MgCXTL_yBd7ITp5p59lAz=2(oERiMP5Y zVNoq;Ogq{XFY+2iF*^NzIm9lk4-*p=6Un3BV%%ggYx*G`#IUR|wH5pdVM%7IUzYo& ziHURC$l?8SKD=wChI}3B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^xh~wY>Z-Rbbzmu-*9qb!)guc{&CF%RJ gor7(2`3+ut-v442Z?lX40Ptr60gL==$d{G>2C5T!rvLx| literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..def76fe30c94bb972f033eff28cf792aa06324cd GIT binary patch literal 1819 zcmWIWW@Zs#-~htzXdP1qBp|}T!r-O&y1H)(EGpBvL zb@eXtdh2SPJ9B<>kiiw>2TzOiynJ;$eJ_@-+7eWtqvzqP_c5s8+|) zi6Ow7onzCL@GeWBMdm;p0Jpve&3bmAtfO9XPGWKK)evug;XsjpdGkwj0xCIvJXpJ> zL)TxpRU(_2bEA{fY$+e}=?}e@Pn(&RcIxr>9R-J-5*jDE#AZIa_y6Iw-l})Gu3W0S zjQxy?-&=mKc|Pa8_4dDi{=T(l5T22ga8g0SdC7_G6^o9X?LG1-D)2>~KwKMN+?96T z%LU>)0$1HoI;!25@WSVR-#M|I?Ahz59?@~$&ZEz5ojgNY^Uxx)F#S6y>K zrl0=F68;l{y-y`-G_&XWMT=Z0x--R!PnpNJnf+|y4?&KL>!vQ;>v&N?&v?r+-e8?j zv+FH$r~0*R+p_d?P~YvgE!pP|%+Zo{TkiAju&CC1F`o8YkNjq8=-a1%a8F)!Iqvkm zj_|uje{6dYeW*{pduHrqU5@J)4s$H>{8lxHap@35em{cE~*+U;N5y(v2) zO<=EY(5s6tG=Cbc^G!NyCSo#e@?O4-7l##`R~(p|6{UL5cqM<}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