Skip to content

Commit 4538789

Browse files
committed
Fix #665 autoHotswap and disabledPlugins does not work when using external hotswap-agent.properties
1 parent 4f0d140 commit 4538789

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

hotswap-agent-core/src/main/java/org/hotswap/agent/config/PluginConfiguration.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ private void loadConfigurationFile() {
9898
if (externalPropertiesFile != null) {
9999
configurationURL = resourceNameToURL(externalPropertiesFile);
100100
properties.load(configurationURL.openStream());
101+
containsPropertyFileDirectly = true;
102+
properties.putAll(System.getProperties());
101103
return;
102104
}
103105

0 commit comments

Comments
 (0)