8345286: Remove use of SecurityManager API from misc areas

Reviewed-by: alanb, kevinw, sgehwolf
This commit is contained in:
Jaikiran Pai 2024-12-04 09:23:57 +00:00
parent 38927fc590
commit 3d49665b85
22 changed files with 43 additions and 261 deletions

View file

@ -283,7 +283,6 @@ public final class FilePermission extends Permission implements Serializable {
* @param mask the actions mask to use.
*
*/
@SuppressWarnings("removal")
private void init(int mask) {
if ((mask & ALL) != mask)
throw new IllegalArgumentException("invalid actions mask");