<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 7/05/2021 1:17 pm, Peter Firmstone
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:de0f6a9a-6a0c-3686-6851-d3da9498acc8@zeus.net.au"><br>
On 6/05/2021 9:46 pm, Ron Pressler wrote:
<blockquote type="cite" style="color: #007cff;">That is correct.
Here is where this is mentioned for ForkJoinPool: <a
class="moz-txt-link-freetext"
href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/concurrent/ForkJoinPool.html"
moz-do-not-send="true">https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/concurrent/ForkJoinPool.html</a>
<br>
<br>
And here it is for virtual threads (the JavaDoc is still a WIP):
<br>
<a class="moz-txt-link-freetext"
href="https://download.java.net/java/early_access/loom/docs/api/java.base/java/lang/Thread.html#startVirtualThread(java.lang.Runnable)"
moz-do-not-send="true">https://download.java.net/java/early_access/loom/docs/api/java.base/java/lang/Thread.html#startVirtualThread(java.lang.Runnable)</a>
<br>
</blockquote>
<br>
<br>
Can I use doPrivileged blocks with context, or will they be
innefective? If yes to the former and no to the latter, then it's
great these threads have no permission by default.
<br>
<br>
Just trying to work out if I can use it with secure network
connections?
</blockquote>
<pre class="moz-signature" cols="72">--
Regards,
Peter </pre>
</body>
</html>