Skip to content
New issue

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

Ensure the product *.ini is loaded and saved using the native encoding #482

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

merks
Copy link
Contributor

@merks merks commented Mar 15, 2024

The native launcher executable reads the product *.ini, e.g., eclipse.ini, using the native system encoding. Currently the *.ini is loaded and saved in the launched Java application using the system default encoding, but in Java 21 the default encoding is always UTF-8 so we need to be more careful to always use the native encoding regardless of the default encoding.

Copy link

github-actions bot commented Mar 15, 2024

Test Results

    9 files  ±0      9 suites  ±0   30m 12s ⏱️ +48s
2 184 tests ±0  2 180 ✅ ±0   4 💤 ±0  0 ❌ ±0 
6 642 runs  ±0  6 631 ✅ ±0  11 💤 ±0  0 ❌ ±0 

Results for commit c509bff. ± Comparison against base commit 041c27e.

♻️ This comment has been updated with latest results.

@merks merks force-pushed the pr-ini-encoding branch 3 times, most recently from 9aad105 to ef450e7 Compare March 15, 2024 10:42
The native launcher executable reads the product *.ini, e.g.,
eclipse.ini, using the native system encoding. Currently the *.ini is
loaded and saved in the launched Java application using the system
default encoding, but in Java 21 the default encoding is always UTF-8 so
we need to be more careful to always use the native encoding regardless
of the default encoding.
Copy link
Member

@laeubi laeubi left a comment

Choose a reason for hiding this comment

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

Looks good.

@merks merks merged commit e0ce87e into eclipse-equinox:master Mar 15, 2024
10 of 11 checks passed
@merks merks deleted the pr-ini-encoding branch March 15, 2024 17:04
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