--- old/src/java.desktop/unix/classes/sun/print/IPPPrintService.java 2017-01-18 12:04:19.697062000 +0530 +++ new/src/java.desktop/unix/classes/sun/print/IPPPrintService.java 2017-01-18 12:04:19.452940000 +0530 @@ -59,6 +59,7 @@ import java.util.Iterator; import java.util.HashSet; +import java.util.Map; public class IPPPrintService implements PrintService, SunPrinterJobService { @@ -1765,6 +1766,19 @@ if (responseMap != null && responseMap.length > 0) { getAttMap = responseMap[0]; + // If there is extra hashmap created due to duplicate + // key/attribute present in IPPresponse, then use that + // map too by appending to getAttMap after removing the + // duplicate key/value + if (responseMap.length > 1) { + for (int i = 1; i < responseMap.length; i++) { + for (Map.Entry entry : responseMap[i].entrySet()) { + if (!getAttMap.containsKey(entry.getValue())) { + getAttMap.put(entry.getKey(), entry.getValue()); + } + } + } + } } } else { debug_println(debugPrefix+"opGetAttributes - null input stream");