diff options
author | aclement <aclement> | 2006-07-05 08:22:55 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-07-05 08:22:55 +0000 |
commit | 82f217fa97084beaa1c4c88ec2e96e4cf83e8aad (patch) | |
tree | 8e8f0dc6fcd9d9a528002d38e5c61c275d8fcaf2 /org.aspectj.ajdt.core/src | |
parent | 777801afde6cb904f72d821ca2b3db38207749f9 (diff) | |
download | aspectj-82f217fa97084beaa1c4c88ec2e96e4cf83e8aad.tar.gz aspectj-82f217fa97084beaa1c4c88ec2e96e4cf83e8aad.zip |
test and fix for 148693
Diffstat (limited to 'org.aspectj.ajdt.core/src')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | 5 |
1 files changed, 5 insertions, 0 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 24aae7c37..5d3595273 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 @@ -434,7 +434,12 @@ public class AspectDeclaration extends TypeDeclaration { gen.generate(codeStream); // body ends here if (codeStream.pcToSourceMapSize==0) codeStream.recordPositionsFrom(0,1); + boolean b = codeStream.generateLocalVariableTableAttributes; // pr148693 + if (codeStream.maxLocals==0) + codeStream.generateLocalVariableTableAttributes=false; classFile.completeCodeAttribute(codeAttributeOffset); + codeStream.generateLocalVariableTableAttributes=b; + attributeNumber++; classFile.completeMethodInfo(methodAttributeOffset, attributeNumber); } |