aboutsummaryrefslogtreecommitdiffstats
path: root/asm/src
diff options
context:
space:
mode:
authoraclement <aclement>2006-06-12 14:00:02 +0000
committeraclement <aclement>2006-06-12 14:00:02 +0000
commit38cc0dd2f77eaea1778ede835e7da0aa9d871de7 (patch)
treebf0b7304d3f593dbfdb7c108d25d1757dd5acf0c /asm/src
parent4dcb8f3d88ed5e464bf31378d9c222fdf791ff4a (diff)
downloadaspectj-38cc0dd2f77eaea1778ede835e7da0aa9d871de7.tar.gz
aspectj-38cc0dd2f77eaea1778ede835e7da0aa9d871de7.zip
fix for 146546
Diffstat (limited to 'asm/src')
-rw-r--r--asm/src/org/aspectj/asm/AsmManager.java3
-rw-r--r--asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java3
2 files changed, 2 insertions, 4 deletions
diff --git a/asm/src/org/aspectj/asm/AsmManager.java b/asm/src/org/aspectj/asm/AsmManager.java
index e9b8c4bc1..e28cedf48 100644
--- a/asm/src/org/aspectj/asm/AsmManager.java
+++ b/asm/src/org/aspectj/asm/AsmManager.java
@@ -490,9 +490,8 @@ public class AsmManager {
//===================== DELTA PROCESSING CODE ============== start ==========//
- // XXX shouldn't be aware of the delimiter
private String getFilename(String hid) {
- return hid.substring(0,hid.indexOf("|"));
+ return getHandleProvider().getFileForHandle(hid);
}
/**
diff --git a/asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java b/asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
index 8224c6d9f..8260c4805 100644
--- a/asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
+++ b/asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
@@ -444,9 +444,8 @@ public class AspectJElementHierarchy implements IHierarchy {
}
- // XXX shouldn't be aware of the delimiter
private String getFilename(String hid) {
- return hid.substring(0,hid.indexOf("|"));
+ return AsmManager.getDefault().getHandleProvider().getFileForHandle(hid);
}
}