On 1 Oct 2015, at 15:12, Roger Riggs <roger.ri...@oracle.com> wrote:
> …. > > Javadoc: > http://cr.openjdk.java.net/~rriggs/cleaner-doc/ > > Webrev: > http://cr.openjdk.java.net/~rriggs/webrev-cleaner-8138696/ This is nice addition. Some comments / questions: 1) Should the behaviour, TCCL, permissions, etc, for the default thread factory be specified in an apiNote? 2) threadFactory.newThread() is only ever called once? Is this worth a note? Or potentially limiting to some other implementation. 3) So the thunk runs with the intersection of the permissions that are associated with the thunk and the thread’s protection domain, regardless of the caller, right? -Chris