Make configure pass with jdk9
Jiri Vanek
jvanek at redhat.com
Tue Sep 12 08:20:23 UTC 2017
On 09/05/2017 07:46 PM, Fridrich Strba wrote:
> 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 :)
pushed too!
>
> 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
>>
>
--
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