diff --git a/resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestWorkspaceEncodingExistingWorkspace.java b/resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestWorkspaceEncodingExistingWorkspace.java index 5c5551a9c3e..c13c3108754 100644 --- a/resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestWorkspaceEncodingExistingWorkspace.java +++ b/resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestWorkspaceEncodingExistingWorkspace.java @@ -48,7 +48,7 @@ public TestWorkspaceEncodingExistingWorkspace() { } public void testExpectedEncoding1() throws Exception { - String defaultValue = System.getProperty("file.encoding"); + String defaultValue = System.getProperty("native.encoding"); IWorkspace workspace = ResourcesPlugin.getWorkspace(); // Should be system default