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

Paul King updated GROOVY-12383:
-------------------------------
    Description: 
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.

> 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
>
> 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