summaryrefslogtreecommitdiffstats
path: root/asm
diff options
context:
space:
mode:
authoraclement <aclement>2009-06-11 22:53:41 +0000
committeraclement <aclement>2009-06-11 22:53:41 +0000
commitfd85fe1044fbafecfcd6fd0550cf6ddab88abbad (patch)
tree9e34f5631ad88d59fd5cb064d4e5cc20edb8db4b /asm
parent558c22cbe8fb3c20dd7fa1712cef89d65c8b82aa (diff)
downloadaspectj-fd85fe1044fbafecfcd6fd0550cf6ddab88abbad.tar.gz
aspectj-fd85fe1044fbafecfcd6fd0550cf6ddab88abbad.zip
diagnostics for 278496
Diffstat (limited to 'asm')
-rw-r--r--asm/src/org/aspectj/asm/internal/ProgramElement.java6
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;