jdk25 upgrade
维护者通常 2 天内回复
@shroffk 已经在做这个了。
开始于 2026年8月4日。
评估
这个 Issue 还没有评估数据。
描述
Summary
I am going to close the PR #3839 and re-approach this effort incrementally.
Right now, this migration is blocked by a mesh of related dependency and framework upgrades, and trying to land them in one PR introduces too much change at once for safe review and validation.
Problem
The current JDK 25 migration is not isolated. It pulls in a chain of related upgrades:
- newer JavaFX requires JDK 25
- Spring upgrade is needed for JDK 25 support
- Jackson 3 upgrade is needed for the Spring upgrade path
- Spring Security 6+ upgrade is needed as part of the Spring migration
- Elasticsearch upgrade is needed for Jackson 3 compatibility
- middle-layer service objects need updates, primarily for JSON/XML serialization and deserialization
Because of these dependencies, one PR ends up touching many layers of the system at once. That makes it difficult to:
- review effectively
- test confidently
- identify regressions quickly
- merge incrementally
Proposed approach
We should split this migration into a sequence of focused efforts instead of one large PR.
low-risk Spring service migration ( alarm-logger, alarm-config-logger )
- migrate the lowest-complexity Spring service first
- use that work to validate the Spring/JDK upgrade path
- confirm compile, test, and packaging behavior before moving on
high-risk Spring service migration (save-restore)
- migrate the most complex service last
- handle:
- Jakarta namespace changes
- Spring Security updates
- Elasticsearch compatibility
- Jackson 3 integration
- serialization/deserialization updates in service-layer objects
shared dependency reconciliation ( entire phoebus project )
- reconcile shared/root Spring and related dependency versions
- remove temporary overrides introduced during the transition
- validate all Spring services together
Suggested work breakdown
This effort will likely need to be split across multiple PRs, including some combination of:
- define and document the upgrade order for JDK 25, JavaFX, Spring, Jackson, Spring Security, and Elasticsearch
- migrate low-risk Spring services first
- upgrade Spring-dependent services iteratively
- update Spring Security usage as required by the newer Spring line
- update Jackson-related serialization/deserialization code
- update Elasticsearch integration for compatibility
- update middle-layer service objects impacted by JSON/XML mapping changes
- run targeted testing after each step
- run broader regression testing before final convergence on JDK 25
Notes
A more detailed upgrade analysis already exists and can be used as the implementation plan for follow-up issues/PRs, especially for:
- Spring Boot upgrade sequencing
- save-and-restore migration details
- springdoc changes
- Spring Security API updates
- Elasticsearch/Jackson compatibility
- Jakarta namespace migration
- 主要语言
- Java
- 星标
- 130
- 派生
- 132
- 平均合并
- 2 天 11 小时
- 30 天内合并 PR
- 19
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ControlSystemStudio/phoebus 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
ControlSystemStudio/phoebus#3983 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
ControlSystemStudio/phoebus#3979 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100
ControlSystemStudio/phoebus#3962 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
ControlSystemStudio/phoebus#3865 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 52/100
ControlSystemStudio/phoebus#3980 ·
维护者通常 2 天内回复
查看 ControlSystemStudio/phoebus 的全部 Issue
相似的 Issue
-
[Bug]: REST API URL starting with "http" but no scheme (e.g. httpbin.org/get) is not given an http:// prefix可能已有人在做 @ItsDeadlyProgrammer 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
appsmithorg/appsmith#42471 · 1 条评论 ·
维护者通常 2 天内回复
-
code-maintenance
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
bug priority: medium Review effort [1-5]: 3 status: needs-triage type: bug
难度 2/5 1-3 小时 新手友好度 82/100
carlos-emr/carlos#5258 ·
维护者通常 1 天内回复
-
bug: author create/update with an unknown avatarId returns 404 instead of 400 UNKNOWN_REFERENCE可能已有人在做 @Vinu2111 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 74/100
atomityhq/blog-cms#59 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复