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