Class Java17

All Implemented Interfaces:
VMPlugin

public class Java17 extends Java16
Java 17 based functions. Groovy 6.0 requires JDK 17 as the minimum version.

This plugin subsumes all functionality from earlier version-specific plugins (Java8 through Java16) into a single entry point for the VM plugin system.

Since:
6.0.0
  • Constructor Details

    • Java17

      public Java17()
  • Method Details

    • getVersion

      public int getVersion()
      Description copied from interface: VMPlugin
      Gives the version the plugin is made for
      Specified by:
      getVersion in interface VMPlugin
      Overrides:
      getVersion in class Java16
      Returns:
      7 for jdk7, 8 for jdk8, 9 for jdk9 or higher