OSDN Git Service

d55b7a54c3a938e5f2513aed49d8462fd69f0436
[pf3gnuchains/gcc-fork.git] / libjava / java / lang / natVMSecurityManager.cc
1 /* Copyright (C) 2002  Free Software Foundation
2
3    This file is part of libgcj.
4
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
7 details.  */
8
9 // Written by Tom Tromey <tromey@redhat.com>
10
11 #include <config.h>
12
13 #include <gcj/cni.h>
14 #include <jvm.h>
15 #include <java-stack.h>
16
17 #include <java/lang/VMSecurityManager.h>
18 #include <java/lang/SecurityManager.h>
19 #include <java/lang/ClassLoader.h>
20 #include <java/lang/Class.h>
21
22 JArray<jclass> *
23 java::lang::VMSecurityManager::getClassContext ()
24 {
25   JArray<jclass> *result = 
26     _Jv_StackTrace::GetClassContext (&SecurityManager::class$);
27
28   return result;
29 }