]> source.dussan.org Git - aspectj.git/commit
fix and test for Bugzilla Bug 42993
authorjhugunin <jhugunin>
Fri, 12 Sep 2003 16:49:58 +0000 (16:49 +0000)
committerjhugunin <jhugunin>
Fri, 12 Sep 2003 16:49:58 +0000 (16:49 +0000)
commitb5127388a3b5a2403e8d8944766bbe1895e09530
tree1bc69df69075a48d0180b21e080f4c9f7bcaf9da
parent3b79af95c2373158d6b4149476746e880866e385
fix and test for Bugzilla Bug 42993
   Language regression, or possible language improvement?

The problem was caused by moving name binding in pointcut declarations to
happen before declare parents are evaluated.  Because of this, the
compiler doesn't know that ContainerDescriptor isa Key when resolving
the ContainerLoader.containerLoads reference.

The change in ordering was made to fix a bug reported in declare error
and declare soft whose pcds where being evaluated before name binding
had happened in the pointcut declarations.  Unfortunately, declare error
and declare soft are concretized at the same time as declare parents
(and all other declares ;-), so this move also led to the regression
noted above.
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
tests/ajcTests.xml
tests/bugs/ParentsAndPointcuts.java [new file with mode: 0644]
weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java
weaver/src/org/aspectj/weaver/ResolvedTypeX.java