cryptacular/change-version-to-Java8.patch

38 lines
1.2 KiB
Diff

From 1972c658289468599bbb832bad03fe0a5a34713d Mon Sep 17 00:00:00 2001
From: zhanghua1831 <zhanghua1831@163.com>
Date: Fri, 26 Feb 2021 12:33:02 +0800
Subject: [PATCH] fix build error by using Java8
changes of CVE-2020-7226's patches require Java8
---
pom.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index 1f83d44..9506e54 100644
--- a/pom.xml
+++ b/pom.xml
@@ -140,8 +140,8 @@
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<compilerArgument>-Xlint:unchecked</compilerArgument>
- <source>1.7</source>
- <target>1.7</target>
+ <source>1.8</source>
+ <target>1.8</target>
</configuration>
</plugin>
<plugin>
@@ -182,7 +182,7 @@
<version>2.10.3</version>
<configuration>
<links>
- <link>http://download.oracle.com/javase/7/docs/api</link>
+ <link>http://download.oracle.com/javase/8/docs/api</link>
</links>
<bottom><![CDATA[<i>Copyright &#169; 2003-2015 Virginia Tech. All Rights Reserved.</i>]]></bottom>
</configuration>
--
2.23.0