Make configure pass with jdk9

Jiri Vanek jvanek at redhat.com
Tue Sep 12 07:56:59 UTC 2017


pushed

On 09/05/2017 09:59 AM, 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
> 


-- 
Jiri Vanek
Senior QE engineer, OpenJDK QE lead, Mgr.
Red Hat Czech
jvanek at redhat.com    M: +420775390109


More information about the distro-pkg-dev mailing list