XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0-alpha-1
    • 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

          Activity

            People

              paulk Paul King
              paulk Paul King
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: