diff options
Diffstat (limited to 'asm')
-rw-r--r-- | asm/src/org/aspectj/asm/internal/ProgramElement.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/asm/src/org/aspectj/asm/internal/ProgramElement.java b/asm/src/org/aspectj/asm/internal/ProgramElement.java index 8babd5df2..57f2fc31f 100644 --- a/asm/src/org/aspectj/asm/internal/ProgramElement.java +++ b/asm/src/org/aspectj/asm/internal/ProgramElement.java @@ -553,7 +553,11 @@ public class ProgramElement implements IProgramElement { if (asm == null && name.equals("<build to view structure>")) { handle = "<build to view structure>"; } else { - handle = asm.getHandleProvider().createHandleIdentifier(this); + try { + handle = asm.getHandleProvider().createHandleIdentifier(this); + } catch (ArrayIndexOutOfBoundsException aioobe) { + throw new RuntimeException("AIOOBE whilst building handle for " + this, aioobe); + } } } return handle; |