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

lookupPrintServices() does not always update the list of Windows remote printers

    Details

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

      Backports

        Description

        JDK-8153732 has provided the mechanism for updating the list of printers returned by PrintServiceLookup.lookupPrintServices(). Yet it does not work in some cases.

        Consider the following scenario. When the JVM starts, there are no remote printers. The user adds a remote printer. PrintServiceLookupProvider.RemotePrinterChangeListener triggers a call to PrintServiceLookupProvider.getRemotePrintersNames which correctly sees the new printer. At the same time, it does not update the cached list printers.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: