Remove accidental JavaVersion.current() call in BootRun

It was added accidentally in d2b28ceb.

See gh-18619
pull/18632/head
Johnny Lim 5 years ago committed by Andy Wilkinson
parent 64401216b0
commit 137538f415

@ -18,7 +18,6 @@ package org.springframework.boot.gradle.tasks.run;
import java.lang.reflect.Method;
import org.gradle.api.JavaVersion;
import org.gradle.api.file.SourceDirectorySet;
import org.gradle.api.tasks.Input;
import org.gradle.api.tasks.JavaExec;
@ -72,7 +71,6 @@ public class BootRun extends JavaExec {
public void exec() {
if (this.optimizedLaunch) {
setJvmArgs(getJvmArgs());
JavaVersion.current();
if (!isJava13OrLater()) {
jvmArgs("-Xverify:none");
}

Loading…
Cancel
Save