fix Class.getPackage for system classes in OpenJDK build

This commit is contained in:
Joel Dice 2012-08-11 06:45:13 -06:00
parent 3af278b5e6
commit 2642a167e2

View File

@ -3521,9 +3521,9 @@ extern "C" JNIEXPORT jint JNICALL
EXPORT(JVM_ClassLoaderDepth)(Thread*) { abort(); }
extern "C" JNIEXPORT jstring JNICALL
EXPORT(JVM_GetSystemPackage)(Thread*, jstring)
EXPORT(JVM_GetSystemPackage)(Thread*, jstring s)
{
return 0;
return s;
}
uint64_t