RFR 8199616: Fix @module declarations in tier1 tests

Alexandre (Shura) Iline alexandre.iline at oracle.com
Thu Mar 15 23:35:04 UTC 2018



> On Mar 15, 2018, at 4:15 PM, mandy chung <mandy.chung at oracle.com> wrote:
> 
> 
> 
> On 3/15/18 3:40 PM, Alexandre (Shura) Iline wrote:
>> Hi,
>> 
>> Please take a quick look on fix adding missing module dependencies to tests in :tier1 jdk tests.
>> 
>> Webrev: 
>> http://cr.openjdk.java.net/~shurailine/8199616/webrev.00
> 
> Looks okay.   But I'm surprised that test/jdk/java/lang/ProcessHandle/OnExitTest.java requires
>    44  * @modules jdk.management
> 
> Looks like jdk.management get pulled by the test library. 

Actually java/lang/ProcessHandle/JavaChild.java has a dependency on com.sun.management.OperatingSystemMXBean.

Shura


> If so, we should file JBS issue to fix the test library to eliminate such dependency.
> 
> Mandy



More information about the core-libs-dev mailing list