Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
JEP 445: Unnamed Classes and Instance Main Methods 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.
Attachments
Issue Links
- is cloned by
-
GROOVY-11165 JEP 445 compatibility additional functionality
- Closed
-
GROOVY-11166 JEP 445 compatibility
- Open
- links to