]> source.dussan.org Git - aspectj.git/commitdiff
fix for [Bug 35593] Problem with priviliged aspects
authorjhugunin <jhugunin>
Thu, 10 Apr 2003 18:54:02 +0000 (18:54 +0000)
committerjhugunin <jhugunin>
Thu, 10 Apr 2003 18:54:02 +0000 (18:54 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java

index c92cd026b9478d08b32e5e97ee59b7925e853700..935b6c3f04474177a26667cb84d6ffb700fc2151 100644 (file)
@@ -721,15 +721,14 @@ public class AspectDeclaration extends MemberTypeDeclaration {
 
 
        public void buildInterTypeAndPerClause(ClassScope classScope) {
-               checkSpec(classScope);
-               if (ignoreFurtherInvestigation) return;
-               
                factory = EclipseFactory.fromScopeLookupEnvironment(scope);
-               
                if (isPrivileged) {
                        binding.privilegedHandler = new PrivilegedHandler(this);
                }
                
+               checkSpec(classScope);
+               if (ignoreFurtherInvestigation) return;
+               
                buildPerClause(scope);
                
                if (methods != null) {