-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b38
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084158 | emb-9 | Philip Race | P3 | Resolved | Fixed | team |
JDK-8225183 | openjdk8u222 | Zhengyu Gu | P3 | Resolved | Fixed | b05 |
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
$ 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
- backported by
-
JDK-8084158 Rename UnixPrintServiceLookup and Win32PrintServiceLookup as a platform neutral class name
-
- Resolved
-
-
JDK-8225183 Rename UnixPrintServiceLookup and Win32PrintServiceLookup as a platform neutral class name
-
- Resolved
-