[JIRA] (MDA-275) Default stage configurations should not create daemon threads
Ian Young (Jira)
jira at shibboleth.atlassian.net
Wed Feb 1 14:16:38 UTC 2023
Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 ) *commented* on MDA-275 ( https://shibboleth.atlassian.net/browse/MDA-275?atlOrigin=eyJpIjoiNjQxZWE2ZGJjMjZhNDI4ODk5MDY3OGQ5MTQyY2Y5NjQiLCJwIjoiaiJ9 )
Re: Default stage configurations should not create daemon threads ( https://shibboleth.atlassian.net/browse/MDA-275?atlOrigin=eyJpIjoiNjQxZWE2ZGJjMjZhNDI4ODk5MDY3OGQ5MTQyY2Y5NjQiLCJwIjoiaiJ9 )
This looks like a fairly simple conversion:
f = executorService.submit(callable);
becomes
f = FutureTask<...>(callable);
executor.execute(f);
Plus changes around the properties, documentation and the five-line DirectExecutor implementation should do it.
( https://shibboleth.atlassian.net/browse/MDA-275#add-comment?atlOrigin=eyJpIjoiNjQxZWE2ZGJjMjZhNDI4ODk5MDY3OGQ5MTQyY2Y5NjQiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/MDA-275#add-comment?atlOrigin=eyJpIjoiNjQxZWE2ZGJjMjZhNDI4ODk5MDY3OGQ5MTQyY2Y5NjQiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100214- sha1:06410ea )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230201/10f118b6/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-46d171f7-242c-407f-a951-b068241a3257
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230201/10f118b6/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-de5bdd0f-fb1a-44a2-9977-da2394e957c4
Type: image/png
Size: 448 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230201/10f118b6/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-3b130ef8-4524-49ed-befc-215221c0498a
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230201/10f118b6/attachment-0005.png>
More information about the commits
mailing list