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

Jdb hangs during quit operation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.1.2
    • client-libs
    • generic
    • generic

       Sample Program :

      import java.applet.*;
      import java.awt.*;

      public class sample1 extends Applet implements Runnable
      {
      public static void main(String args[])
      {
      Frame frame = new Frame("sampleFrame");

      frame.show();
      frame.hide();
      }

      public void run()
      {
      }
      }



      The Problem

      To demonstrate the problem, run "jdb sample1" and then enter the
      following jdb commands:


         stop in sample1.main
         run
         next
         next
         quit



      The "quit" command will cause jdb to hang. Quitting any time prior to
      stepping over the call to java.awt.Window.show() that eventually is
      called from frame.show() does not result in the hang. After stepping
      over that call, the application must complete in order to avoid the
      hang.

            lbunnisunw Lara Bunni (Inactive)
            mmma Marvin Ma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: