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

Change of behavior after JDK-8237117: Better ForkJoinPool behavior

    XMLWordPrintable

    Details

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: