Bugs item #3613871, was opened at 2013-05-24 13:44
Message generated for change (Comment added) made by jammerhund
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3613871&group_id=118054

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jukka Rahkonen (jratike80)
Assigned to: Nobody/Anonymous (nobody)
Summary: OJ stops without warnings on system shutdown

Initial Comment:
Tested with version 1.6.1 release on Windows.
If there are layers with unsaved edits in OpenJUMP and user ask computer to 
shut down, OpenJUMP is closed without any warnings and unsaved edits are lost. 
For comparison, Kosmo GIS 3.0 is keeping the computer in such a state that 
operating system sends a message that Kosmo prevents the shutdown and asks if 
user wants to cancel or do a forced shutdown. 

----------------------------------------------------------------------

>Comment By: Matthias Scholz (jammerhund)
Date: 2013-05-25 00:46

Message:
Don't know how Windows is "killing" the Java VM during system shutdown. The
only possibility to avoid lost of data is Runtime.addShutdownHook(). Here
we can add a Thread, which ask's the user if there are unsaved layers. This
Thread is startet if the Java VM is shutting down.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3613871&group_id=118054

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to