[ mx4j-Bugs-1050288 ] Timer MBean should not be daemon

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Bugs item #1050288, was opened at 2004-10-19 22:18
Message generated for change (Comment added) made by biorn_steedom
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1050288&group_id=47745

Category: JMX implementation
Group: Release 2.0.1
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Mark Hale (markhale)
>Assigned to: Simone Bordet (biorn_steedom)
Summary: Timer MBean should not be daemon

Initial Comment:
The implementation of javax.management.timer.Timer uses
a daemon thread. This does not agree with Sun's
reference implementation. When a Timer is start()-ed,
it shouldn't then suddenly decided to terminate itself.

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

>Comment By: Simone Bordet (biorn_steedom)
Date: 2004-10-20 18:53

Message:
Logged In: YES 
user_id=128193

Fixed.
Thanks for reporting it.

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

Comment By: Eamonn McManus (emcmanus)
Date: 2004-10-20 09:59

Message:
Logged In: YES 
user_id=770046

More information:
The Reference Implementation uses a java.util.Timer. The
thread in a java.util.Timer is explicitly not a daemon
thread, which means that the VM will not exit as long as
there is a task remaining to be executed (unless you call
System.exit, of course). Although the spec of
javax.management.timer.Timer does not explicitly say that
the existence of a future notification should prevent the VM
from exiting, it seems logical and consistent with
java.util.Timer.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1050288&group_id=47745


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.