diff options
Diffstat (limited to 'asm/src')
-rw-r--r-- | asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java b/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java index 5f60331ba..8d41a2419 100644 --- a/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java +++ b/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java @@ -71,6 +71,9 @@ public class JDTLikeHandleProvider implements IElementHandleProvider { sb.append(createHandleIdentifier(ipe.getParent())).append("/"); // pr249216 - escape any embedded slashes String folder = ipe.getName(); + if (folder.endsWith("/")) { + folder = folder.substring(0, folder.length() - 1); + } if (folder.indexOf("/") != -1) { folder = folder.replace("/", "\\/"); } |