diff options
author | jhugunin <jhugunin> | 2004-02-19 22:09:16 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2004-02-19 22:09:16 +0000 |
commit | 6ddae42579ceb781831e08f0fcf77a4ff4ffb5c0 (patch) | |
tree | 466c3b3a790f56c4985cbb78686342abe3447591 /tests/ajcTests.xml | |
parent | 669cd7ce8634623c004cca5732c94a20fd7f57f7 (diff) | |
download | aspectj-6ddae42579ceb781831e08f0fcf77a4ff4ffb5c0.tar.gz aspectj-6ddae42579ceb781831e08f0fcf77a4ff4ffb5c0.zip |
fix for Bugzilla Bug 51929
Advice calling protected super method causing java.lang.VerifyError 'Bad access to protected data'
Also expanded test to cover protected field access as well as methods
Fix required getting the correct receiver type for both field access and method
calls to correspond to Java's complicated rules for accessing protected
members (JLSv2 6.6.2 and mentioned in passing in JVMv2 5.4.4)
Diffstat (limited to 'tests/ajcTests.xml')
-rw-r--r-- | tests/ajcTests.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 4f68d8e00..ded12e25e 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -7172,4 +7172,10 @@ <compile files="TraceWithInnerV2.aj"/> <run class="Main"/> </ajc-test> + + <ajc-test dir="bugs/protectedvf" + title="mail list VerifyError with protected access"> + <compile files="main/Driver.java,main/p2/AbstractTest.aj,main/p1/ConcreteTest.aj"/> + <run class="main.Driver"/> + </ajc-test> </suite> |