Don't fail jfw_findAllJREs for just one JRE of WrongArch
...otherwise if one such JRE had found its way into a user's configuration,
"Tools - Options... - LibreOffice - Advanced" would no longer show *any* JREs.
Regression introduced with 9143dd4ebe "Related
tdf#54443 List only matching JREs", which added WrongArch to the javaPluginError
enum.
Change-Id: I51fd47e585c6686be7a9282615c0978e4f6c460b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125396
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
@@ -101,6 +101,8 @@ javaFrameworkError jfw_findAllJREs(std::vector<std::unique_ptr<JavaInfo>> *pparI
|
||||
continue;
|
||||
if (plerr == javaPluginError::FailedVersion)
|
||||
continue;
|
||||
if (plerr == javaPluginError::WrongArch)
|
||||
continue;
|
||||
else if (plerr != javaPluginError::NONE)
|
||||
return JFW_E_ERROR;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user