On Tue, Jan 31, 2017 at 12:32 PM, Paul Sandoz <paul.san...@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.