OSDN Git Service

* java/lang/Class.java (getClassLoaderInternal): Now native.
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jun 2006 21:33:32 +0000 (21:33 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jun 2006 21:33:32 +0000 (21:33 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114523 138bc75d-0d04-0410-961f-82ee72b054a4

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

index a0a782a..b5b4ef4 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 7c3eced..b462465 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.