]> source.dussan.org Git - aspectj.git/commit
fix for Bugzilla Bug 51929
authorjhugunin <jhugunin>
Thu, 19 Feb 2004 22:09:16 +0000 (22:09 +0000)
committerjhugunin <jhugunin>
Thu, 19 Feb 2004 22:09:16 +0000 (22:09 +0000)
commit6ddae42579ceb781831e08f0fcf77a4ff4ffb5c0
tree466c3b3a790f56c4985cbb78686342abe3447591
parent669cd7ce8634623c004cca5732c94a20fd7f57f7
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)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AccessForInlineVisitor.java
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InlineAccessFieldBinding.java
tests/ajcTests.xml
tests/ajcTestsFailing.xml
tests/bugs/protectedvf/main/Driver.java
tests/bugs/protectedvf/main/p1/ConcreteTest.aj
tests/bugs/protectedvf/main/p2/AbstractTest.aj