re PR libgcj/2428 (Classloader is not set)

Fix for PR libgcj/2428:
	* java/lang/natClass.cc: Include RuntimePermission.h.
	(getClassLoader): Define.
	* java/lang/Class.h (Class.getClassLoader): Only declare.

From-SVN: r48253
This commit is contained in:
Tom Tromey 2001-12-21 19:47:50 +00:00 committed by Tom Tromey
parent ef96952567
commit 83d9978859
3 changed files with 36 additions and 4 deletions

View file

@ -134,10 +134,7 @@ public:
static jclass forName (jstring className);
JArray<jclass> *getClasses (void);
java::lang::ClassLoader *getClassLoader (void)
{
return loader;
}
java::lang::ClassLoader *getClassLoader (void);
java::lang::reflect::Constructor *getConstructor (JArray<jclass> *);
JArray<java::lang::reflect::Constructor *> *getConstructors (void);