Skip to content

Commit

Permalink
Update the GraalVM version checker
Browse files Browse the repository at this point in the history
  • Loading branch information
cescoffier committed Jun 24, 2019
1 parent 4368c18 commit 4302e0d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -518,10 +518,10 @@ private boolean isThisGraalVMRCObsolete() {
final String vmName = System.getProperty("java.vm.name");
log.info("Running Quarkus native-image plugin on " + vmName);
final List<String> obsoleteGraalVmVersions = Arrays.asList("-rc9", "-rc10", "-rc11", "-rc12", "-rc13", "-rc14",
"-rc15");
"-rc15", "-rc16", "19.0.0");
final boolean vmVersionIsObsolete = obsoleteGraalVmVersions.stream().anyMatch(vmName::contains);
if (vmVersionIsObsolete) {
log.error("Out of date RC build of GraalVM detected! Please upgrade to GraalVM RC16");
log.error("Out of date RC build of GraalVM detected! Please upgrade to GraalVM 19.0.2");
return true;
}
return false;
Expand Down

0 comments on commit 4302e0d

Please sign in to comment.