[concurrency-interest] ScheduledThreadPoolExecutor and shutdown permission check.

Ben Manes ben_manes at yahoo.com
Tue Apr 29 16:21:52 EDT 2008

Have you tried using a daemon thread factory?  I haven't done much work
with applets, but I'd venture that this would allow it to shutdown cleanly.

----- Original Message ----
From: Gregg Wonderly <gregg at cytetech.com>
To: concurrency-interest <concurrency-interest at cs.oswego.edu>
Sent: Tuesday, April 29, 2008 10:29:46 AM
Subject: [concurrency-interest] ScheduledThreadPoolExecutor and shutdown permission check.

I have a STPE that I use in an applet.  At applet shutdown, I'd like to shutdown 
the executor, but alas it requests a Permission check for a RuntimePermission 
that I don't have in an unsigned applet.  It seems kind of silly to demand this 
permission when no other thread management permission exist in the JDK for 
applets.  Am I missing something in consideration of this issue?

Gregg Wonderly
Concurrency-interest mailing list
Concurrency-interest at altair.cs.oswego.edu

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20080429/d82e1fb8/attachment.html 

More information about the Concurrency-interest mailing list