1 public class pr26990 2 { main(String args[])3 public static void main (String args[]) throws Exception 4 { 5 System.setSecurityManager(new SecurityManager() 6 { 7 public void checkExit(int status) 8 { 9 throw new SecurityException("This is a bug"); 10 } 11 }); 12 } 13 } 14