diff options
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/source/framework.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx index c253eec65426..2457ef3ee4c8 100644 --- a/jvmfwk/source/framework.cxx +++ b/jvmfwk/source/framework.cxx @@ -327,9 +327,8 @@ javaFrameworkError jfw_findAndSelectJRE(std::unique_ptr<JavaInfo> *pInfo) & arInfos, infos); - if (plerr == javaPluginError::NONE) + if (plerr == javaPluginError::NONE && !arInfos.empty()) { - assert(!arInfos.empty()); aCurrentInfo = std::move(arInfos[0]); } |