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

REG: ActionEvent triggered by TrayIcon always shows the same time-stamp (getWhen), win32

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b07
    • Introduced In Version:
      7
    • Resolved In Build:
      b17
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Not verified

      Description

      I am adding a tray icon to the system tray and I have added an action listener to it. Double clicking the icon triggers an action event and I am printing the time-stamp of when the action event occured, by calling getWhen(). on JDK7, tray icon always returns the same time-stamp. This is incorrect.

      This is a regression introduced in jdk7-b07 and works fine on b06. This is reproducible only on win32 and not reproducible on SolSparc.

      I have attached a sample test. Execute the sample test. You will see a tray icon added to the system tray. Double-click the tray icon a few times and check the action event printed on the console. If the same time-stamp is shown, the bug is reproduced.

        Attachments

          Activity

            People

            Assignee:
            dcherepanov Dmitry Cherepanov
            Reporter:
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: