[ https://issues.apache.org/jira/browse/GROOVY-11165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King updated GROOVY-11165: ------------------------------- 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 some additional refinements delivered as part of 5.0.0-alpha-2: * Ensuring that the "main" variants work in conjunction with {{groovy-contracts}} was: [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 some additional refinements delivered as part of 5.0.0-alpha-2. > JEP 445 compatibility additional functionality > ---------------------------------------------- > > Key: GROOVY-11165 > URL: https://issues.apache.org/jira/browse/GROOVY-11165 > Project: Groovy > Issue Type: Sub-task > Reporter: Paul King > Assignee: Paul King > Priority: Major > Fix For: 5.0.0-alpha-2 > > > [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 some additional refinements delivered as part of > 5.0.0-alpha-2: > * Ensuring that the "main" variants work in conjunction with > {{groovy-contracts}} -- This message was sent by Atlassian Jira (v8.20.10#820010)