[JPP-Devel] [jump-pilot:bugs] #322 OJ stops without warnings on system shutdown

2020-08-31 Thread michael michaud via Jump-pilot-devel
Implementing Runtime.addShutdownHook is not too complicated (some explanations here https://www.geeksforgeeks.org/jvm-shutdown-hook-java/). It is not an absolute guarantee as it depends how exactly the process is shutdown. Question is : what can we do during this hook (must not be too long as th

[JPP-Devel] [jump-pilot:bugs] #322 OJ stops without warnings on system shutdown

2020-08-31 Thread ede via Jump-pilot-devel
- **status**: open --> pending - **assigned_to**: ede - **Operating System**: --> Windows - **Milestone**: --> OJ_1.16 - **Comment**: applications i work with do not save anything without being explicitly told so. even on windows shutdown. the application simply don't exit and i'll have to for

[JPP-Devel] [jump-pilot:bugs] #322 OJ stops without warnings on system shutdown

2020-08-31 Thread michael michaud via Jump-pilot-devel
I could not see much effect either (same environment as yours). Seems that the saving dialog appears a fraction of second, but the task killer is not one to be very patient. Also I dicovered that tasks in the taskmanager can show their subprocesses : killing OpenJDK kill the whole process, but s

[JPP-Devel] [jump-pilot:bugs] #322 OJ stops without warnings on system shutdown

2020-11-23 Thread ede via Jump-pilot-devel
- **Milestone**: OJ_1.16 --> OJ_future - **Comment**: if JVM retrieves a shutdown signal there is little we can do. tried to add shutdown hooks and such, but JVM ends uncancellable. no way to show a save me dialog . if we could find a way to catch the Ctrl+C ("kill") signal before it reaches t

Re: [JPP-Devel] [jump-pilot:bugs] #322 OJ stops without warnings on system shutdown

2020-08-31 Thread Giuseppe Aruta
Regarding Linux, OJ can be launched by console. Closing the console shuts down Openjump with no saving. Sometimes it can be useful for processes -Sextante- that can basically divore all memory and freeze OJ . Having a warning like Kosmo that advice user's that OS is going to shut could be useful bu