diff options
author | acolyer <acolyer> | 2005-08-31 14:24:14 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-08-31 14:24:14 +0000 |
commit | 6c8747b590e9e9092ae256f2c7af0db169a6e2e4 (patch) | |
tree | 35102a2c59e0abb70eded4e6500bf646010f1f60 /org.aspectj.ajdt.core | |
parent | f2af562611c7e060ebd71b9b29d6766ffcb9c727 (diff) | |
download | aspectj-6c8747b590e9e9092ae256f2c7af0db169a6e2e4.tar.gz aspectj-6c8747b590e9e9092ae256f2c7af0db169a6e2e4.zip |
tests and fix for pr107858, inline field access in argument to proceed with too many arguments
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AccessForInlineVisitor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AccessForInlineVisitor.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AccessForInlineVisitor.java index 779dc9ee4..1a310d980 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AccessForInlineVisitor.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AccessForInlineVisitor.java @@ -142,7 +142,7 @@ public class AccessForInlineVisitor extends ASTVisitor { private FieldBinding getAccessibleField(FieldBinding binding, TypeBinding receiverType) { //System.err.println("checking field: " + binding); - if (!binding.isValidBinding()) return binding; + if (binding == null || !binding.isValidBinding()) return binding; makePublic(receiverType); if (isPublic(binding)) return binding; |