diff options
author | jhugunin <jhugunin> | 2004-01-14 11:28:13 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2004-01-14 11:28:13 +0000 |
commit | 7bbd1f419239dc9e8b46e7fd912b2bc007bbd76a (patch) | |
tree | dbe5e47911df5c873860174baf2dc403536e6915 /org.aspectj.ajdt.core | |
parent | 5c4db9cb620918dcf064ddbfc50f54130d3b2cab (diff) | |
download | aspectj-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.java | 4 |
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; } |