Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-892

ConnectionMap.createServerSocket(): throw an exception if socket cannot be created

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Minor
    • 2.6.8
    • 2.6.7, 3.0.10
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              vblagoje Vladimir Blagojevic (Inactive)
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: