svn merge -r108665:108708 svn+ssh://gcc.gnu.org/svn/gcc/trunk
[official-gcc.git] / libjava / java / lang / natVMSecurityManager.cc
blob9d52c92c7c58d8fb0631edd085a6c58a26cb31a3
1 /* Copyright (C) 2002 Free Software Foundation
3 This file is part of libgcj.
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
7 details. */
9 // Written by Tom Tromey <tromey@redhat.com>
11 #include <config.h>
13 #include <gcj/cni.h>
14 #include <jvm.h>
15 #include <java-stack.h>
17 #include <java/lang/VMSecurityManager.h>
18 #include <java/lang/SecurityManager.h>
19 #include <java/lang/ClassLoader.h>
20 #include <java/lang/Class.h>
22 JArray<jclass> *
23 java::lang::VMSecurityManager::getClassContext (jclass klass)
25 JArray<jclass> *result =
26 _Jv_StackTrace::GetClassContext (klass);
28 return result;