]
Tristan Tarrant updated ISPN-6066:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 8.2.0.Alpha1
8.2.0.Final
Resolution: Done
HotRodServerConfigurationBuilder.build() mutates the builder
------------------------------------------------------------
Key: ISPN-6066
URL:
https://issues.jboss.org/browse/ISPN-6066
Project: Infinispan
Issue Type: Bug
Components: Server
Affects Versions: 8.1.0.Final
Reporter: Radim Vansa
Assignee: Radim Vansa
Fix For: 8.2.0.Alpha1, 8.2.0.Final
When HotRodServerConfigurationBuilder.build() calls validate(), and proxyHost/proxyPort
is not set, it sets its value. That causes problems if you call build() once, (throw away
the configuration) and reset host/port to different value - proxyHost/proxyPort is already
set, although the user thinks that it's at its defaults (the same as host/port).