aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzongyu <zzy2529420793@gmail.com>2020-08-13 15:49:21 +0800
committerzongyu <zzy2529420793@gmail.com>2020-08-18 16:05:21 +0800
commit0d8dcd56027708943ffd97869f268e9d17be6723 (patch)
treea3e5482b83fa4c1cdc9f7cb638e447c68d442abf /src
parentupdate licensemap (diff)
downloadjava-ebuilder-0d8dcd56027708943ffd97869f268e9d17be6723.tar.gz
java-ebuilder-0d8dcd56027708943ffd97869f268e9d17be6723.tar.bz2
java-ebuilder-0d8dcd56027708943ffd97869f268e9d17be6723.zip
the minimum version of jdk should be 1.8 to make it compatible with jdk-11
Signed-off-by: zongyu <zzy2529420793@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/gentoo/java/ebuilder/maven/JavaVersion.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/gentoo/java/ebuilder/maven/JavaVersion.java b/src/main/java/org/gentoo/java/ebuilder/maven/JavaVersion.java
index b1918b0..6df982a 100644
--- a/src/main/java/org/gentoo/java/ebuilder/maven/JavaVersion.java
+++ b/src/main/java/org/gentoo/java/ebuilder/maven/JavaVersion.java
@@ -41,7 +41,7 @@ public class JavaVersion {
versionNumber = Integer.parseInt(matcher.group(1), 10);
if (versionNumber <= 8) {
- this.versionString = "1." + Integer.toString(versionNumber);
+ this.versionString = "1.8";
}
else {
this.versionString = versionString;