[ 
https://issues.apache.org/jira/browse/GROOVY-12383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul King resolved GROOVY-12383.
--------------------------------
    Fix Version/s: 6.0.0-RC-2
       Resolution: Fixed

> VM plugin: fall back to Java 8 accessibility rules when the module system is 
> absent
> -----------------------------------------------------------------------------------
>
>                 Key: GROOVY-12383
>                 URL: https://issues.apache.org/jira/browse/GROOVY-12383
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 6.0.0-RC-2
>
>
> Involves: a MODULES_AVAILABLE flag in the Java9 code, a guard around the 
> static initialiser that walks ModuleFinder, and three accessibility methods 
> delegating to the Java 8 versions when the flag is off. One catch: 
> GROOVY-11906 deprecated Java8, Java9, Java10 and Java16 for removal and left 
> only Java17 live, so this should land in whatever shape that collapse takes, 
> or it becomes churn twice.
> Impact on normal usage: none, the flag is always true on a JVM. The cost is 
> one reflective lookup at plugin initialisation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to