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

VM reports caught exceptions as uncaught

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.4.2
    • core-svc
    • x86
    • linux, windows_2000



      Name: rmT116609 Date: 12/08/2003


      FULL PRODUCT VERSION :
      java version "1.4.2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
      Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Linux beachboys 2.4.21-0.13mdk #1 Fri Mar 14 15:08:06 EST 2003 i686 unknown unknown GNU/Linux

      was also reported on Windows 2000

      A DESCRIPTION OF THE PROBLEM :
      In some case, caught exceptions are mark as uncaught by the VM and uncaught exception events are send by the VM to the debugger.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Launch jdb on the given executable test case:

      $ jdb Bug_47023

      start the debug session:

      > run

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The program should run, print the toString() of the TimeZone object, then exit.
      ACTUAL -
      The program is stopped for an uncaught exception (java.io.FileNotFoundException). When the program is resumed, the toString() of the TimeZone object is printed, then the program exit.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import java.util.TimeZone;
      public class Bug_47023 {
      public static void main(String[] args) {
      TimeZone tz = TimeZone.getTimeZone("UTC");
      System.out.println(tz);
      }
      }
      ---------- END SOURCE ----------
      (Incident Review ID: 228951)
      ======================================================================

            Unassigned Unassigned
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: