This forum has been archived. Please start a new discussion on GitHub.

Documentation bug: Timer and Timer Task

The current Timer and TimerTask documentation in the Ice Manual contains some errors with respect to the current version of Ice (3.4.2).
  • The fourth and fifth paragraphs from the bottom are incorrect with respect to once-only tasks. The code appears to treat once-only tasks in a manner similar to repeated tasks; calling cancel() on a once-only task does indeed prevent it from executing and will return true if it succeeds in doing so.
  • The last paragraph indicates that calling schedule or scheduleRepeated on a destroyed timer does nothing, yet both these functions throw an IllegalArgumentException if this occurs.



  • benoit
    benoit Rennes, France
    Hi Brent,

    Thanks for the report, I've fixed the documentation!