"""error: module testng reads package test from both test and testng"""
    mandy chung 
    mandy.chung at oracle.com
       
    Mon Aug 21 19:12:57 UTC 2017
    
    
  
The test itself is a module that depends on testng.  So testng.jar is 
added as an automatic module.  This test passes on my setup.
I am puzzling how jcommander.jar is added to the module path. Can you 
send the .jtr file and list what's in JTwork/modules directory?
Mandy
On 8/17/17 6:22 PM, Martin Buchholz wrote:
> When I run the jtreg test
> java/lang/ModuleTests/addXXX
> I fail with
>
> direct:
> error: module testng reads package test from both test and testng
>
> In the javac command line I see:
>   --add-modules testng,jcommander
> but ... testng and jcommander aren't modules; they're just garden variety
> jar files.
>
> Running jtreg 4.2-b07.
    
    
More information about the jigsaw-dev
mailing list