[ 
https://issues.apache.org/jira/browse/GROOVY-8480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16373996#comment-16373996
 ] 

Paul King commented on GROOVY-8480:
-----------------------------------

After applying the proposed PR, the following passes for all modules:
{code}
jshell> String artifact = "groovy-testng-3.0.0-SNAPSHOT.jar"
artifact ==> "groovy-testng-3.0.0-SNAPSHOT.jar"

jshell> 
System.out.println(java.lang.module.ModuleFinder.of(java.nio.file.Paths.get(artifact)).findAll().stream().findFirst().get().descriptor().name())
org.codehaus.groovy.testng
{code}

> org.codehaus.groovy.runtime.ExtensionModule should move to META-INF/groovy
> --------------------------------------------------------------------------
>
>                 Key: GROOVY-8480
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8480
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Priority: Major
>
> To avoid confusing Java 9's ModuleFinder. We should fall back to the current 
> location to handle existing jars.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to