My customer has code which throws an ArrayIndexOutOfBoundsException under jdb, but not when run with java or java_g. The same exception occurs in several different places and completely throws off program execution. The debugger complains that the exception is not caught and does not allow execution to resume. This behavior occurs only with win32.
I reviewed the locations of these exceptions and found the failure occurred in a Vector and in a Choice.getItem call. When I put a try. . .catch block around the java.util.Choice.getItem( ) method I can run the program in the debugger.
I reviewed the locations of these exceptions and found the failure occurred in a Vector and in a Choice.getItem call. When I put a try. . .catch block around the java.util.Choice.getItem( ) method I can run the program in the debugger.
- relates to
-
JDK-4042898 win32: Assertion failure awt_Component.cpp line 1358
- Closed
-
JDK-4062325 Bad behavior for JDB on program that works fine without JDB
- Closed