< prev index next >

src/java.desktop/unix/classes/sun/print/IPPPrintService.java

Print this page

        

@@ -933,11 +933,11 @@
     }
 
 
     public boolean isDocFlavorSupported(DocFlavor flavor) {
         if (supportedDocFlavors == null) {
-            getSupportedDocFlavors();
+            supportedDocFlavors = getSupportedDocFlavors();
         }
         if (supportedDocFlavors != null) {
             for (int f=0; f<supportedDocFlavors.length; f++) {
                 if (flavor.equals(supportedDocFlavors[f])) {
                     return true;
< prev index next >