Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8297276 Remove thread text from Subject.current
  3. JDK-8297278

Release Note: Remove Thread Text from Subject.current

XMLWordPrintable

      The specification of `Subject.current` has been changed in this release to drop the expectation that the `Subject` is inherited when creating a thread. At this time, the `Subject` is stored in the `AccessControlContext` and is inherited when creating platform threads. Virtual threads do not capture the caller context at thread creation time and the `AccessControlContext` is not inherited. Inheritance will be re-examined in a future release in advance of removing support for the `SecurityManager` and the inherited `AccessControlContext`.

            weijun Weijun Wang
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: