diff options
Diffstat (limited to 'libjava/java/lang/natClassLoader.cc')
-rw-r--r-- | libjava/java/lang/natClassLoader.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libjava/java/lang/natClassLoader.cc b/libjava/java/lang/natClassLoader.cc index 77ae9f5b..ba7b2c6 100644 --- a/libjava/java/lang/natClassLoader.cc +++ b/libjava/java/lang/natClassLoader.cc @@ -308,8 +308,12 @@ struct _Jv_LoaderInfo { java::lang::ClassLoader *loader; }; -_Jv_LoaderInfo *initiated_classes[HASH_LEN]; -jclass loaded_classes[HASH_LEN]; +static _Jv_LoaderInfo *initiated_classes[HASH_LEN]; +static jclass loaded_classes[HASH_LEN]; + +// This is the root of a linked list of classes + + jclass _Jv_FindClassInCache (_Jv_Utf8Const *name, java::lang::ClassLoader *loader) |