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

Rename UnixPrintServiceLookup and Win32PrintServiceLookup as a platform neutral class name

    XMLWordPrintable

    Details

    • Resolved In Build:
      b38

      Backports

        Description

        java.desktop provides a service implementation of javax.print.PrintServiceLookup. Windows version has a different class name as the unix version that requires to generate a platform-dependent META-INF service configuration file.

        $ cat java.desktop/unix/classes/META-INF/services/javax.print.PrintServiceLookup
        # Provider for Java Print Service
        sun.print.UnixPrintServiceLookup

        $ cat java.desktop/windows/classes/META-INF/services/javax.print.PrintServiceLookup
        # Provider for Java Print Service
        sun.print.Win32PrintServiceLookup

        The service provider implementation class will be part of the module definition. Renaming the implementation classname to the same for all platforms will allow the module definition for java.desktop module to be platform-independent

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                prr Philip Race
                Reporter:
                mchung Mandy Chung
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: