equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
336 * @since 1.2 |
336 * @since 1.2 |
337 */ |
337 */ |
338 |
338 |
339 public final class SecurityPermission extends BasicPermission { |
339 public final class SecurityPermission extends BasicPermission { |
340 |
340 |
|
341 @java.io.Serial |
341 private static final long serialVersionUID = 5236109936224050470L; |
342 private static final long serialVersionUID = 5236109936224050470L; |
342 |
343 |
343 /** |
344 /** |
344 * Creates a new SecurityPermission with the specified name. |
345 * Creates a new SecurityPermission with the specified name. |
345 * The name is the symbolic name of the SecurityPermission. An asterisk |
346 * The name is the symbolic name of the SecurityPermission. An asterisk |