Uploaded image for project: 'JikesRVM'
  1. JikesRVM
  2. RVM-330

Thread.sleep() does not handle interrupts correctly

    Details

      Description

      Thread.sleep() fails to clear the interrupted status flag when it is interrupted. Furthermore, if the interrupt occurs before entering the sleep, the thread is left in an inconsistent state.

      The included patch fixes both problems.

      STATEMENT OF ORIGIN FOR A SINGLE CONTRIBUTOR
      I, Yuval Yarom:

      (a) represent that either:

      (i) I am the only author and owner of the contributed software
      (described as/entitled fixing runtime package isolation),
      which was neither derived nor copied from any other software,
      or

      (ii) that any exception to (i) is software which was obtained under the
      CPL (Common Public License),

      and

      (b) hereby agree to license this contributed software under the CPL.

        Attachments

          Activity

            People

            • Assignee:
              ianrogers Ian Rogers
              Reporter:
              javali Yuval Yarom
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: