public MSecurityManager(){
  privilegedThreads=new CopyOnWriteArraySet<>();
  privilegedThreads.add(Thread.currentThread());
  defaultManager=System.getSecurityManager();
  executingTestCase=false;
  privilegedThreadToIgnore=null;
  unrecognizedPermissions=new CopyOnWriteArraySet<>();
  filesToDelete=new CopyOnWriteArraySet<>();
}

public MSecurityManager ( ) { privilegedThreads = new CopyOnWriteArraySet < > ( ) ; privilegedThreads . add ( Thread . currentThread ( ) ) ; defaultManager = System . getSecurityManager ( ) ; executingTestCase = false ; privilegedThreadToIgnore = null ; unrecognizedPermissions = new CopyOnWriteArraySet < > ( ) ; filesToDelete = new CopyOnWriteArraySet < > ( ) ; }
create a custom security manager for the sut . the thread that create this instance is automatically added as " privileged "
