ScheduledExecutorService does not work as expected in jdk7/6/5

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 7
    • Affects Version/s: 7
    • Component/s: core-libs
    • b34
    • x86
    • windows_xp
    • Verified

        ScheduledExecutorService does not work as we expect.

        The test programs schedules the execution of MyTask().
        --
        When Mytask() is scheduled in scheduleWithFixedDelay() as follows,
         -initialDelay is 0 : Execute right now
         -delay is 1000[msec] : Execute every 1000[msec]
        the MyTask() sometimes is not executed.
        Initial execution of MyTask() is not executed and scheduled MyTask() is not executed also.

        CONFIGURATION:
        OS : WindowsXP(SP2,Japanese)
        JRE/JDK : jdk7b30/jdk6u7/jdk5u16

        Note:
         The reporter says, this occus in RHEL(x86) and submitter confirms this problem occurs in Solaris10.

        FREQUENCY:
         The problem can be reproducible so often.
        The test program sometimes finishes correctly.

        EXPECTED:
         The followings message will shows up.

        ACTUAL:
         No message. The execution seems hang.

              Assignee:
              Chris Hegarty
              Reporter:
              Tadayuki Baba (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: