2002-12-05 01:49:30 +01:00
|
|
|
/* Copyright (C) 2002 Free Software Foundation
|
|
|
|
|
|
|
|
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. */
|
|
|
|
|
|
|
|
// Written by Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#include <gcj/cni.h>
|
|
|
|
#include <jvm.h>
|
2005-03-10 20:02:21 +01:00
|
|
|
#include <java-stack.h>
|
|
|
|
|
2002-12-05 01:49:30 +01:00
|
|
|
#include <java/lang/VMSecurityManager.h>
|
|
|
|
#include <java/lang/SecurityManager.h>
|
|
|
|
#include <java/lang/ClassLoader.h>
|
|
|
|
#include <java/lang/Class.h>
|
|
|
|
|
|
|
|
JArray<jclass> *
|
2005-03-21 15:50:14 +01:00
|
|
|
java::lang::VMSecurityManager::getClassContext (jclass klass)
|
2002-12-05 01:49:30 +01:00
|
|
|
{
|
2005-03-10 20:02:21 +01:00
|
|
|
JArray<jclass> *result =
|
2005-03-21 15:50:14 +01:00
|
|
|
_Jv_StackTrace::GetClassContext (klass);
|
2002-12-05 01:49:30 +01:00
|
|
|
|
|
|
|
return result;
|
|
|
|
}
|