← Back to team overview

openjdk team mailing list archive

[Bug 1822839] Re: LibreOffice doesn't detect JVM because of unexpected java.vendor property value

 

This bug was fixed in the package libreoffice -
1:5.1.6~rc2-0ubuntu1~xenial7

---------------
libreoffice (1:5.1.6~rc2-0ubuntu1~xenial7) xenial; urgency=medium

  [ Ikuya Awashiro ]
  * debian/patches/new-japanese-era-name.patch (LP: #1827451):
    Add new Japanse era name "Reiwa" support which taken from upstream:
    https://cgit.freedesktop.org/libreoffice/core/commit/?id=cacbb0faef77ae8462de9ff5c7307a6a2e28b2bb
    https://cgit.freedesktop.org/libreoffice/core/commit/?id=597c5d75b8e72d429e096535334eaac7973455ef

   [ Olivier Tilloy ]
   * debian/patches/java.vendor-Ubuntu.patch: update to also recognize
     "Private Build" as java.vendor (for custom PPA builds) (LP: #1822839)
   * debian/patches/java.vendor-Ubuntu.patch: also make jvmfwk recognize
     "Ubuntu" as java.vendor (LP: #1822839)

   [ Rene Engelhard ]
   * debian/patches/java.vendor-Debian.diff: make jvmfwk recognize "Debian"
     as java.vendor as that's what is set in openjdk 11 >= 11.0.3+4-2
     - see #926009 (closes: #926318) (LP: #1822839)

 -- Marcus Tomlinson <marcus.tomlinson@xxxxxxxxxxxxx>  Fri, 03 May 2019
15:40:44 +0100

** Changed in: libreoffice (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-lts in Ubuntu.
https://bugs.launchpad.net/bugs/1822839

Title:
  LibreOffice doesn't detect JVM because of unexpected java.vendor
  property value

Status in LibreOffice:
  Fix Released
Status in libreoffice package in Ubuntu:
  Fix Released
Status in libreoffice-l10n package in Ubuntu:
  Fix Released
Status in openjdk-lts package in Ubuntu:
  New
Status in libreoffice source package in Xenial:
  Fix Released
Status in libreoffice source package in Bionic:
  Fix Released
Status in libreoffice source package in Disco:
  Fix Released
Status in libreoffice-l10n source package in Disco:
  Fix Released
Status in openjdk-lts source package in Disco:
  New
Status in libreoffice package in Debian:
  New

Bug description:
  [Impact]

   * A recent OpenJDK update changes the value of the "java.vendor"
  property from "Oracle Corporation" to "Private Build". This breaks the
  code in LibreOffice that detects an installed JVM.

   * The fix is currently in LibreOffice 6.2.3 on eoan.

  [Test Case]

   1. Launch the LibreOffice Start Center
   2. Open Tools > Options
   3. Navigate to LibreOffice > Advanced
   4. A JRE should be listed with Location: /usr/lib/jvm/...

  [Regression Potential]

   * This fix is small and concentrated so potential for regression
  should be relatively low.

   * A combination of autopkgtests and manual testing as described above
  should provide reasonable confidence that no regressions sneaked in.

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1822839/+subscriptions


References