Skip to content

Commit d450314

Browse files
committed
8297276: Remove thread text from Subject.current
Reviewed-by: xuelei, rriggs, mullan
1 parent cdf9ed0 commit d450314

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/java.base/share/classes/javax/security/auth/Subject.java

-4
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,6 @@ public Subject run() {
325325
* retrieved by this method. After {@code action} is finished, the current
326326
* subject is reset to its previous value. The current
327327
* subject is {@code null} before the first call of {@code callAs()}.
328-
* <p>
329-
* When a new thread is created, its current subject is the same as
330-
* the one of its parent thread, and will not change even if
331-
* its parent thread's current subject is changed to another value.
332328
*
333329
* @implNote
334330
* This method returns the same value as

0 commit comments

Comments
 (0)