Skip to content


8297276: Remove thread text from Subject.current
Browse files Browse the repository at this point in the history
Reviewed-by: xuelei, rriggs, mullan
  • Loading branch information
wangweij committed Nov 28, 2022
1 parent cdf9ed0 commit d450314
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/java.base/share/classes/javax/security/auth/
Expand Up @@ -325,10 +325,6 @@ public Subject run() {
* retrieved by this method. After {@code action} is finished, the current
* subject is reset to its previous value. The current
* subject is {@code null} before the first call of {@code callAs()}.
* <p>
* When a new thread is created, its current subject is the same as
* the one of its parent thread, and will not change even if
* its parent thread's current subject is changed to another value.
* @implNote
* This method returns the same value as
Expand Down

1 comment on commit d450314

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.