Make configure pass with jdk9
Fridrich Strba
fridrich.strba at suse.com
Tue Sep 5 07:59:51 UTC 2017
Hello,
With the attached patch, the configure passes when the jdk used is jdk9.
We are using from the X509Factory only two strings, so I replaced the
BEGIN_CERT and END_CERT with the actual string content and removed the
check for sun.security.provider.X509Factory.
With this patch the current icedtea-web head builds with
--enable-native-plugin against jdk9. The only thing that has to be
disabled for the while is javadoc documentation, since without
--disable-docs, the build produces errors like this:
icedtea-web/netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:30:
error: package sun.awt is not visible
import sun.awt.AppContext;
^
(package sun.awt is declared in module java.desktop, which does not
export it to the unnamed module)
Which should be fixable by a battery of --add-exports.
Cheers
Fridrich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x509factory.patch
Type: text/x-patch
Size: 1791 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20170905/c3b303eb/x509factory.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20170905/c3b303eb/signature.asc>
More information about the distro-pkg-dev
mailing list