* java/lang/Class.java (getClassLoaderInternal): Now native.
authorTom Tromey <tromey@redhat.com>
Fri, 9 Jun 2006 21:33:32 +0000 (21:33 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Fri, 9 Jun 2006 21:33:32 +0000 (21:33 +0000)
From-SVN: r114523

libjava/ChangeLog
libjava/java/lang/Class.java

index a0a782ab486c118540a48bf9be2bdd8d9d7d34bb..b5b4ef4cdf8c23aff2dd4231f6bf50456d552c2e 100644 (file)
@@ -1,3 +1,7 @@
+2006-06-09  Tom Tromey  <tromey@redhat.com>
+
+       * java/lang/Class.java (getClassLoaderInternal): Now native.
+
 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
 
        * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
index 7c3eced4c71e608e11a6d7745d0bbce5eb25dfc8..b462465c2edbaf97c77e918fe0ab7076fd05005d 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
 
 This file is part of GNU Classpath.
@@ -203,10 +203,7 @@ public final class Class implements Type, GenericDeclaration, Serializable
    *  Internal method that circumvents the usual security checks when 
    *  getting the class loader.
    */
-  private ClassLoader getClassLoaderInternal ()
-  {
-    return loader;
-  }
+  private native ClassLoader getClassLoaderInternal ();
 
   /**
    * If this is an array, get the Class representing the type of array.