mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8345286: Remove use of SecurityManager API from misc areas
Reviewed-by: alanb, kevinw, sgehwolf
This commit is contained in:
parent
38927fc590
commit
3d49665b85
22 changed files with 43 additions and 261 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue