blob: 84dc0577154018a2d03b14e6fd5c15019069606e [file] [log] [blame]
jeffhao5d1ac922011-09-29 17:41:15 -07001// Copyright 2007 The Android Open Source Project
2
3import java.security.AccessController;
4
5/**
6 * Test java.security.AccessController.
7 */
8public 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}