Imported GNU Classpath 0.19 + gcj-import-20051115.

* sources.am: Regenerated.
       * Makefile.in: Likewise.
       * scripts/makemake.tcl: Use glob -nocomplain.

From-SVN: r107049
This commit is contained in:
Mark Wielaard
2005-11-15 23:20:01 +00:00
parent 02e549bfaa
commit 8f523f3a10
1241 changed files with 97711 additions and 25284 deletions
@@ -88,9 +88,9 @@ public final class VMStackWalker
/**
* Get the class loader associated with the Class returned by
* <code>getCallingClass()</code>, or <code>null</code> if no
* such class exists or it is the boot loader. This method is an optimization
* for the expression <code>getClassContext()[1].getClassLoader()</code>
* <code>getCallingClass()</code>, or <code>null</code> if no such class
* exists or it is the boot loader. This method is an optimization for the
* expression <code>VMStackWalker.getClassLoader(getClassContext()[1])</code>
* and should return the same result.
*
* <p>
@@ -102,7 +102,15 @@ public final class VMStackWalker
Class[] ctx = getClassContext();
if (ctx.length < 3)
return null;
return ctx[2].getClassLoader();
return getClassLoader(ctx[2]);
}
/**
* Retrieve the class's ClassLoader, or <code>null</code> if loaded
* by the bootstrap loader. I.e., this should return the same thing
* as {@link java.lang.VMClass#getClassLoader}. This duplicate version
* is here to work around access permissions.
*/
public static native ClassLoader getClassLoader(Class cl);
}