OSDN Git Service

* java/lang/Class.java (getClassLoaderInternal): Now native.
[pf3gnuchains/gcc-fork.git] / libjava / java / lang / Class.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.