public static class AbstractMainTests.StopExitSecurityManager extends SecurityManager
Modifier and Type | Field and Description |
---|---|
private SecurityManager |
prevManager |
inCheck
Constructor and Description |
---|
AbstractMainTests.StopExitSecurityManager() |
Modifier and Type | Method and Description |
---|---|
void |
checkExit(int status)
This throws an exception if System.exit is called.
|
void |
checkPermission(Permission perm)
Intentionally does nothing
|
SecurityManager |
getPreviousManager() |
checkAccept, checkAccess, checkAccess, checkAwtEventQueueAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkLink, checkListen, checkMemberAccess, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPermission, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkSystemClipboardAccess, checkTopLevelWindow, checkWrite, checkWrite, classDepth, classLoaderDepth, currentClassLoader, currentLoadedClass, getClassContext, getInCheck, getSecurityContext, getThreadGroup, inClass, inClassLoader
private SecurityManager prevManager
public AbstractMainTests.StopExitSecurityManager()
public void checkPermission(Permission perm)
checkPermission
in class SecurityManager
perm
- public void checkExit(int status)
checkExit
in class SecurityManager
public SecurityManager getPreviousManager()
Copyright © 2015 Vienna University of Technology. All rights reserved.