[
https://issues.apache.org/jira/browse/GROOVY-12383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18113402#comment-18113402
]
ASF GitHub Bot commented on GROOVY-12383:
-----------------------------------------
paulk-asert merged PR #2905:
URL: https://github.com/apache/groovy/pull/2905
> 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)