summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/pr26990.java
blob: 88db93e3e12efafe2e4ccb3082ca154ef65d6be1 (plain)
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");
                                }
                              });
  }
}