--- a/jdk/src/solaris/classes/sun/print/IPPPrintService.java Mon Oct 14 16:00:03 2013 +0400
+++ b/jdk/src/solaris/classes/sun/print/IPPPrintService.java Mon Oct 14 09:15:21 2013 -0700
@@ -366,6 +366,7 @@
" IPPPrintService, myURL="+
myURL+" Exception= "+
e);
+ throw new IllegalArgumentException("invalid url");
}
isCupsPrinter = isCups;
@@ -1145,6 +1146,8 @@
// REMIND: check attribute values
return (T)PDLOverrideSupported.NOT_ATTEMPTED;
}
+ } else if (category == PrinterURI.class) {
+ return (T)(new PrinterURI(myURI));
} else {
return null;
}