[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [training-working-group] Is Terminate button (red square button) equivalent to Ctrl+C in windows or Ctrl+Z in linux?
|
Hi Allan,
I got your email through the Training Working Group list.
Unfortunately the Training list isn't the right place to report
Eclipse bugs, its targeted at people who provide or are interested in
Eclipse Training. I would suggest that you submit your bug to one of
the eclipse development lists so it can be properly addressed.
Best,
Mike
------------------------------------------------
Mike Taylor
President/CEO
Instantiations Inc.
(503) 598-4911
www.instantiations.com
...Build Quality Software!
On Oct 25, 2007, at 9:07 AM, Allan G. Ramirez wrote:
I created a small program. Inside that program is a class which I
registered as a shutdownhookthread to jvm. I just invoked
Runtime.addShutDownHook( myShutDownHookThread ). The inside the run
method of myShutDownHookThread is a line which calls stop()
method and the stop method is just simply System.out.println
("shutdownhook thread called");
I tried to run the program using the command line. When I pressed
Ctrl+C, "shutdownhook thread called" was printed. However, I tried
to run in as a java application in eclipse. When I pressed the red
button, nothing is printed. I had a doubt if the shutdown sequence
of jvm was executed.
Could you please tell me what that terminate button do? What is
it's sequence? How can I receive a signal from eclipse that the
terminate button was pressed?
_______________________________________________
training-working-group mailing list
training-working-group@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/training-working-group