aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/lang
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2006-06-09 21:33:32 +0000
committerTom Tromey <tromey@gcc.gnu.org>2006-06-09 21:33:32 +0000
commit0cf32584caa5076f23e8fd218e5b6176f19bdec1 (patch)
tree34e18fa83bc7d57ad3d4a1bb82152deee52f5814 /libjava/java/lang
parent1bc49a5eeadc62028665b7a35979d23e4a26dd63 (diff)
downloadgcc-0cf32584caa5076f23e8fd218e5b6176f19bdec1.zip
gcc-0cf32584caa5076f23e8fd218e5b6176f19bdec1.tar.gz
gcc-0cf32584caa5076f23e8fd218e5b6176f19bdec1.tar.bz2
* java/lang/Class.java (getClassLoaderInternal): Now native.
From-SVN: r114523
Diffstat (limited to 'libjava/java/lang')
-rw-r--r--libjava/java/lang/Class.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/libjava/java/lang/Class.java b/libjava/java/lang/Class.java
index 7c3eced..b462465 100644
--- a/libjava/java/lang/Class.java
+++ b/libjava/java/lang/Class.java
@@ -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.