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:
parent
ef96952567
commit
83d9978859
3 changed files with 36 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue