This is an automated email from the ASF dual-hosted git repository.
xuxiaowei-com-cn pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/incubator-seata.git
The following commit(s) were added to refs/heads/2.x by this push:
new 6ac9931464 bugfix: set java.version to 17 for console module to fix
compilation error (#8179)
6ac9931464 is described below
commit 6ac9931464b932a145c77579a5132c2315f025b9
Author: 徐晓伟 <[email protected]>
AuthorDate: Tue Jul 28 06:28:47 2026 +0800
bugfix: set java.version to 17 for console module to fix compilation error
(#8179)
---
changes/en-us/2.x.md | 1 +
changes/zh-cn/2.x.md | 1 +
console/pom.xml | 3 +++
3 files changed, 5 insertions(+)
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index 2c7c7ee06a..e6afc809cc 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -27,6 +27,7 @@ Add changes here for all PR submitted to the 2.x branch.
- [[#8138](https://github.com/apache/incubator-seata/pull/8138)] fix TCC fence
cleanup deleting in-progress/unexpired sibling branch records
- [[#8145](https://github.com/apache/incubator-seata/pull/8145)] fix global
lock batch acquire false-failure on Dameng(DM)
- [[#8157](https://github.com/apache/incubator-seata/pull/8157)] fix Saga
auto-configuration being skipped on Spring Boot 4.x because of a hard
`DataSourceAutoConfiguration` class reference
+- [[#8179](https://github.com/apache/incubator-seata/pull/8179)] set
java.version to 17 for console module to fix compilation error
- [[#8170](https://github.com/apache/incubator-seata/pull/8170)] fix
ConfigTools encryption corrupting non-ASCII content on non-UTF-8 platforms
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index 6eba484d32..d545355137 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -27,6 +27,7 @@
- [[#8138](https://github.com/apache/incubator-seata/pull/8138)] 修复 TCC fence
清理时误删同一全局事务中仍在进行(TRIED)或未过期的分支记录的问题
- [#8145](https://github.com/apache/incubator-seata/pull/8145)
修复达梦(DM)数据库下全局锁批量获取被误判为失败的问题
- [[#8157](https://github.com/apache/incubator-seata/pull/8157)] 修复 Spring
Boot 4.x 下由于硬编码 `DataSourceAutoConfiguration` 类引用导致 Saga 自动配置被跳过的问题
+- [[#8179](https://github.com/apache/incubator-seata/pull/8179)] 将 console 模块的
java.version 设置为 17 以修复编译错误
- [[#8170](https://github.com/apache/incubator-seata/pull/8170)] 修复
ConfigTools 加密在非 UTF-8 默认字符集平台损坏非 ASCII 内容的问题
diff --git a/console/pom.xml b/console/pom.xml
index 2ff2f2f0b3..544ae13296 100644
--- a/console/pom.xml
+++ b/console/pom.xml
@@ -32,6 +32,9 @@
<description>console for Seata built with Maven</description>
<properties>
+ <!-- required for java.net.http.HttpClient in RestClientConfig -->
+ <java.version>17</java.version>
+ <maven.compiler.release>${java.version}</maven.compiler.release>
<spring-boot-for-server.version>4.0.6</spring-boot-for-server.version>
<spring-framework-for-server.version>7.0.7</spring-framework-for-server.version>
<snakeyaml-for-server.version>2.0</snakeyaml-for-server.version>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]