Path: blob/master/jcl/src/java.base/share/classes/java/lang/RuntimePermission.java
12513 views
/*[INCLUDE-IF Sidecar16]*/1package java.lang;23/*******************************************************************************4* Copyright (c) 1998, 2014 IBM Corp. and others5*6* This program and the accompanying materials are made available under7* the terms of the Eclipse Public License 2.0 which accompanies this8* distribution and is available at https://www.eclipse.org/legal/epl-2.0/9* or the Apache License, Version 2.0 which accompanies this distribution and10* is available at https://www.apache.org/licenses/LICENSE-2.0.11*12* This Source Code may also be made available under the following13* Secondary Licenses when the conditions for such availability set14* forth in the Eclipse Public License, v. 2.0 are satisfied: GNU15* General Public License, version 2 with the GNU Classpath16* Exception [1] and GNU General Public License, version 2 with the17* OpenJDK Assembly Exception [2].18*19* [1] https://www.gnu.org/software/classpath/license.html20* [2] http://openjdk.java.net/legal/assembly-exception.html21*22* 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-exception23*******************************************************************************/2425/**26* RuntimePermission objects represent access to runtime27* support.28*29* @author OTI30* @version initial31*/32public final class RuntimePermission extends java.security.BasicPermission {33private static final long serialVersionUID = 7399184964622342223L;3435/**36* Creates an instance of this class with the given name.37*38* @author OTI39* @version initial40*41* @param permissionName String42* the name of the new permission.43*/44public RuntimePermission(java.lang.String permissionName)45{46super(permissionName);47}4849/**50* Creates an instance of this class with the given name and51* action list. The action list is ignored.52*53* @author OTI54* @version initial55*56* @param name String57* the name of the new permission.58* @param actions String59* ignored.60*/61public RuntimePermission(java.lang.String name, java.lang.String actions)62{63super(name, actions);64}6566}676869