[Libreoffice-bugs] [Bug 121925] Fix Java Jar dependency classpath to pass the ClassPathURLCheck
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 6 10:08:16 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=121925
Stephan Bergmann <sbergman at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sbergman at redhat.com
--- Comment #1 from Stephan Bergmann <sbergman at redhat.com> ---
quoting my 2018-11-12 10:34 comment at
<https://gerrit.libreoffice.org/#/c/63118> "Simplify and fix Java UNO API test
makefiles":
"With Java moving away from supporting absolute file URLs in jar manifest
Class-Paths, we need a new solution for what we currently do with
gb_Jar_add_manifest_classpath/gb_Helper_make_url. We use that in
unotest/Jar_test.mk (which is the subject of this change), but also in
gb_Jar_use_system_jar as used in various places in RepositoryExternal.mk.
(Note how we already have issues with file URLs in all of these places with
recent Java on Windows, see
<https://lists.freedesktop.org/archives/libreoffice/2018-September/080884.html>
'Re: make check fails in [build JCS]'.)
"However, from
<https://docs.oracle.com/cd/E15289_01/JRRLN/newchanged.htm#GUID-CDE1F31D-EDEA-4FBF-B8CB-F555D09C084C>
and the details of
<http://hg.openjdk.java.net/jdk-updates/jdk11u/rev/1c1392d7c546> '8195874:
Improve jar specification adherence', it looks like support for relative paths
starting with '..' in jar manifest Class-Paths is also going away. We
currently use such at least in bridges/Jar_java_uno.mk,
connectivity/Jar_sdbc_hsqldb.mk, and javaunohelper/Jar_juh.mk."
--
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/20181206/37d2a82c/attachment.html>
More information about the Libreoffice-bugs
mailing list