Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8249846

Change of behavior after JDK-8237117: Better ForkJoinPool behavior

XMLWordPrintable

        Behavior of ForkJoinWorkerThread created by defaultForkJoinWorkerThreadFactory have changed after JDK-8237117.

        AccessControlContext of the thread is set to the innocuousAcc with no permissions. Previous behavior was to inherit ACC from the thread that created ForkJoinPool.

        The change can be observed by user code, as shown by an example in attach

        Please look for the start of discussion in JDK-8249677

              alvdavi David Alvarez
              akozlov Anton Kozlov
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: