Skip to content

Commit 7fe5c07

Browse files
committed
打包用的 JDK 17 改为 1.8,兼容低版本
1 parent a1e4085 commit 7fe5c07

File tree

5 files changed

+9
-14
lines changed

5 files changed

+9
-14
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ build/
3535
### VS Code ###
3636
.vscode/
3737
APIJSONORM/bin
38+
*.DS_Store

APIJSONORM/jitpack.yml

-6
This file was deleted.

APIJSONORM/pom.xml

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.github.Tencent</groupId>
77
<artifactId>APIJSON</artifactId>
8-
<version>7.5.0</version>
8+
<version>7.5.5</version>
99
<packaging>jar</packaging>
1010

1111
<name>APIJSONORM</name>
@@ -14,10 +14,10 @@
1414
<properties>
1515
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1616
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
17-
<java.version>17</java.version>
17+
<java.version>1.8</java.version>
1818
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
19-
<maven.compiler.source>17</maven.compiler.source>
20-
<maven.compiler.target>17</maven.compiler.target>
19+
<maven.compiler.source>1.8</maven.compiler.source>
20+
<maven.compiler.target>1.8</maven.compiler.target>
2121
</properties>
2222

2323
<dependencies>
@@ -35,8 +35,8 @@
3535
<artifactId>maven-compiler-plugin</artifactId>
3636
<version>3.12.1</version>
3737
<configuration>
38-
<source>17</source>
39-
<target>17</target>
38+
<source>1.8</source>
39+
<target>1.8</target>
4040
</configuration>
4141
</plugin>
4242

APIJSONORM/src/main/java/apijson/Log.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class Log {
1414

1515
public static boolean DEBUG = true;
1616

17-
public static final String VERSION = "7.5.0";
17+
public static final String VERSION = "7.5.5";
1818
public static final String KEY_SYSTEM_INFO_DIVIDER = "\n---|-----APIJSON SYSTEM INFO-----|---\n";
1919

2020
public static final String OS_NAME;

APIJSONORM/src/main/java/apijson/orm/AbstractParser.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1981,7 +1981,7 @@ public Object getValueByPath(String valuePath) {
19811981
*/
19821982
public static String getDecodedKey(String key) {
19831983
try {
1984-
return URLDecoder.decode(key, StandardCharsets.UTF_8);
1984+
return URLDecoder.decode(key, StringUtil.UTF_8);
19851985
} catch (Throwable e) {
19861986
return key;
19871987
}

0 commit comments

Comments
 (0)