-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.1.2
-
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.
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.