Browse Source

diagnostics for 278496

tags/V1_6_5
aclement 15 years ago
parent
commit
fd85fe1044
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      asm/src/org/aspectj/asm/internal/ProgramElement.java

+ 5
- 1
asm/src/org/aspectj/asm/internal/ProgramElement.java View File

@@ -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;

Loading…
Cancel
Save