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

InputEvent.getWhen() (and similar) does not specify timebase of timestamp

XMLWordPrintable

    • b28
    • generic
    • generic

      Methods such has InputEvent.getWhen() do not define the timebase for the timestamp that is returned. These should probably refer to System.currentTimeMillis().

      The affected APIs are (at least):
      ActionEvent.getWhen()
      InputEvent.getWhen()
      InputMethodEvent.getWhen()
      InvocationEvent.getWhen()
      As well as corresponding constructors for each class that take a 'when' param.

      Please see suggested fix.

      ###@###.### 2004-12-10 23:49:16 GMT

            dav Andrei Dmitriev (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: