Преглед изворни кода

fix Bug 29691

   Static inner aspects cannot reference user defined pointcuts
tags/V_1_1_b5
jhugunin пре 21 година
родитељ
комит
4dfb3f2ad8
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java

+ 1
- 1
weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java Прегледај датотеку

@@ -123,7 +123,7 @@ public class ReferencePointcut extends Pointcut {
ResolvedPointcutDefinition pointcutDef = searchType.findPointcut(name);
// if we're not a static reference, then do a lookup of outers
if (onType == null) {
if (pointcutDef == null && onType == null) {
while (true) {
TypeX declaringType = searchType.getDeclaringType();
if (declaringType == null) break;

Loading…
Откажи
Сачувај