We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.io.File
java.nio.Path
将 HMCL 内声明 java.io.File 的代码更改为 java.nio.Path
java.io.File 的方法在出现错误时返回的仅为一个 boolean,导致日志中无法判断详细信息。更改为 Path 后能直接将 IOException 输出到日志,便于诊断
boolean
Path
IOException
The text was updated successfully, but these errors were encountered:
No branches or pull requests
描述 | Description
将 HMCL 内声明
java.io.File
的代码更改为java.nio.Path
原因 | Reason
java.io.File
的方法在出现错误时返回的仅为一个boolean
,导致日志中无法判断详细信息。更改为Path
后能直接将IOException
输出到日志,便于诊断The text was updated successfully, but these errors were encountered: