Paul King created GROOVY-11906:
----------------------------------

             Summary: VMPlugin cleanup for Groovy 6
                 Key: GROOVY-11906
                 URL: https://issues.apache.org/jira/browse/GROOVY-11906
             Project: Groovy
          Issue Type: Improvement
            Reporter: Paul King
            Assignee: Paul King


Since Groovy 6 has JDK17 minimum, the older JDK versions in the vmplugin 
hierarchy, while not causing any harm, are essentially offering no value by 
being split.
 
As a first step, I propose the following vmplugin refactoring:
- Create v17/Java17.java extending Java16
- Update VMPluginFactory to use only Java17
- Deprecate Java8, Java9, Java10, Java16 for removal
- Leave existing auxiliary files in place
- Added @SuppressWarnings("removal") at call sites using the old classes

Subsequently, we can choose to remove some of the older files and "push 
functionality up the hierarchy".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to