Skip to content

Commit 259b7d6

Browse files
committed
Clone system properties on access in default config
1 parent 15aa30e commit 259b7d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/github/dockerjava/core/DefaultDockerClientConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ private static Properties overrideDockerPropertiesWithSystemProperties(Propertie
188188
}
189189

190190
public static Builder createDefaultConfigBuilder() {
191-
return createDefaultConfigBuilder(System.getenv(), System.getProperties());
191+
return createDefaultConfigBuilder(System.getenv(), (Properties) System.getProperties().clone());
192192
}
193193

194194
/**

0 commit comments

Comments
 (0)