diff options
author | aclement <aclement> | 2009-04-09 04:29:35 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-04-09 04:29:35 +0000 |
commit | 2b74ebb888539e3e0c410e78736c5e79c1b98c05 (patch) | |
tree | 97e553fcb72af7eb7c78ee99ed30d84b0bbedf9b /asm/src | |
parent | 2992b5079cad2b9fc69e52a1a5c92858a8164950 (diff) | |
download | aspectj-2b74ebb888539e3e0c410e78736c5e79c1b98c05.tar.gz aspectj-2b74ebb888539e3e0c410e78736c5e79c1b98c05.zip |
use canonfilepath
Diffstat (limited to 'asm/src')
-rw-r--r-- | asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java b/asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java index cd07bb5d7..a075caef2 100644 --- a/asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java +++ b/asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java @@ -368,7 +368,7 @@ public class AspectJElementHierarchy implements IHierarchy { // 2. should isSourceFile() return true for a FILE that is a .class file...? if ((node.getKind().isSourceFile() && !node.getName().equals("<root>")) || node.getKind().isFile()) { ISourceLocation nodeLoc = node.getSourceLocation(); - if (nodeLoc != null && nodeLoc.getSourceFile().getAbsolutePath().equals(sourcefilePath)) { + if (nodeLoc != null && asm.getCanonicalFilePath(nodeLoc.getSourceFile()).equals(sourcefilePath)) { return node; } return null; // no need to search children of a source file node |