[Libreoffice-bugs] [Bug 124503] New: LibreOffice doesn't detect JVM because of unexpected java.vendor property value
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 2 15:27:42 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=124503
Bug ID: 124503
Summary: LibreOffice doesn't detect JVM because of unexpected
java.vendor property value
Product: LibreOffice
Version: 6.2.2.2 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: olivier.tilloy at canonical.com
Originally reported in Ubuntu: https://launchpad.net/bugs/1822839.
A recent OpenJDK update in Ubuntu 19.04 (to be released later this month)
changes the value of the "java.vendor" property, from the well-known name
"Oracle Corporation" to "Private Build".
This breaks the code in LibreOffice that detects an installed JVM, because the
vendor name is validated against a hardcoded list:
https://cgit.freedesktop.org/libreoffice/core/tree/jvmfwk/plugins/sunmajor/pluginlib/vendorlist.cxx?h=libreoffice-6-2#n33.
This change can probably be reverted in Ubuntu, but I'm wondering what the
purpose of that hardcoded list of vendors is? Isn't it a valid use case for
distributions to change the vendor name?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190402/d3a59399/attachment.html>
More information about the Libreoffice-bugs
mailing list