OSDN Git Service

PR libgcj/26990:
[pf3gnuchains/gcc-fork.git] / libjava / testsuite / libjava.lang / pr26990.java
1 public class pr26990
2 {
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 }