You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2020/02/01 06:20:32 UTC

[groovy] branch GROOVY_3_0_X updated: GROOVY-9380: VMPlugin refactor: Coalesce Java5 through Java7 into Java8 (remove reference to unused class)

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
     new c197dc1   GROOVY-9380: VMPlugin refactor: Coalesce Java5 through Java7 into Java8 (remove reference to unused class)
c197dc1 is described below

commit c197dc1ef3291bda73c55d6e72e4f715d754b5d7
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sat Feb 1 15:51:56 2020 +1000

     GROOVY-9380: VMPlugin refactor: Coalesce Java5 through Java7 into Java8 (remove reference to unused class)
---
 src/main/java/org/codehaus/groovy/vmplugin/VMPluginFactory.java | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/main/java/org/codehaus/groovy/vmplugin/VMPluginFactory.java b/src/main/java/org/codehaus/groovy/vmplugin/VMPluginFactory.java
index 679c1b6..10b0e30 100644
--- a/src/main/java/org/codehaus/groovy/vmplugin/VMPluginFactory.java
+++ b/src/main/java/org/codehaus/groovy/vmplugin/VMPluginFactory.java
@@ -19,7 +19,6 @@
 package org.codehaus.groovy.vmplugin;
 
 import org.codehaus.groovy.runtime.DefaultGroovyMethods;
-import org.codehaus.groovy.vmplugin.v7.Java7;
 
 import java.security.AccessController;
 import java.security.PrivilegedAction;
@@ -46,9 +45,6 @@ public class VMPluginFactory {
         VMPlugin target = createPlugin(JDK9_CLASSNAME_CHECK, JDK9_PLUGIN_NAME);
         if (target == null) {
             target = createPlugin(JDK8_CLASSNAME_CHECK, JDK8_PLUGIN_NAME);
-            if (target == null) {
-                target = new Java7();
-            }
         }
 
         PLUGIN = target;