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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 7
    • Component/s: client-libs
    • Subcomponent:
    • Resolved In Build:
      b28
    • CPU:
      generic
    • OS:
      generic

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: