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

Jdb hangs during quit operation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.2
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

       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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: