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