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

Reduce minRefreshTime for updating remote printer list on Windows

    XMLWordPrintable

    Details

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

      Backports

        Description

        During the code review for JDK-8221263, it came up that there's a long waiting time between updates of remote printer list on Windows. [1]

        The suggestion [2] is to reduce the minRefreshTime to 2 minutes and to keep the default polling interval of 4 minutes.

        The test will set sun.java2d.print.minRefreshTime=2 property and each refresh cycle will be only 2 minutes. So the result whether the list of printers is updated or not will be available sooner.


        [1] http://mail.openjdk.java.net/pipermail/2d-dev/2019-March/009988.html
        [2] http://mail.openjdk.java.net/pipermail/2d-dev/2019-April/009991.html

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: