1 // natVMAccessController.cc -- Native part of the VMAccessController class.
2 
3 /* Copyright (C) 2006 Free Software Foundation, Inc.
4 
5    This file is part of libgcj.
6 
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
9 details.  */
10 
11 #include <config.h>
12 
13 #include <gcj/cni.h>
14 #include <jvm.h>
15 #include <java-stack.h>
16 
17 #include <java/security/VMAccessController.h>
18 
19 jobjectArray
getStack()20 java::security::VMAccessController::getStack ()
21 {
22   return _Jv_StackTrace::GetAccessControlStack ();
23 }
24