aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2004-01-14 11:28:13 +0000
committerjhugunin <jhugunin>2004-01-14 11:28:13 +0000
commit7bbd1f419239dc9e8b46e7fd912b2bc007bbd76a (patch)
treedbe5e47911df5c873860174baf2dc403536e6915 /org.aspectj.ajdt.core
parent5c4db9cb620918dcf064ddbfc50f54130d3b2cab (diff)
downloadaspectj-7bbd1f419239dc9e8b46e7fd912b2bc007bbd76a.tar.gz
aspectj-7bbd1f419239dc9e8b46e7fd912b2bc007bbd76a.zip
Fix for Bugzilla Bug 46280
compiler issues error on inner aspects when privilieged
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/parser/AjParser.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/parser/AjParser.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/parser/AjParser.java
index 1b1512d28..be36f8dca 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/parser/AjParser.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/parser/AjParser.java
@@ -230,6 +230,10 @@ public class AjParser extends Parser {
}
aspectDecl.modifiersSourceStart = intStack[intPtr--];
aspectDecl.modifiers = intStack[intPtr--];
+ if (isPrivileged) {
+ aspectDecl.modifiersSourceStart = intStack[intPtr--];
+ aspectDecl.modifiers |= intStack[intPtr--];
+ }
if (aspectDecl.modifiersSourceStart >= 0) {
aspectDecl.declarationSourceStart = aspectDecl.modifiersSourceStart;
}