@param currentDomains the ProtectionDomains associated with thecurrent execution Thread, up to the most recent privileged ProtectionDomain
. The ProtectionDomains are are listed in order of execution, with the most recently executing ProtectionDomain
residing at the beginning of the array. This parameter may be null
if the current execution Thread has no associated ProtectionDomains.
@param assignedDomains an array of inherited ProtectionDomains.ProtectionDomains may be inherited from a parent Thread, or from a privileged AccessControlContext
. This parameter may be null
if there are no inherited ProtectionDomains.
@return a new array consisting of the updated ProtectionDomains,or null
.
|
|