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

javax.management.timer.Timer doc inconsistent about what happens for Date in the past

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • core-svc
    • b43
    • generic
    • generic
    • Verified

      Prior to version 1.2 of the JMX Specification, the Timer service was defined to throw an exception if a notification was scheduled for a time in the past. Starting from version 1.2, the more logical behaviour of sending the notification immediately in this case was introduced. However, some of the documentation for javax.management.timer.Timer still reflects the old behaviour. In particular, the Notes in the class documentation include one that says (in so far as it can be deciphered) that past-time notifications will be ignored, and the @throws documentation for the IllegalArgumentException says it is thrown for a past date.
      ###@###.### 2005-03-02 19:09:58 GMT

            lmalvent Luis-Miguel Alventosa (Inactive)
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: