RFR(s): 8166791: Fix module dependencies for networking component tests

Sergei Kovalev sergei.kovalev at oracle.com
Mon Oct 3 14:05:21 UTC 2016


Such notation (module/package) helps to jtreg to understand that the 
module required on compilation stage. Jtreg adding "--add-exports 
module/package=ALL-UNNAMED" for each record of this type. In our case id 
adds a string: --add-exports java.compiler/javax.tools=ALL-UNNAMED.

-- 
With best regards,
Sergei

03.10.16 16:59, Chris Hegarty wrote:
> On 03/10/16 14:43, Sergei Kovalev wrote:
>> Fixed
>>
>> http://cr.openjdk.java.net/~skovalev/8166791/webrev.02/
>
> java.compiler already exports javax.tools so no need for the
> explicit export in the @modules tag. Otherwise this is fine.
>
> -Chris.
>
>>
>> 03.10.16 16:36, Alan Bateman wrote:
>>>
>>>
>>> On 03/10/2016 14:33, Sergei Kovalev wrote:
>>>>
>>>> SSL engin requires security provider. Its implementation located in
>>>> jdk.security.auth. In case no jdk module added we getting an 
>>>> exception:
>>>>
>>>> test ErrorTest.test(): failure
>>>> java.lang.IllegalArgumentException: Cannot support
>>>> TLS_KRB5_WITH_3DES_EDE_CBC_SHA with currently installed providers
>>>>         at
>>>> sun.security.ssl.CipherSuiteList.<init>(java.base at 9-ea/CipherSuiteList.java:81) 
>>>>
>>>>
>>>>         at
>>>> sun.security.ssl.SSLEngineImpl.setEnabledCipherSuites(java.base at 9-ea/SSLEngineImpl.java:2087) 
>>>>
>>>>
>>>>         at
>>>> javax.net.ssl.SSLEngine.setSSLParameters(java.base at 9-ea/SSLEngine.java:1269) 
>>>>
>>>>
>>>>         at
>>>> sun.security.ssl.SSLEngineImpl.setSSLParameters(java.base at 9-ea/SSLEngineImpl.java:2166) 
>>>>
>>>>
>>> The Kerberos ciphers are in java.security.jgss so that might be what
>>> you need here.
>>>
>>> -Alan
>>


More information about the net-dev mailing list