This repository has been archived by the owner on Jun 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump maven-compiler-plugin while I'm at it fix Jenkinsfile whoops I don't think that's even necessary
- Loading branch information
1 parent
342e74b
commit f01cf25
Showing
12 changed files
with
115 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Simon Gardling <titaniumtown@gmail.com> | ||
Date: Fri, 23 Apr 2021 11:11:13 -0400 | ||
Subject: [PATCH] java 11 | ||
|
||
|
||
diff --git a/pom.xml b/pom.xml | ||
index 2f38afd3850260933a8398165945162d4cb3ee72..c3ab38266cfa232969a5fe9a05c3bf0ca355ada9 100644 | ||
--- a/pom.xml | ||
+++ b/pom.xml | ||
@@ -19,8 +19,8 @@ | ||
|
||
<properties> | ||
<!-- <skipTests>true</skipTests> Paper - This [was] not going to end well --> | ||
- <maven.compiler.source>1.8</maven.compiler.source> | ||
- <maven.compiler.target>1.8</maven.compiler.target> | ||
+ <maven.compiler.source>11</maven.compiler.source> | ||
+ <maven.compiler.target>11</maven.compiler.target> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Simon Gardling <titaniumtown@gmail.com> | ||
Date: Fri, 23 Apr 2021 11:11:20 -0400 | ||
Subject: [PATCH] java 11 | ||
|
||
|
||
diff --git a/pom.xml b/pom.xml | ||
index b75799ab4c158203b3903428c6403c55b2322806..6ffc6c652dbac0cde12d77f290f378fa4c4b27d7 100644 | ||
--- a/pom.xml | ||
+++ b/pom.xml | ||
@@ -14,8 +14,8 @@ | ||
<bt.name>git</bt.name> | ||
<minecraft.version>1.16.5</minecraft.version> | ||
<minecraft_version>1_16_R3</minecraft_version> | ||
- <maven.compiler.source>1.8</maven.compiler.source> | ||
- <maven.compiler.target>1.8</maven.compiler.target> | ||
+ <maven.compiler.source>11</maven.compiler.source> | ||
+ <maven.compiler.target>11</maven.compiler.target> | ||
</properties> | ||
|
||
<parent> | ||
diff --git a/src/main/java/io/papermc/paper/util/PaperJvmChecker.java b/src/main/java/io/papermc/paper/util/PaperJvmChecker.java | ||
index c6ea429819c07e7f4bc257cad73463a030767825..3fdca3afeefdb7f850934f9b1b5312f8979b50f3 100644 | ||
--- a/src/main/java/io/papermc/paper/util/PaperJvmChecker.java | ||
+++ b/src/main/java/io/papermc/paper/util/PaperJvmChecker.java | ||
@@ -28,21 +28,17 @@ public class PaperJvmChecker { | ||
public static void checkJvm() { | ||
if (getJvmVersion() < 11) { | ||
final Logger logger = LogManager.getLogger(); | ||
- logger.warn("************************************************************"); | ||
- logger.warn("* WARNING - YOU ARE RUNNING AN OUTDATED VERSION OF JAVA."); | ||
- logger.warn("* PAPER WILL STOP BEING COMPATIBLE WITH THIS VERSION OF"); | ||
- logger.warn("* JAVA WHEN MINECRAFT 1.17 IS RELEASED."); | ||
- logger.warn("*"); | ||
- logger.warn("* Please update the version of Java you use to run Paper"); | ||
- logger.warn("* to at least Java 11. When Paper for Minecraft 1.17 is"); | ||
- logger.warn("* released support for versions of Java before 11 will"); | ||
- logger.warn("* be dropped."); | ||
- logger.warn("*"); | ||
- logger.warn("* Current Java version: {}", System.getProperty("java.version")); | ||
- logger.warn("*"); | ||
- logger.warn("* Check this forum post for more information: "); | ||
- logger.warn("* https://papermc.io/java11"); | ||
- logger.warn("************************************************************"); | ||
+ // Yatopia start - require java 11+ | ||
+ // Note - no clue how someone would run a jar built for java 11 on a java version lower than 11, but doesn't hurt to update this warning I guess. | ||
+ logger.fatal("************************************************************"); | ||
+ logger.fatal("* ERROR - YOU ARE RUNNING AN OUTDATED VERSION OF JAVA."); | ||
+ logger.fatal("* YOU NEED TO BE RUNNING JAVA 11 OR HIGHER"); | ||
+ logger.fatal("* In order to achieve Yatopia's high performance,"); | ||
+ logger.fatal("* Yatopia uses features only found in Java 11 or higher."); | ||
+ logger.fatal("* If you do not know how to install Java 11 or have any other questions,"); | ||
+ logger.fatal("* Join our discord server (https://discord.io/YatopiaMC) and ask for support in #yatopia-help"); | ||
+ logger.fatal("************************************************************"); | ||
+ // Yatopia end | ||
} | ||
} | ||
} |