Merge "nativeloader: Ignore empty java_permitted_path"
am: 39d1230ee3
* commit '39d1230ee31c704e95ec45048ff812a2b6aae5bf':
nativeloader: Ignore empty java_permitted_path
Change-Id: Iab7b81414593760f4a9d5b02a5be3ea6f6b9720a
This commit is contained in:
commit
ed4c0be382
|
@ -76,7 +76,9 @@ class LibraryNamespaces {
|
|||
|
||||
if (java_permitted_path != nullptr) {
|
||||
ScopedUtfChars path(env, java_permitted_path);
|
||||
permitted_path = permitted_path + ":" + path.c_str();
|
||||
if (path.c_str() != nullptr && path.size() > 0) {
|
||||
permitted_path = permitted_path + ":" + path.c_str();
|
||||
}
|
||||
}
|
||||
|
||||
if (!initialized_ && !InitPublicNamespace(library_path.c_str())) {
|
||||
|
|
Loading…
Reference in New Issue