OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [libjava/] [java/] [util/] [natResourceBundle.cc] - Rev 14

Compare with Previous | Blame | View Log

/* Copyright (C) 2002, 2003, 2005  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>
#include <java-stack.h>
#include <java/util/ResourceBundle.h>
#include <java/lang/ClassLoader.h>
#include <java/lang/Class.h>
 
using namespace java::lang;
 
java::lang::ClassLoader *
java::util::ResourceBundle::getCallingClassLoader ()
{
  jclass caller = _Jv_StackTrace::GetCallingClass (&ResourceBundle::class$);
  if (caller)
    return caller->getClassLoaderInternal();
  return NULL;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.