8345065: Cleanup DomainCombiner, SubjectDomainCombiner, Subject, and PrivilegedAction specifications

Reviewed-by: weijun
This commit is contained in:
Sean Mullan 2024-12-04 12:44:23 +00:00
parent 4000e923e8
commit e13206d3a1
6 changed files with 19 additions and 27 deletions

View file

@ -46,8 +46,7 @@ public interface DomainCombiner {
* set of Permissions, for example).
*
* @param currentDomains the ProtectionDomains associated with the
* current execution thread, up to the most recent
* privileged {@code ProtectionDomain}.
* current execution thread.
* The ProtectionDomains are listed in order of execution,
* with the most recently executing {@code ProtectionDomain}
* residing at the beginning of the array. This parameter may
@ -55,8 +54,6 @@ public interface DomainCombiner {
* has no associated ProtectionDomains.
*
* @param assignedDomains an array of inherited ProtectionDomains.
* ProtectionDomains may be inherited from a parent thread,
* or from a privileged {@code AccessControlContext}.
* This parameter may be {@code null}
* if there are no inherited ProtectionDomains.
*