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

REG: ActionEvent.getWhen() returns 0 always for TextField on XToolkit

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b79
    • CPU:
      sparc
    • OS:
      solaris_10
    • Verification:
      Verified

      Description

      I have a text field and a button on a frame. I am pressing 'ENTER' in the text field and text field triggers ActionEvent. But ActionEvent.getWhen() returns 0 always. This should actually return the actual time stamp of the corresponding input event.

      This is reproducible only on XToolkit since Mustang. This is not reproducible on XAWT/Motif with Tiger-FCS. Hence it is a regression introduced in Mustang. Works fine with Motif on Mustang. I reproduced it with SolSparc10-JDS - Mustang b59.

      I have attached a sample test. Execute the sample test. You would get a frame with a text field. Press 'ENTER' inside the text field. Check the console. If getWhen() returns 0, the bug is reproduced.

        Attachments

          Activity

            People

            Assignee:
            dav Andrei Dmitriev (Inactive)
            Reporter:
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: