]
Bela Ban reassigned JGRP-892:
-----------------------------
Assignee: Vladimir Blagojevic (was: Bela Ban)
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, 2.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: