Bugs item #1046566, was opened at 2004-10-13 20:07
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1046566&group_id=44253
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Dyrby Jensen (dyrby76)
Assigned to: Nobody/Anonymous (nobody)
Summary: Code in InteractionsPane make DrJava Hang
Initial Comment:
When the code shown below is executed in the
InteractionsPane DrJava hangs. Even the reset button
can not be pressed.
We should be able to kill the Jvm related to the
InteractionsPane by resetting.
Here is the code:
-----
class A{
A(){
this.main();
}
public static void main(String[] args){
new A();
}
}
A a = new A();
-----
If this code is executing from the definitionsPane we
get a stack overflow error, which we would expect.
Also note that if we do a: "while(true){}" in the
interactionsPane we actually CAN use the reset button.
The whole reason for having two JVMS is to be able to
keep DrJava running even if the code executed fails or
get stuck. So this should be fixed!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1046566&group_id=44253
|