Repository navigation
feat(java): native compiler targets and local JAR settings - #16
Merged
Merged
Conversation
1lck
marked this pull request as ready for review
November 15, 2026 17:21
This was referenced Nov 16, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue / Linked issue
Refs 1lck/Lithe-IDEA#1832、1lck/Lithe-IDEA#519;宿主配套 1lck/Lithe-IDEA#1985,Core Lithe-IDEA/Lithe-core-rust#57、#58、#59。
PR 类型 / Type
改动说明 / What changes
普通 Java 和 Eclipse 项目可读取真实 JDT 设置,保存项目默认及模块目标,维护 referencedLibraries/.classpath,并在保存后刷新 JDT。JSONC、properties 和 XML 保留无关字段、注释与来源基线;Maven/Gradle 管理的项目留给各自插件。
新增编译器页和语言/构建工具页中的本地 JAR 入口、插件自己的中英翻译和文档;采用 sourceSettings 0,通过宿主确认、受保护暂存和原子发布,运行时不修改插件包。JDK 的全局登记与默认值由宿主统一提供,项目可单独覆盖。构建运行时依赖显式声明候选与版本,失效固定值不能回退到其他 JDK。
版本按新增宿主能力要求升主版本;请先升级支持 sourceSettings 0 的正式桌面版,旧宿主保留上一兼容插件。发布流程先生成 Draft Release,验证下载物后再正式发布。
范围检查 / Scope checks
验证 / Verification
真实随包 JDT 对普通/Eclipse 项目均验证有效设置、class major 52、外部 JAR classpath 与运行、包哈希不变;Rust workspace/clippy、SDK lock 和打包测试通过。
Windows 11 ARM64 来宾通过系统 x64 仿真运行 Node 24、JDK 21 与 Windows 原生插件包;实际编译、模块 class major 52/55(JDT 为 52)、带空格的外部 JAR 运行均通过,HTML/JUnit 计时已保存。Java Support 后端的本机验证为 GNU x64,正式归档另由 Windows MSVC 构建并检查依赖。全部本次任务进程已确认退出,临时目录已清理,虚拟机已正常关机并确认 stopped。
最终 CI 全绿。未修改 Windows ARM64 支持声明;当前桌面支持 Windows x64。没有把无头检查声称为安装/签名/更新全链路验收。