Last week it was pointed out to me that some libreoffice automated
tests being run on the Ubuntu packages (autopkgtests) broke with
OpenJDK 11. All the details can be found at
https://launchpad.net/bugs/1796361.
I managed to pinpoint the failure to a missing DocumentView$1.class ¹.
When run against OpenJDK 10 (version 10.0.2+13-1ubuntu1), that file is
generated. When run against OpenJDK 11 (version 11~28-3ubuntu1), that
file is not generated any longer. It doesn't seem to be needed anyway,
as the test runs successfully with both versions of OpenJDK when
removing that reference in the makefile.
I'm not fluent in Java so I may be missing something, but it looks to
me like this reference to DocumentView$1.class could be safely removed
in all cases (see my shallow analysis in the launchpad bug report)?
Input from Java experts much appreciated!
Cheers,
Olivier
¹
https://github.com/LibreOffice/core/blob/master/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Makefile#L69
Context
- DocumentView$1.class not generated with OpenJDK 11 · Olivier Tilloy
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.