Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6811570

Thread.sleep returns early

XMLWordPrintable

    • sparc
    • solaris

      This issue was seen with awt tests on a couple of Solaris systems - one is a solaris-sparc system and another is solaris-x86. On solaris-sparc, it wasn't consistently reproducible. Attached is a testcase used to reproduce the issue.

      The testcase consists of two threads - one which waits for a certain duration before timing out and the other thread does some ui operations. It is seen that the first thread times out before the specified duration is elapsed - without any exceptions.

            Unassigned Unassigned
            gramachasunw Girish Ramachandran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: