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 some additional refinements delivered as part of 5.0.0-alpha-2:
- Ensuring that the "main" variants work in conjunction with groovy-contracts
- Document @BaseScript working with the no-arg run method.
Attachments
Issue Links
- is a clone of
-
GROOVY-11118 Initial JEP 445 compatibility
- Closed