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

PingSender and PingWaiter fail to work in Applet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.2.8
    • 2.2.8
    • None

      in the stop() method tmp.interrupt() throws a SecurityException in PingSender and PingWaiter when running in an applet. I don't believe that tmp.interrupt() call is necessary because you are already assigning null to 't' and in the run() method in the while loop you are checking to see if 't' is not null. As an alternative you could put a try/catch around the interrupt to catch SecurityException and ignore the error.

      I've got the code commented out; and that has solved my issues.

            rhn-engineering-bban Bela Ban
            rstevenson555 Robert Stevenson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified