Paul King created GROOVY-11896:
----------------------------------

             Summary: Support module import declarations
                 Key: GROOVY-11896
                 URL: https://issues.apache.org/jira/browse/GROOVY-11896
             Project: Groovy
          Issue Type: New Feature
            Reporter: Paul King
            Assignee: Paul King


In Java, _module import declarations_ allow you to import all exported packages 
of a module with a single statement. It was introduced as a preview feature in 
Java 23 ([JEP 476|https://openjdk.org/jeps/476]) and finalized in Java 25 ([JEP 
511|https://openjdk.org/jeps/511]).

The syntax is as follows:
{code}
import module java.base;
{code}



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

Reply via email to