Skip to content

Commit

Permalink
Error if QuarkusAugmentor runs in JDK 8
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Apr 12, 2021
1 parent 8d8db8f commit 3d05b0a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ public class QuarkusAugmentor {

public BuildResult run() throws Exception {
if (!JavaVersionUtil.isJava11OrHigher()) {
log.warn("Using Java versions older than 11 to build"
+ " Quarkus applications is deprecated and will be disallowed in a future release!");
throw new IllegalStateException("Quarkus applications require Java 11 or higher to build");
}
long time = System.currentTimeMillis();
log.debug("Beginning Quarkus augmentation");
Expand Down

0 comments on commit 3d05b0a

Please sign in to comment.