From b18436307ecfed63c8995fd35013ffa07e5116e7 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 27 Jul 2004 14:17:32 +0000 Subject: [PATCH] Fix for bug 69459 Hiding of Instance Methods by static methods --- tests/ajcTests.xml | 19 ++++++++++++++++++ tests/bugs/intertypeOverrides/Aspect1.class | Bin 0 -> 1540 bytes tests/bugs/intertypeOverrides/Aspect1.java | 3 +++ tests/bugs/intertypeOverrides/Aspect2.class | Bin 0 -> 1506 bytes tests/bugs/intertypeOverrides/Aspect2.java | 3 +++ .../IntertypeOverrides.java | 9 +++++++++ .../IntertypeOverrides2.java | 9 +++++++++ tests/bugs/intertypeOverrides/Subclass.class | Bin 0 -> 243 bytes tests/bugs/intertypeOverrides/Subclass.java | 2 ++ tests/bugs/intertypeOverrides/Super.class | Bin 0 -> 382 bytes .../bugs/intertypeOverrides/Superclass.class | Bin 0 -> 392 bytes tests/bugs/intertypeOverrides/Superclass.java | 4 ++++ .../src/org/aspectj/weaver/ResolvedTypeX.java | 14 ++++++++++--- 13 files changed, 60 insertions(+), 3 deletions(-) create mode 100644 tests/bugs/intertypeOverrides/Aspect1.class create mode 100644 tests/bugs/intertypeOverrides/Aspect1.java create mode 100644 tests/bugs/intertypeOverrides/Aspect2.class create mode 100644 tests/bugs/intertypeOverrides/Aspect2.java create mode 100644 tests/bugs/intertypeOverrides/IntertypeOverrides.java create mode 100644 tests/bugs/intertypeOverrides/IntertypeOverrides2.java create mode 100644 tests/bugs/intertypeOverrides/Subclass.class create mode 100644 tests/bugs/intertypeOverrides/Subclass.java create mode 100644 tests/bugs/intertypeOverrides/Super.class create mode 100644 tests/bugs/intertypeOverrides/Superclass.class create mode 100644 tests/bugs/intertypeOverrides/Superclass.java diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index a74b3d915..85c36164b 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -7776,4 +7776,23 @@ + + + + + + + + + + + + + + + + diff --git a/tests/bugs/intertypeOverrides/Aspect1.class b/tests/bugs/intertypeOverrides/Aspect1.class new file mode 100644 index 0000000000000000000000000000000000000000..824e468a16a3adbe5dca1921faf9725b1fd56428 GIT binary patch literal 1540 zcmbVMTTc@~6#k|KdSQVAa#OjeMcN`Q1;q2*~^_pRmG%b7n9uWX*qcy_`a}{D|>s?OJiT; zjH1aUwUAn&a1`VYL-;BL!@{)$UKvi6OTCo-TPDHFJOUVJ&>GX!a7WcSfxFaqFS(69 zhR#^L;XuY(WWHR^9htHus9+5N1XcT|7^cWHRWH(`%ev+D>7`XOcUKN|QI&>e1`rP_ zUL|4;T**nBn6cQPxnfUzOC8CBFcO%d9+kM`g>^ad)Wg4QLE2TGDJp^@sjy43U=F zORI+@j70l{?)M13Nt_{a;%fZl)kpsQwA7-+HE^9bc)z_L@ton?wdYEpG(i>MSae_$7SchnafMzNGD&Y6`j06#Iz+5e1o1G U+t?LOzVSj(NIyw0$r8zn-^ICDjQ{`u literal 0 HcmV?d00001 diff --git a/tests/bugs/intertypeOverrides/Aspect1.java b/tests/bugs/intertypeOverrides/Aspect1.java new file mode 100644 index 000000000..e6dbf8bd8 --- /dev/null +++ b/tests/bugs/intertypeOverrides/Aspect1.java @@ -0,0 +1,3 @@ +aspect Aspect1 { + public void Subclass.staticMethod() {}; +} diff --git a/tests/bugs/intertypeOverrides/Aspect2.class b/tests/bugs/intertypeOverrides/Aspect2.class new file mode 100644 index 0000000000000000000000000000000000000000..f4421e9e36eeebe0ebde7259a46f2d62e8761a70 GIT binary patch literal 1506 zcmbtUTTc@~6#k|y^uh`SIdjhW&iUrd{P_9#3xFi%8Ny3WRp>Gu24jeq`94oo zxLHhX6w0IyBgk-tX34e=c%dQ|82XiYRoFShELMcH z%vIBo+|n)T7hEV8IqRM1xp!HLN&hET@ZC7X8F-Ew5c-PWKX7DE7cG_;^KO0y1z z?k3P-bTV{g4O6VwJ`{w#sq$gy%33MwqmuCM0BXR{F#sjLdAqNdZs*XVn6R%z-8+#0G6O%UxA8L~3QaN{I%95aJ zG=vdR^d=a_$u#9x-NBV7hRooub)ROXVq+7tQhJbHP1AiRAttON?)KO`IZrj_I$Y`qbe51W)VShg_C`*eR0V&=NWh9@lxq z)Jsz5F-$A=iGZob`G3$UJ6G#`9iJes!ZQaC`Qn_{gmzBiA2lyy4w`!6(XXeb~ zyg$zufGPTfATeo{i?Z}VgfKA|sq4N$@D}Q5n(#un2nfAco#n=y zQmMBh%_U(F7n#U+LMz+XqI*54lE24)v$?e@jLzg**{jZfFg=Q!zz`1qw?Uk2$Lw=8 eW3H6R1Fbs?4njsdwySN%=(oV!skAPmgWeZ5*e$96 literal 0 HcmV?d00001 diff --git a/tests/bugs/intertypeOverrides/Subclass.java b/tests/bugs/intertypeOverrides/Subclass.java new file mode 100644 index 000000000..b87d7c845 --- /dev/null +++ b/tests/bugs/intertypeOverrides/Subclass.java @@ -0,0 +1,2 @@ +class Subclass extends Superclass { +} diff --git a/tests/bugs/intertypeOverrides/Super.class b/tests/bugs/intertypeOverrides/Super.class new file mode 100644 index 0000000000000000000000000000000000000000..0a91a0098de7e94e5b22f2b1089100c021594cb1 GIT binary patch literal 382 zcmZutOHRWu5PjpM4Gn=nPXIeUQgZ+h8zfc%7De4Vu0>r18zm0+Vui$l18^wB*q{m! zBhCN4nX%tLUf%%BFeQxU!=vsp5MggEpJdfadtco)Ypr~SgfKog*7yrTa&){Pq?c}~ z3yd(%kz$Kb*2e0a;i1vpoorf7nAT3ob|E_x^6z5mSEeUqb=-GGD0(lwQP*yw zXMb1nxf?pAuS}R(Mw)76-_OFCIDp{&K@wIz2RxjkiamwO$qOdW90=rWLmRByY>O`d p`yI|E*xis1IS)dAi6Rn3XrbJ|PhhK4{&PXIeUQgZ+h8zfeNE{eK$T#LF2HcA}s#R`c92jEbs