[
https://jira.jboss.org/jira/browse/JGRP-892?page=com.atlassian.jira.plugi...
]
Vladimir Blagojevic resolved JGRP-892.
--------------------------------------
Fix Version/s: (was: 2.8)
Resolution: Done
Resolved for 2.6.8 and 2.7.2:
1.55.2.5 +1 -1 JGroups/src/org/jgroups/protocols/pbcast/STREAMING_STATE_TRANSFER.java
1.83.2.7 +3 -8 JGroups/src/org/jgroups/protocols/FD_SOCK.java
1.62.2.4 +3 -1 JGroups/src/org/jgroups/blocks/ConnectionTable.java
1.137.2.9 +26 -17 JGroups/src/org/jgroups/util/Util.java
ConnectionMap.createServerSocket(): throw an exception if socket
cannot be created
----------------------------------------------------------------------------------
Key: JGRP-892
URL:
https://jira.jboss.org/jira/browse/JGRP-892
Project: JGroups
Issue Type: Task
Affects Versions: 2.6.7
Reporter: Bela Ban
Assignee: Vladimir Blagojevic
Priority: Minor
Fix For: 2.6.8
Currently, this method returns null, and unless the caller checks for null, we'll
have an NPE later.
SOLUTION: throw an exception if the socket cannot be created. TODO: check
Util.createServerSocket()/createSocket()/createDatagramSocket() as well and see whether we
need to throw an exception there, too.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira