8167291: [TEST_BUG] javax/print/attribute/Services_getDocFl.java
authorpsadhukhan
Wed, 12 Oct 2016 23:04:39 +0530
changeset 41783 551c0584c1c1
parent 41782 673b864f2c7c
child 41784 c1e614077765
8167291: [TEST_BUG] javax/print/attribute/Services_getDocFl.java Reviewed-by: prr
jdk/test/javax/print/attribute/Services_getDocFl.java
--- a/jdk/test/javax/print/attribute/Services_getDocFl.java	Tue Oct 11 16:15:18 2016 -0700
+++ b/jdk/test/javax/print/attribute/Services_getDocFl.java	Wed Oct 12 23:04:39 2016 +0530
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -28,7 +28,7 @@
 
 /*
  * @test
- * @bug 4901243 8040139
+ * @bug 4901243 8040139 8167291
  * @summary JPG, GIF, and PNG DocFlavors (URL) should be supported if Postscript is supported.
  * @run main Services_getDocFl
 */
@@ -58,6 +58,7 @@
             pngImagesSupported = false;
             gifImagesSupported = false;
             jpgImagesSupported = false;
+            psSupported = false;
             for (int j=0; j<flavors.length; j++) {
                 System.out.println(flavors[j]);