diff options
author | aclement <aclement> | 2005-12-09 10:32:57 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-12-09 10:32:57 +0000 |
commit | 5f8d2cdff480ac9d04cc73a4a69eb11563a0bb01 (patch) | |
tree | 0a3e3b397d14cb9226b6ac7fa163113509b2b620 /org.aspectj.ajdt.core | |
parent | ca47cacdacf7da5789446bb3ed9b70e26462206e (diff) | |
download | aspectj-5f8d2cdff480ac9d04cc73a4a69eb11563a0bb01.tar.gz aspectj-5f8d2cdff480ac9d04cc73a4a69eb11563a0bb01.zip |
test and fix for 119451
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java index 9c683d7d7..87dc14868 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java @@ -1113,7 +1113,9 @@ public class AspectDeclaration extends TypeDeclaration { // } public StringBuffer printHeader(int indent, StringBuffer output) { - printModifiers(this.modifiers, output); + // since all aspects are made public we want to print the + // modifiers that were supplied in the original source code + printModifiers(this.declaredModifiers,output); output.append("aspect " ); output.append(name); if (superclass != null) { |