Skip to content

Commit

Permalink
Remove AppCDS warning now that we have moved to Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Apr 14, 2021
1 parent 04f12b8 commit 9325f53
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import io.quarkus.deployment.pkg.builditem.OutputTargetBuildItem;
import io.quarkus.deployment.steps.MainClassBuildStep;
import io.quarkus.runtime.LaunchMode;
import io.quarkus.runtime.util.JavaVersionUtil;
import io.quarkus.utilities.JavaBinFinder;

public class AppCDSBuildStep {
Expand Down Expand Up @@ -306,10 +305,6 @@ public boolean getAsBoolean() {
return false;
}

if (!JavaVersionUtil.isJava11OrHigher()) {
log.warn("AppCDS can only be used with Java 11+.");
return false;
}
return true;
}
}
Expand Down

0 comments on commit 9325f53

Please sign in to comment.