Home | History | Annotate | Download | only in src
      1 // Copyright 2007 The Android Open Source Project
      2 
      3 import java.security.AccessController;
      4 
      5 /**
      6  * Test java.security.AccessController.
      7  */
      8 public class Main {
      9     public static void main(String[] args) {
     10         Privvy priv = new Privvy(38);
     11         Integer result = AccessController.doPrivileged(priv);
     12         System.out.println("AccessControllerTest: got " + result);
     13     }
     14 }
     15