Skip to content

修复“不自动添加 Java 虚拟机优化参数”选项未保存至配置文件的问题#4583

Merged
Glavo merged 1 commit intoHMCL-dev:mainfrom
Glavo:save-options
Oct 2, 2025
Merged

修复“不自动添加 Java 虚拟机优化参数”选项未保存至配置文件的问题#4583
Glavo merged 1 commit intoHMCL-dev:mainfrom
Glavo:save-options

Conversation

@Glavo
Copy link
Copy Markdown
Member

@Glavo Glavo commented Oct 2, 2025

No description provided.

@Glavo Glavo requested a review from Copilot October 2, 2025 12:44
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an issue where the "noOptimizingJVMArgs" setting was not being persisted to the configuration file. The change ensures that the Java virtual machine optimization parameter setting is properly saved and loaded.

  • Adds serialization for the noOptimizingJVMArgs property in the JSON serializer
  • Adds deserialization for the noOptimizingJVMArgs property in the JSON deserializer

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Glavo Glavo changed the title 修复“不自动添加 Java 虚拟机优化参数”未保存至配置文件的问题 修复“不自动添加 Java 虚拟机优化参数”选项未保存至配置文件的问题 Oct 2, 2025
@Glavo Glavo merged commit 5abc1f1 into HMCL-dev:main Oct 2, 2025
2 checks passed
@Glavo Glavo deleted the save-options branch October 2, 2025 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants