Uploaded image for project: 'River (Retired)'
  1. River (Retired)
  2. RIVER-309

[patch] fix impossible conditional in CommitJob

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • com_sun_jini_mahalo
    • None
    • NA

    Description

      'give up and quit' exit condition is

      if (attempt(who) > maxtries)

      { return new Integer(COMMITTED); }

      where maxtries is Integer.MAX_VALUE.

      As this test will never be true, made it >=

      – agreed highly unlikely

      Attachments

        1. impossiblecond.diff
          0.5 kB
          David Brosius

        Activity

          People

            pfirmst Peter Firmstone
            dbrosius David Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: