Skip to content

Commit

Permalink
Merge pull request #16519 from geoand/remove-appcds-java11-warning
Browse files Browse the repository at this point in the history
Remove AppCDS warning now that we have moved to Java 11
  • Loading branch information
gsmet authored Apr 14, 2021
2 parents 7b65f33 + 9325f53 commit 0445fcb
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 0445fcb

Please sign in to comment.