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] - Blame information for rev 14

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 14 jlechner
/* Copyright (C) 2002, 2003, 2005  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
#include <java/util/ResourceBundle.h>
17
#include <java/lang/ClassLoader.h>
18
#include <java/lang/Class.h>
19
 
20
using namespace java::lang;
21
 
22
java::lang::ClassLoader *
23
java::util::ResourceBundle::getCallingClassLoader ()
24
{
25
  jclass caller = _Jv_StackTrace::GetCallingClass (&ResourceBundle::class$);
26
  if (caller)
27
    return caller->getClassLoaderInternal();
28
  return NULL;
29
}

powered by: WebSVN 2.1.0

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