Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/jcl/src/java.base/share/classes/java/lang/RuntimePermission.java
12513 views
1
/*[INCLUDE-IF Sidecar16]*/
2
package java.lang;
3
4
/*******************************************************************************
5
* Copyright (c) 1998, 2014 IBM Corp. and others
6
*
7
* This program and the accompanying materials are made available under
8
* the terms of the Eclipse Public License 2.0 which accompanies this
9
* distribution and is available at https://www.eclipse.org/legal/epl-2.0/
10
* or the Apache License, Version 2.0 which accompanies this distribution and
11
* is available at https://www.apache.org/licenses/LICENSE-2.0.
12
*
13
* This Source Code may also be made available under the following
14
* Secondary Licenses when the conditions for such availability set
15
* forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
16
* General Public License, version 2 with the GNU Classpath
17
* Exception [1] and GNU General Public License, version 2 with the
18
* OpenJDK Assembly Exception [2].
19
*
20
* [1] https://www.gnu.org/software/classpath/license.html
21
* [2] http://openjdk.java.net/legal/assembly-exception.html
22
*
23
* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
24
*******************************************************************************/
25
26
/**
27
* RuntimePermission objects represent access to runtime
28
* support.
29
*
30
* @author OTI
31
* @version initial
32
*/
33
public final class RuntimePermission extends java.security.BasicPermission {
34
private static final long serialVersionUID = 7399184964622342223L;
35
36
/**
37
* Creates an instance of this class with the given name.
38
*
39
* @author OTI
40
* @version initial
41
*
42
* @param permissionName String
43
* the name of the new permission.
44
*/
45
public RuntimePermission(java.lang.String permissionName)
46
{
47
super(permissionName);
48
}
49
50
/**
51
* Creates an instance of this class with the given name and
52
* action list. The action list is ignored.
53
*
54
* @author OTI
55
* @version initial
56
*
57
* @param name String
58
* the name of the new permission.
59
* @param actions String
60
* ignored.
61
*/
62
public RuntimePermission(java.lang.String name, java.lang.String actions)
63
{
64
super(name, actions);
65
}
66
67
}
68
69