Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4122048

STD: Exception thrown in debugger (halting execution), not thrown in java_g

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.2.0
    • 1.1.6
    • core-svc
    • 1.2
    • x86
    • windows_nt
    • Not verified

      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.

            ghirschsunw Gordon Hirsch (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: