Commit 0cf32584 by Tom Tromey Committed by Tom Tromey

* java/lang/Class.java (getClassLoaderInternal): Now native.

From-SVN: r114523
parent 1bc49a5e
2006-06-09 Tom Tromey <tromey@redhat.com>
* java/lang/Class.java (getClassLoaderInternal): Now native.
2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com> 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
......
/* Class.java -- Representation of a Java class. /* Class.java -- Representation of a Java class.
Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 2005 Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 2005, 2006
Free Software Foundation Free Software Foundation
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -203,10 +203,7 @@ public final class Class implements Type, GenericDeclaration, Serializable ...@@ -203,10 +203,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
* Internal method that circumvents the usual security checks when * Internal method that circumvents the usual security checks when
* getting the class loader. * getting the class loader.
*/ */
private ClassLoader getClassLoaderInternal () private native ClassLoader getClassLoaderInternal ();
{
return loader;
}
/** /**
* If this is an array, get the Class representing the type of array. * If this is an array, get the Class representing the type of array.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment