HTTPBinding constructor registers itself before it is build up
JMEDS is a lightweight, modular extendable Java Framework for DPWS.
Status: Beta
Brought to you by:
ilueck
This bug report relates to beta 10 (not available in the milestone list).
In the HTTPBinding constructor addAddressChangeListener() is called before the port member is set. This results to wrong debug logging output. The given logged port is -1 instead of the given port.
Fix: move the call to addAddressChangeListener() to the end of the constructor, where all members are set correctly.
Hi,
this will be fixed in the next release!
Thanks and best regards,
Michael