Skip to content

Commit 3dfe7e5

Browse files
committed
Use ASCII encoding for test, Eclipse can't start with UTF-16 anymore
Fixes #2249
1 parent fef82c9 commit 3dfe7e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestWorkspaceEncodingWithJvmArgs.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*/
3030
public class TestWorkspaceEncodingWithJvmArgs {
3131

32-
private static final String CHARSET = "UTF-16";
32+
private static final String CHARSET = "ASCII";
3333

3434
@RegisterExtension
3535
SessionTestExtension sessionTestExtension = SessionTestExtension.forPlugin(PI_RESOURCES_TESTS)
@@ -38,7 +38,7 @@ public class TestWorkspaceEncodingWithJvmArgs {
3838
@BeforeEach
3939
@ExecuteInHost
4040
public void setUpSession() {
41-
sessionTestExtension.setSystemProperty("file.encoding", "UTF-16");
41+
sessionTestExtension.setSystemProperty("file.encoding", CHARSET);
4242
}
4343

4444
@Test

0 commit comments

Comments
 (0)