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

Interrupted exceptions are generated in the caller of Thread.interrupt instead of by the thread throwing the interrupted exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 2.9.0, 2.9.0.1
    • Fix Version/s: 2.9.2
    • Labels:
      None
    • Environment:

      All

      Description

      An interrupted method should throw an exception with the stack trace populated from the thread that is interrupted, such as:

      java.lang.InterruptedException: sleep interrupted
      at java.lang.Thread.sleep(Native Method)
      at test$1.run(test.java:5)

      Our interrupted exceptions are currently generated in the context of the thread interrupting the others execution.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: