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

[TEST BUG] [macosx] PrintServiceLookup.lookupPrintServices doesn't work properly since jdk8b105

    Details

    • Subcomponent:
      2d
    • Introduced In Build:
      b105
    • Introduced In Version:
      8
    • Resolved In Build:
      b150
    • CPU:
      generic
    • OS:
      os_x

      Description

      regression test javax/print/PrintServiceLookup/GetPrintServices.java failed against jdk8 b102-b104 with NPE for any printer and it failed since jdk8b105 with NPE if there is a printer with a space in the name; test works fine on windows with jdk8b108 and on macos with jdk7u40b43

      according mentioned builds it may be caused by fixes for JDK-8016343 (fixed in b102) and JDK-8022241 (fixed in b105)

      some debug info about returned printer name:
      b105 (test failed, first printer is ok, second printer with a space in the name is not found)
      DEBUG service.getName() is spb04p07
      DEBUG serviceByName (PrintServiceLookup.lookupPrintServices) is IPP Printer : spb04p07
      DEBUG service.getName() is XEROX WorkCentre 4250 (Spb04p12)
      DEBUG serviceByName (PrintServiceLookup.lookupPrintServices) is null

      b102 (failed on any printer name):
      DEBUG service.getName() is spb04p07
      DEBUG serviceByName (PrintServiceLookup.lookupPrintServices) is null

      b101 (last passed):
      DEBUG service.getName() is spb04p07__8c_c9_db_
      DEBUG serviceByName (PrintServiceLookup.lookupPrintServices) is IPP Printer : spb04p07__8c_c9_db_
      DEBUG service.getName() is XEROX_WorkCentre_4250__Spb04p12_
      DEBUG serviceByName (PrintServiceLookup.lookupPrintServices) is IPP Printer : XEROX_WorkCentre_4250__Spb04p12_

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psadhukhan Prasanta Sadhukhan
                Reporter:
                vakulova Vera Akulova (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: