Rename native library.
Change-Id: I3b89059a91ebb70ee5007a03d5dd237f6bff1251
diff --git a/runtime/runtime.cc b/runtime/runtime.cc
index 61f75f4..e3a0d07 100644
--- a/runtime/runtime.cc
+++ b/runtime/runtime.cc
@@ -1140,7 +1140,7 @@
// Then set up the native methods provided by the runtime itself.
RegisterRuntimeNativeMethods(env);
- // Then set up libjavacore / libxxavacore, which are just a regular JNI libraries with
+ // Then set up libjavacore / libopenjdk, which are just a regular JNI libraries with
// a regular JNI_OnLoad. Most JNI libraries can just use System.loadLibrary, but
// libcore can't because it's the library that implements System.loadLibrary!
{
@@ -1151,8 +1151,8 @@
}
{
std::string reason;
- if (!java_vm_->LoadNativeLibrary(env, "libxxavacore.so", nullptr, &reason)) {
- LOG(FATAL) << "LoadNativeLibrary failed for \"libxxavacore.so\": " << reason;
+ if (!java_vm_->LoadNativeLibrary(env, "libopenjdk.so", nullptr, &reason)) {
+ LOG(FATAL) << "LoadNativeLibrary failed for \"libopenjdk.so\": " << reason;
}
}