changeset 36861:6bbb00025fc9

8034239: PrintServiceLookup.lookupPrintServices() returns different amount of services in comparison with lpstat -v Reviewed-by: prr, jgodinez
author psadhukhan
date Wed, 09 Mar 2016 11:26:57 +0530
parents df8107032af5
children c4d9697fee63
files jdk/src/java.desktop/unix/classes/sun/print/IPPPrintService.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.desktop/unix/classes/sun/print/IPPPrintService.java	Mon Mar 07 16:38:23 2016 -0800
+++ b/jdk/src/java.desktop/unix/classes/sun/print/IPPPrintService.java	Wed Mar 09 11:26:57 2016 +0530
@@ -929,6 +929,7 @@
         DocFlavor[] flavor = new DocFlavor[2];
         flavor[0] = DocFlavor.SERVICE_FORMATTED.PAGEABLE;
         flavor[1] = DocFlavor.SERVICE_FORMATTED.PRINTABLE;
+        supportedDocFlavors = flavor;
         return flavor;
     }