Skip to content

Commit 137538f

Browse files
izeyewilkinsona
authored andcommitted
Remove accidental JavaVersion.current() call in BootRun
It was added accidentally in d2b28ce. See gh-18619
1 parent 6440121 commit 137538f

File tree

1 file changed

+0
-2
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/run

1 file changed

+0
-2
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/run/BootRun.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import java.lang.reflect.Method;
2020

21-
import org.gradle.api.JavaVersion;
2221
import org.gradle.api.file.SourceDirectorySet;
2322
import org.gradle.api.tasks.Input;
2423
import org.gradle.api.tasks.JavaExec;
@@ -72,7 +71,6 @@ public void sourceResources(SourceSet sourceSet) {
7271
public void exec() {
7372
if (this.optimizedLaunch) {
7473
setJvmArgs(getJvmArgs());
75-
JavaVersion.current();
7674
if (!isJava13OrLater()) {
7775
jvmArgs("-Xverify:none");
7876
}

0 commit comments

Comments
 (0)