Use 'a' operand code for prefetch instruction.
[official-gcc.git] / libjava / java / rmi / RMISecurityManager.java
blobd63d9698b08d988152b0ecb5c9e66f72f8707cd3
1 /*
2 Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
4 This file is part of GNU Classpath.
6 GNU Classpath is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 GNU Classpath is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU Classpath; see the file COPYING. If not, write to the
18 Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19 02111-1307 USA.
21 As a special exception, if you link this library with other files to
22 produce an executable, this library does not by itself cause the
23 resulting executable to be covered by the GNU General Public License.
24 This exception does not however invalidate any other reasons why the
25 executable file might be covered by the GNU General Public License.
28 package java.rmi;
30 import java.io.FileDescriptor;
31 import java.lang.Thread;
32 import java.lang.Class;
33 import java.lang.SecurityManager;
34 import java.net.InetAddress;
35 import java.security.Permission;
37 public class RMISecurityManager extends SecurityManager {
39 public RMISecurityManager() {
42 public void checkAccept(String host, int port) {
45 public void checkAccess(Thread g) {
48 public void checkAccess(ThreadGroup g) {
51 public void checkAwtEventQueueAccess() {
54 public void checkConnect(String host, int port) {
57 public void checkConnect(String host, int port, Object context) {
60 public void checkCreateClassLoader() {
63 public void checkDelete(String file) {
66 public void checkExec(String cmd) {
69 public void checkExit(int status) {
72 public void checkLink(String lib) {
75 public void checkListen(int port) {
78 public void checkMemberAccess ( Class clazz, int which ) {
81 public void checkMulticast(InetAddress maddr) {
84 public void checkMulticast(InetAddress maddr, byte ttl) {
87 public void checkPackageAccess(String pkg) {
90 public void checkPackageDefinition(String pkg) {
93 public void checkPermission(Permission perm) {
96 public void checkPermission(Permission perm, Object context) {
99 public void checkPrintJobAccess() {
102 public void checkPropertiesAccess() {
105 public void checkPropertyAccess(String key) {
108 /* public void checkPropertyAccess(String key, String def) {
111 public void checkRead(FileDescriptor fd) {
114 public void checkRead(String file) {
117 public void checkRead(String file, Object context) {
120 public void checkSecurityAccess(String action) {
123 public void checkSetFactory() {
126 public void checkSystemClipboardAccess() {
129 public boolean checkTopLevelWindow(Object window) {
130 return (true);
133 public void checkWrite(FileDescriptor fd) {
136 public void checkWrite(String file) {