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

Watch registry changes for remote printers update instead of polling

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Introduced In Build:
      b20
    • Introduced In Version:
      11
    • Resolved In Build:
      b15
    • OS:
      windows

      Backports

        Description

        JDK-8153732 implemented polling for remote printers.
        That bug description also mentions watching the registry for changes and links to the article which describes the method yet it does so in terms of WMI. Using WMI is not necessary to watch for the registry updates.

        It is possible to replace polling mechanism with registry change notifications. If the registry at HKCU\Printers\Connections is updated, refresh the list of print services.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                aivanov Alexey Ivanov
                Reporter:
                aivanov Alexey Ivanov
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: