[ https://issues.apache.org/jira/browse/GROOVY-11118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King updated GROOVY-11118: ------------------------------- Description: [JEP 445: Unnamed Classes and Instance Main Methods|https://openjdk.org/jeps/445] provides features that improve using Java for scripting purposes. Groovy 5 offers compatibility to JEP 445 with some minor differences. GROOVY-11166 outlines the specification for this feature. This issue covers initial support of this feature delivered as part of 5.0.0-alpha-1 including: * Support for the various "main" method forms offered by JEP 445 * Support for an additional "run" method form offered by Groovy to combine some of the features offered by JEP 445 while still creating a traditional Groovy "script" class which extends from the {{Script}} class. was: [JEP 445: Unnamed Classes and Instance Main Methods|https://openjdk.org/jeps/445] provides features that improve using Java for scripting purposes. GROOVY-11166 outlines the specification for this feature which were delivered as part of 5.0.0-alpha-1. This issue covers the initial support including supporting the various forms and modifications to the script runner. > Initial JEP 445 compatibility > ----------------------------- > > Key: GROOVY-11118 > URL: https://issues.apache.org/jira/browse/GROOVY-11118 > Project: Groovy > Issue Type: Sub-task > Reporter: Paul King > Assignee: Paul King > Priority: Major > Fix For: 5.0.0-alpha-1 > > > [JEP 445: Unnamed Classes and Instance Main > Methods|https://openjdk.org/jeps/445] provides features that improve using > Java for scripting purposes. Groovy 5 offers compatibility to JEP 445 with > some minor differences. GROOVY-11166 outlines the specification for this > feature. > This issue covers initial support of this feature delivered as part of > 5.0.0-alpha-1 including: > * Support for the various "main" method forms offered by JEP 445 > * Support for an additional "run" method form offered by Groovy to combine > some of the features offered by JEP 445 while still creating a traditional > Groovy "script" class which extends from the {{Script}} class. -- This message was sent by Atlassian Jira (v8.20.10#820010)