]
Radim Vansa updated ISPN-6066:
------------------------------
Component/s: Server
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
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).