/* 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 #include #include #include #include #include #include #include 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; }