summaryrefslogtreecommitdiffstats
path: root/libjava
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-09 21:33:32 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-09 21:33:32 +0000
commit8457a4ae3c017961686ec29edc856b8c165b271e (patch)
tree34e18fa83bc7d57ad3d4a1bb82152deee52f5814 /libjava
parent2cca7d61fb1ac27adf4b98db3696d99d0da79c8f (diff)
downloadppe42-gcc-8457a4ae3c017961686ec29edc856b8c165b271e.tar.gz
ppe42-gcc-8457a4ae3c017961686ec29edc856b8c165b271e.zip
* java/lang/Class.java (getClassLoaderInternal): Now native.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114523 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog4
-rw-r--r--libjava/java/lang/Class.java7
2 files changed, 6 insertions, 5 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index a0a782ab486..b5b4ef4cdf8 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -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
diff --git a/libjava/java/lang/Class.java b/libjava/java/lang/Class.java
index 7c3eced4c71..b462465c2ed 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.
OpenPOWER on IntegriCloud