RFR: jsr166 jdk9 integration wave 14
Martin Buchholz
martinrb at google.com
Tue Jan 31 22:00:08 UTC 2017
On Tue, Jan 31, 2017 at 12:32 PM, Paul Sandoz <paul.sandoz at oracle.com>
wrote:
> ForkJoinPool
> —
>
> These changes will require a feature extension request and CCC.
>
> Why does the default worker thread construction require the permission
> “getClassLoader” but the innocuous worker thread construction does not?
> Both result in a call to getSystemLoader.
>
>
OK, added that permission for creating an innocuous thread.
Seems difficult to test.
> Unless there is some restriction in Thread’s constructor perhaps it is
> better to push the doPriv blocks to the special constructors of
> ForkJoinWorkerThread that way there is less distance between the
> permissions and the actions?
>
I had the same thought, but that would introduce even more churn.
More information about the core-libs-dev
mailing list