Make configure pass with jdk9
Fridrich Strba
fridrich.strba at suse.com
Tue Sep 5 17:46:26 UTC 2017
After a time trying to pass different --add-exports to javadoc, I
realized that this little patch makes the javadoc documentation build in
icedtea-web :)
Cheers
Fridrich
On 05/09/17 09:59, Fridrich Strba wrote:
> 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: jdk9.patch
Type: text/x-patch
Size: 459 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20170905/552e6100/jdk9.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/552e6100/signature.asc>
More information about the distro-pkg-dev
mailing list