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

Paul King updated GROOVY-11896:
-------------------------------
    Description: 
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:java}
import module java.base;    // Java
{code}

  was:
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}


> 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
>            Priority: Major
>
> 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:java}
> import module java.base;    // Java
> {code}



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

Reply via email to