From fd85fe1044fbafecfcd6fd0550cf6ddab88abbad Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 11 Jun 2009 22:53:41 +0000 Subject: [PATCH] diagnostics for 278496 --- asm/src/org/aspectj/asm/internal/ProgramElement.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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("")) { handle = ""; } 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; -- 2.39.5