aboutsummaryrefslogtreecommitdiffstats
path: root/asm
diff options
context:
space:
mode:
authoraclement <aclement>2008-11-27 17:59:09 +0000
committeraclement <aclement>2008-11-27 17:59:09 +0000
commit155a888d39e73a70fd4fe47de2c37ed593bb5459 (patch)
tree77d4f0229a64671e9005fa97f81e22f0b1a17ef9 /asm
parentc010b6834c4eb12bc1073072590c94d5d785701b (diff)
downloadaspectj-155a888d39e73a70fd4fe47de2c37ed593bb5459.tar.gz
aspectj-155a888d39e73a70fd4fe47de2c37ed593bb5459.zip
256400: fix
Diffstat (limited to 'asm')
-rw-r--r--asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java b/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java
index 7c8e6253f..c20428d67 100644
--- a/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java
+++ b/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java
@@ -164,7 +164,7 @@ public class JDTLikeHandleProvider implements IElementHandleProvider {
if (object.getKind() == ipe.getKind()) {
if (object.getName().equals(ipe.getName())) {
String sig1 = object.getBytecodeSignature();
- if (sig1 == null && ipeSig == null || sig1.equals(ipeSig)) {
+ if (sig1 == null && ipeSig == null || (sig1 != null && sig1.equals(ipeSig))) {
String existingHandle = object.getHandleIdentifier();
int suffixPosition = existingHandle.indexOf('!');
if (suffixPosition != -1) {