public class sun.print.IPPPrintService implements javax.print.PrintService, sun.print.SunPrinterJobService
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.print.IPPPrintService
super_class: java.lang.Object
{
public static final boolean debugPrint;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.lang.String debugPrefix;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "IPPPrintService>> "
private static final java.lang.String FORCE_PIPE_PROP;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "sun.print.ippdebug"
private java.lang.String printer;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.net.URI myURI;
descriptor: Ljava/net/URI;
flags: (0x0002) ACC_PRIVATE
private java.net.URL myURL;
descriptor: Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
private transient sun.print.ServiceNotifier notifier;
descriptor: Lsun/print/ServiceNotifier;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private static int MAXCOPIES;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static short MAX_ATTRIBUTE_LENGTH;
descriptor: S
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private sun.print.CUPSPrinter cps;
descriptor: Lsun/print/CUPSPrinter;
flags: (0x0002) ACC_PRIVATE
private java.net.HttpURLConnection urlConnection;
descriptor: Ljava/net/HttpURLConnection;
flags: (0x0002) ACC_PRIVATE
private javax.print.DocFlavor[] supportedDocFlavors;
descriptor: [Ljavax/print/DocFlavor;
flags: (0x0002) ACC_PRIVATE
private java.lang.Class<?>[] supportedCats;
descriptor: [Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: [Ljava/lang/Class<*>;
private javax.print.attribute.standard.MediaTray[] mediaTrays;
descriptor: [Ljavax/print/attribute/standard/MediaTray;
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.standard.MediaSizeName[] mediaSizeNames;
descriptor: [Ljavax/print/attribute/standard/MediaSizeName;
flags: (0x0002) ACC_PRIVATE
private sun.print.CustomMediaSizeName[] customMediaSizeNames;
descriptor: [Lsun/print/CustomMediaSizeName;
flags: (0x0002) ACC_PRIVATE
private int defaultMediaIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int[] rawResolutions;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.standard.PrinterResolution[] printerResolutions;
descriptor: [Ljavax/print/attribute/standard/PrinterResolution;
flags: (0x0002) ACC_PRIVATE
private boolean isCupsPrinter;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean init;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean isPS;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private java.util.HashMap<java.lang.String, sun.print.AttributeClass> getAttMap;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashMap<Ljava/lang/String;Lsun/print/AttributeClass;>;
private boolean pngImagesAdded;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean gifImagesAdded;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean jpgImagesAdded;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static final byte STATUSCODE_SUCCESS;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final byte GRPTAG_OP_ATTRIBUTES;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final byte GRPTAG_JOB_ATTRIBUTES;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final byte GRPTAG_PRINTER_ATTRIBUTES;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final byte GRPTAG_END_ATTRIBUTES;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final java.lang.String OP_GET_ATTRIBUTES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "000B"
public static final java.lang.String OP_CUPS_GET_DEFAULT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "4001"
public static final java.lang.String OP_CUPS_GET_PRINTERS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "4002"
private static java.lang.Object[] printReqAttribDefault;
descriptor: [Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.Object[][] serviceAttributes;
descriptor: [[Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.print.DocFlavor[] appPDF;
descriptor: [Ljavax/print/DocFlavor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.print.DocFlavor[] appPostScript;
descriptor: [Ljavax/print/DocFlavor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.print.DocFlavor[] appOctetStream;
descriptor: [Ljavax/print/DocFlavor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.print.DocFlavor[] textPlain;
descriptor: [Ljavax/print/DocFlavor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.print.DocFlavor[] textPlainHost;
descriptor: [Ljavax/print/DocFlavor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.print.DocFlavor[] imageJPG;
descriptor: [Ljavax/print/DocFlavor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.print.DocFlavor[] imageGIF;
descriptor: [Ljavax/print/DocFlavor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.print.DocFlavor[] imagePNG;
descriptor: [Ljavax/print/DocFlavor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.print.DocFlavor[] textHtml;
descriptor: [Ljavax/print/DocFlavor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.print.DocFlavor[] textHtmlHost;
descriptor: [Ljavax/print/DocFlavor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.print.DocFlavor[] appPCL;
descriptor: [Ljavax/print/DocFlavor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.Object[] allDocFlavors;
descriptor: [Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=1, args_size=0
0: new sun.security.action.GetPropertyAction
dup
ldc "sun.print.ippdebug"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 2: ldc "true"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
putstatic sun.print.IPPPrintService.debugPrint:Z
end local 0 3: sipush 1000
putstatic sun.print.IPPPrintService.MAXCOPIES:I
4: sipush 255
putstatic sun.print.IPPPrintService.MAX_ATTRIBUTE_LENGTH:S
5: bipush 12
anewarray java.lang.Object
dup
iconst_0
6: getstatic javax.print.attribute.standard.Chromaticity.COLOR:Ljavax/print/attribute/standard/Chromaticity;
aastore
dup
iconst_1
7: new javax.print.attribute.standard.Copies
dup
iconst_1
invokespecial javax.print.attribute.standard.Copies.<init>:(I)V
aastore
dup
iconst_2
8: getstatic javax.print.attribute.standard.Fidelity.FIDELITY_FALSE:Ljavax/print/attribute/standard/Fidelity;
aastore
dup
iconst_3
9: getstatic javax.print.attribute.standard.Finishings.NONE:Ljavax/print/attribute/standard/Finishings;
aastore
dup
iconst_4
10: new javax.print.attribute.standard.JobName
dup
ldc ""
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokespecial javax.print.attribute.standard.JobName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
aastore
dup
iconst_5
11: getstatic javax.print.attribute.standard.JobSheets.NONE:Ljavax/print/attribute/standard/JobSheets;
aastore
dup
bipush 6
12: getstatic javax.print.attribute.standard.MediaSizeName.NA_LETTER:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 7
13: new javax.print.attribute.standard.NumberUp
dup
iconst_1
invokespecial javax.print.attribute.standard.NumberUp.<init>:(I)V
aastore
dup
bipush 8
14: getstatic javax.print.attribute.standard.OrientationRequested.PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
aastore
dup
bipush 9
15: new javax.print.attribute.standard.PageRanges
dup
iconst_1
invokespecial javax.print.attribute.standard.PageRanges.<init>:(I)V
aastore
dup
bipush 10
16: new javax.print.attribute.standard.RequestingUserName
dup
ldc ""
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokespecial javax.print.attribute.standard.RequestingUserName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
aastore
dup
bipush 11
17: getstatic javax.print.attribute.standard.Sides.ONE_SIDED:Ljavax/print/attribute/standard/Sides;
aastore
18: putstatic sun.print.IPPPrintService.printReqAttribDefault:[Ljava/lang/Object;
19: bipush 16
anewarray java.lang.Object[]
dup
iconst_0
20: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Ljavax/print/attribute/standard/ColorSupported;
aastore
dup
iconst_1
ldc "color-supported"
aastore
aastore
dup
iconst_1
21: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Ljavax/print/attribute/standard/PagesPerMinute;
aastore
dup
iconst_1
ldc "pages-per-minute"
aastore
aastore
dup
iconst_2
22: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Ljavax/print/attribute/standard/PagesPerMinuteColor;
aastore
dup
iconst_1
ldc "pages-per-minute-color"
aastore
aastore
dup
iconst_3
23: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Ljavax/print/attribute/standard/PDLOverrideSupported;
aastore
dup
iconst_1
ldc "pdl-override-supported"
aastore
aastore
dup
iconst_4
24: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Ljavax/print/attribute/standard/PrinterInfo;
aastore
dup
iconst_1
ldc "printer-info"
aastore
aastore
dup
iconst_5
25: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
aastore
dup
iconst_1
ldc "printer-is-accepting-jobs"
aastore
aastore
dup
bipush 6
26: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Ljavax/print/attribute/standard/PrinterLocation;
aastore
dup
iconst_1
ldc "printer-location"
aastore
aastore
dup
bipush 7
27: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Ljavax/print/attribute/standard/PrinterMakeAndModel;
aastore
dup
iconst_1
ldc "printer-make-and-model"
aastore
aastore
dup
bipush 8
28: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Ljavax/print/attribute/standard/PrinterMessageFromOperator;
aastore
dup
iconst_1
ldc "printer-message-from-operator"
aastore
aastore
dup
bipush 9
29: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Ljavax/print/attribute/standard/PrinterMoreInfo;
aastore
dup
iconst_1
ldc "printer-more-info"
aastore
aastore
dup
bipush 10
30: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Ljavax/print/attribute/standard/PrinterMoreInfoManufacturer;
aastore
dup
iconst_1
ldc "printer-more-info-manufacturer"
aastore
aastore
dup
bipush 11
31: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Ljavax/print/attribute/standard/PrinterName;
aastore
dup
iconst_1
ldc "printer-name"
aastore
aastore
dup
bipush 12
32: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Ljavax/print/attribute/standard/PrinterState;
aastore
dup
iconst_1
ldc "printer-state"
aastore
aastore
dup
bipush 13
33: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Ljavax/print/attribute/standard/PrinterStateReasons;
aastore
dup
iconst_1
ldc "printer-state-reasons"
aastore
aastore
dup
bipush 14
34: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Ljavax/print/attribute/standard/PrinterURI;
aastore
dup
iconst_1
ldc "printer-uri"
aastore
aastore
dup
bipush 15
35: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Ljavax/print/attribute/standard/QueuedJobCount;
aastore
dup
iconst_1
ldc "queued-job-count"
aastore
aastore
36: putstatic sun.print.IPPPrintService.serviceAttributes:[[Ljava/lang/Object;
37: iconst_3
anewarray javax.print.DocFlavor
dup
iconst_0
38: getstatic javax.print.DocFlavor$BYTE_ARRAY.PDF:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_1
39: getstatic javax.print.DocFlavor$INPUT_STREAM.PDF:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
iconst_2
40: getstatic javax.print.DocFlavor$URL.PDF:Ljavax/print/DocFlavor$URL;
aastore
41: putstatic sun.print.IPPPrintService.appPDF:[Ljavax/print/DocFlavor;
42: iconst_3
anewarray javax.print.DocFlavor
dup
iconst_0
43: getstatic javax.print.DocFlavor$BYTE_ARRAY.POSTSCRIPT:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_1
44: getstatic javax.print.DocFlavor$INPUT_STREAM.POSTSCRIPT:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
iconst_2
45: getstatic javax.print.DocFlavor$URL.POSTSCRIPT:Ljavax/print/DocFlavor$URL;
aastore
46: putstatic sun.print.IPPPrintService.appPostScript:[Ljavax/print/DocFlavor;
47: iconst_3
anewarray javax.print.DocFlavor
dup
iconst_0
48: getstatic javax.print.DocFlavor$BYTE_ARRAY.AUTOSENSE:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_1
49: getstatic javax.print.DocFlavor$INPUT_STREAM.AUTOSENSE:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
iconst_2
50: getstatic javax.print.DocFlavor$URL.AUTOSENSE:Ljavax/print/DocFlavor$URL;
aastore
51: putstatic sun.print.IPPPrintService.appOctetStream:[Ljavax/print/DocFlavor;
52: bipush 18
anewarray javax.print.DocFlavor
dup
iconst_0
53: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_PLAIN_UTF_8:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_1
54: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_PLAIN_UTF_16:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_2
55: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_PLAIN_UTF_16BE:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_3
56: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_PLAIN_UTF_16LE:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_4
57: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_PLAIN_US_ASCII:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_5
58: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_PLAIN_UTF_8:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 6
59: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_PLAIN_UTF_16:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 7
60: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_PLAIN_UTF_16BE:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 8
61: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_PLAIN_UTF_16LE:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 9
62: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_PLAIN_US_ASCII:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 10
63: getstatic javax.print.DocFlavor$URL.TEXT_PLAIN_UTF_8:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 11
64: getstatic javax.print.DocFlavor$URL.TEXT_PLAIN_UTF_16:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 12
65: getstatic javax.print.DocFlavor$URL.TEXT_PLAIN_UTF_16BE:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 13
66: getstatic javax.print.DocFlavor$URL.TEXT_PLAIN_UTF_16LE:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 14
67: getstatic javax.print.DocFlavor$URL.TEXT_PLAIN_US_ASCII:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 15
68: getstatic javax.print.DocFlavor$CHAR_ARRAY.TEXT_PLAIN:Ljavax/print/DocFlavor$CHAR_ARRAY;
aastore
dup
bipush 16
69: getstatic javax.print.DocFlavor$STRING.TEXT_PLAIN:Ljavax/print/DocFlavor$STRING;
aastore
dup
bipush 17
70: getstatic javax.print.DocFlavor$READER.TEXT_PLAIN:Ljavax/print/DocFlavor$READER;
aastore
71: putstatic sun.print.IPPPrintService.textPlain:[Ljavax/print/DocFlavor;
72: iconst_3
anewarray javax.print.DocFlavor
dup
iconst_0
73: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_PLAIN_HOST:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_1
74: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_PLAIN_HOST:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
iconst_2
75: getstatic javax.print.DocFlavor$URL.TEXT_PLAIN_HOST:Ljavax/print/DocFlavor$URL;
aastore
76: putstatic sun.print.IPPPrintService.textPlainHost:[Ljavax/print/DocFlavor;
77: iconst_3
anewarray javax.print.DocFlavor
dup
iconst_0
78: getstatic javax.print.DocFlavor$BYTE_ARRAY.JPEG:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_1
79: getstatic javax.print.DocFlavor$INPUT_STREAM.JPEG:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
iconst_2
80: getstatic javax.print.DocFlavor$URL.JPEG:Ljavax/print/DocFlavor$URL;
aastore
81: putstatic sun.print.IPPPrintService.imageJPG:[Ljavax/print/DocFlavor;
82: iconst_3
anewarray javax.print.DocFlavor
dup
iconst_0
83: getstatic javax.print.DocFlavor$BYTE_ARRAY.GIF:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_1
84: getstatic javax.print.DocFlavor$INPUT_STREAM.GIF:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
iconst_2
85: getstatic javax.print.DocFlavor$URL.GIF:Ljavax/print/DocFlavor$URL;
aastore
86: putstatic sun.print.IPPPrintService.imageGIF:[Ljavax/print/DocFlavor;
87: iconst_3
anewarray javax.print.DocFlavor
dup
iconst_0
88: getstatic javax.print.DocFlavor$BYTE_ARRAY.PNG:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_1
89: getstatic javax.print.DocFlavor$INPUT_STREAM.PNG:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
iconst_2
90: getstatic javax.print.DocFlavor$URL.PNG:Ljavax/print/DocFlavor$URL;
aastore
91: putstatic sun.print.IPPPrintService.imagePNG:[Ljavax/print/DocFlavor;
92: bipush 15
anewarray javax.print.DocFlavor
dup
iconst_0
93: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_HTML_UTF_8:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_1
94: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_HTML_UTF_16:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_2
95: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_HTML_UTF_16BE:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_3
96: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_HTML_UTF_16LE:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_4
97: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_HTML_US_ASCII:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_5
98: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_HTML_UTF_8:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 6
99: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_HTML_UTF_16:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 7
100: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_HTML_UTF_16BE:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 8
101: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_HTML_UTF_16LE:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 9
102: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_HTML_US_ASCII:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 10
103: getstatic javax.print.DocFlavor$URL.TEXT_HTML_UTF_8:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 11
104: getstatic javax.print.DocFlavor$URL.TEXT_HTML_UTF_16:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 12
105: getstatic javax.print.DocFlavor$URL.TEXT_HTML_UTF_16BE:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 13
106: getstatic javax.print.DocFlavor$URL.TEXT_HTML_UTF_16LE:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 14
107: getstatic javax.print.DocFlavor$URL.TEXT_HTML_US_ASCII:Ljavax/print/DocFlavor$URL;
aastore
108: putstatic sun.print.IPPPrintService.textHtml:[Ljavax/print/DocFlavor;
109: iconst_3
anewarray javax.print.DocFlavor
dup
iconst_0
110: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_HTML_HOST:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_1
111: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_HTML_HOST:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
iconst_2
112: getstatic javax.print.DocFlavor$URL.TEXT_HTML_HOST:Ljavax/print/DocFlavor$URL;
aastore
113: putstatic sun.print.IPPPrintService.textHtmlHost:[Ljavax/print/DocFlavor;
114: iconst_3
anewarray javax.print.DocFlavor
dup
iconst_0
115: getstatic javax.print.DocFlavor$BYTE_ARRAY.PCL:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_1
116: getstatic javax.print.DocFlavor$INPUT_STREAM.PCL:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
iconst_2
117: getstatic javax.print.DocFlavor$URL.PCL:Ljavax/print/DocFlavor$URL;
aastore
118: putstatic sun.print.IPPPrintService.appPCL:[Ljavax/print/DocFlavor;
119: bipush 9
anewarray java.lang.Object
dup
iconst_0
120: getstatic sun.print.IPPPrintService.appPDF:[Ljavax/print/DocFlavor;
aastore
dup
iconst_1
getstatic sun.print.IPPPrintService.appPostScript:[Ljavax/print/DocFlavor;
aastore
dup
iconst_2
getstatic sun.print.IPPPrintService.appOctetStream:[Ljavax/print/DocFlavor;
aastore
dup
iconst_3
121: getstatic sun.print.IPPPrintService.textPlain:[Ljavax/print/DocFlavor;
aastore
dup
iconst_4
getstatic sun.print.IPPPrintService.imageJPG:[Ljavax/print/DocFlavor;
aastore
dup
iconst_5
getstatic sun.print.IPPPrintService.imageGIF:[Ljavax/print/DocFlavor;
aastore
dup
bipush 6
getstatic sun.print.IPPPrintService.imagePNG:[Ljavax/print/DocFlavor;
aastore
dup
bipush 7
122: getstatic sun.print.IPPPrintService.textHtml:[Ljavax/print/DocFlavor;
aastore
dup
bipush 8
getstatic sun.print.IPPPrintService.appPCL:[Ljavax/print/DocFlavor;
aastore
123: putstatic sun.print.IPPPrintService.allDocFlavors:[Ljava/lang/Object;
124: return
LocalVariableTable:
Start End Slot Name Signature
2 3 0 debugStr Ljava/lang/String;
protected static void debug_println(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.print.IPPPrintService.debugPrint:Z
ifeq 2
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 str Ljava/lang/String;
MethodParameters:
Name Flags
str
void <init>(java.lang.String, java.net.URL);
descriptor: (Ljava/lang/String;Ljava/net/URL;)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.print.IPPPrintService.notifier:Lsun/print/ServiceNotifier;
2: aload 0
aconst_null
putfield sun.print.IPPPrintService.urlConnection:Ljava/net/HttpURLConnection;
3: aload 0
aconst_null
putfield sun.print.IPPPrintService.rawResolutions:[I
4: aload 0
aconst_null
putfield sun.print.IPPPrintService.printerResolutions:[Ljavax/print/attribute/standard/PrinterResolution;
5: aload 0
iconst_0
putfield sun.print.IPPPrintService.pngImagesAdded:Z
6: aload 0
iconst_0
putfield sun.print.IPPPrintService.gifImagesAdded:Z
7: aload 0
iconst_0
putfield sun.print.IPPPrintService.jpgImagesAdded:Z
8: aload 1
ifnull 9
aload 2
ifnonnull 10
9: StackMap locals: sun.print.IPPPrintService java.lang.String java.net.URL
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "null uri or printer name"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
aload 1
ldc "UTF-8"
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putfield sun.print.IPPPrintService.printer:Ljava/lang/String;
11: goto 14
StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
12: pop
13: aload 0
aload 1
putfield sun.print.IPPPrintService.printer:Ljava/lang/String;
14: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.print.IPPPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
15: aload 0
aconst_null
putfield sun.print.IPPPrintService.supportedCats:[Ljava/lang/Class;
16: aload 0
aconst_null
putfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
17: aload 0
aconst_null
putfield sun.print.IPPPrintService.customMediaSizeNames:[Lsun/print/CustomMediaSizeName;
18: aload 0
aconst_null
putfield sun.print.IPPPrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
19: aload 0
aload 2
putfield sun.print.IPPPrintService.myURL:Ljava/net/URL;
20: aload 0
aconst_null
putfield sun.print.IPPPrintService.cps:Lsun/print/CUPSPrinter;
21: aload 0
iconst_0
putfield sun.print.IPPPrintService.isCupsPrinter:Z
22: aload 0
iconst_0
putfield sun.print.IPPPrintService.init:Z
23: aload 0
iconst_m1
putfield sun.print.IPPPrintService.defaultMediaIndex:I
24: aload 0
getfield sun.print.IPPPrintService.myURL:Ljava/net/URL;
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
astore 3
start local 3 25: aload 3
ifnull 34
aload 3
invokestatic sun.print.CUPSPrinter.getServer:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 34
26: aload 0
iconst_1
putfield sun.print.IPPPrintService.isCupsPrinter:Z
27: aload 0
new java.net.URI
dup
new java.lang.StringBuilder
dup
ldc "ipp://"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
28: ldc "/printers/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.print.IPPPrintService.printer:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
29: putfield sun.print.IPPPrintService.myURI:Ljava/net/URI;
30: new java.lang.StringBuilder
dup
ldc "IPPPrintService>> IPPPrintService myURI : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.print.IPPPrintService.myURI:Ljava/net/URI;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
31: goto 34
StackMap locals: sun.print.IPPPrintService java.lang.String java.net.URL java.lang.String
StackMap stack: java.net.URISyntaxException
32: pop
33: new java.lang.IllegalArgumentException
dup
ldc "invalid url"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
34: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lsun/print/IPPPrintService;
0 35 1 name Ljava/lang/String;
0 35 2 url Ljava/net/URL;
25 35 3 host Ljava/lang/String;
Exception table:
from to target type
10 11 12 Class java.io.UnsupportedEncodingException
27 31 32 Class java.net.URISyntaxException
MethodParameters:
Name Flags
name
url
void <init>(java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Z)V
flags: (0x0000)
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.print.IPPPrintService.notifier:Lsun/print/ServiceNotifier;
2: aload 0
aconst_null
putfield sun.print.IPPPrintService.urlConnection:Ljava/net/HttpURLConnection;
3: aload 0
aconst_null
putfield sun.print.IPPPrintService.rawResolutions:[I
4: aload 0
aconst_null
putfield sun.print.IPPPrintService.printerResolutions:[Ljavax/print/attribute/standard/PrinterResolution;
5: aload 0
iconst_0
putfield sun.print.IPPPrintService.pngImagesAdded:Z
6: aload 0
iconst_0
putfield sun.print.IPPPrintService.gifImagesAdded:Z
7: aload 0
iconst_0
putfield sun.print.IPPPrintService.jpgImagesAdded:Z
8: aload 1
ifnull 9
aload 2
ifnonnull 10
9: StackMap locals: sun.print.IPPPrintService java.lang.String java.lang.String int
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "null uri or printer name"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
aload 1
ldc "UTF-8"
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putfield sun.print.IPPPrintService.printer:Ljava/lang/String;
11: goto 14
StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
12: pop
13: aload 0
aload 1
putfield sun.print.IPPPrintService.printer:Ljava/lang/String;
14: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.print.IPPPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
15: aload 0
aconst_null
putfield sun.print.IPPPrintService.supportedCats:[Ljava/lang/Class;
16: aload 0
aconst_null
putfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
17: aload 0
aconst_null
putfield sun.print.IPPPrintService.customMediaSizeNames:[Lsun/print/CustomMediaSizeName;
18: aload 0
aconst_null
putfield sun.print.IPPPrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
19: aload 0
aconst_null
putfield sun.print.IPPPrintService.cps:Lsun/print/CUPSPrinter;
20: aload 0
iconst_0
putfield sun.print.IPPPrintService.init:Z
21: aload 0
iconst_m1
putfield sun.print.IPPPrintService.defaultMediaIndex:I
22: aload 0
23: new java.net.URL
dup
aload 2
ldc "ipp"
ldc "http"
invokevirtual java.lang.String.replaceFirst:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
24: putfield sun.print.IPPPrintService.myURL:Ljava/net/URL;
25: goto 32
StackMap locals:
StackMap stack: java.lang.Exception
26: astore 4
start local 4 27: new java.lang.StringBuilder
dup
ldc "IPPPrintService>> IPPPrintService, myURL="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
28: aload 0
getfield sun.print.IPPPrintService.myURL:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " Exception= "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
29: aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
30: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
31: new java.lang.IllegalArgumentException
dup
ldc "invalid url"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 32: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield sun.print.IPPPrintService.isCupsPrinter:Z
33: aload 0
new java.net.URI
dup
aload 2
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
putfield sun.print.IPPPrintService.myURI:Ljava/net/URI;
34: new java.lang.StringBuilder
dup
ldc "IPPPrintService>> IPPPrintService myURI : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.print.IPPPrintService.myURI:Ljava/net/URI;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
35: goto 38
StackMap locals:
StackMap stack: java.net.URISyntaxException
36: pop
37: new java.lang.IllegalArgumentException
dup
ldc "invalid uri"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
38: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lsun/print/IPPPrintService;
0 39 1 name Ljava/lang/String;
0 39 2 uriStr Ljava/lang/String;
0 39 3 isCups Z
27 32 4 e Ljava/lang/Exception;
Exception table:
from to target type
10 11 12 Class java.io.UnsupportedEncodingException
22 25 26 Class java.lang.Exception
33 35 36 Class java.net.URISyntaxException
MethodParameters:
Name Flags
name
uriStr
isCups
private void initAttributes();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield sun.print.IPPPrintService.init:Z
ifne 43
1: aload 0
iconst_0
anewarray sun.print.CustomMediaSizeName
putfield sun.print.IPPPrintService.customMediaSizeNames:[Lsun/print/CustomMediaSizeName;
2: aload 0
aload 0
getfield sun.print.IPPPrintService.myURL:Ljava/net/URL;
invokestatic sun.print.IPPPrintService.getIPPConnection:(Ljava/net/URL;)Ljava/net/HttpURLConnection;
dup_x1
putfield sun.print.IPPPrintService.urlConnection:Ljava/net/HttpURLConnection;
ifnonnull 8
3: aload 0
iconst_0
anewarray javax.print.attribute.standard.MediaSizeName
putfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
4: aload 0
iconst_0
anewarray javax.print.attribute.standard.MediaTray
putfield sun.print.IPPPrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
5: ldc "IPPPrintService>> initAttributes, NULL urlConnection "
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
6: aload 0
iconst_1
putfield sun.print.IPPPrintService.init:Z
7: return
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.IPPPrintService.opGetAttributes:()V
9: aload 0
getfield sun.print.IPPPrintService.isCupsPrinter:Z
ifeq 23
10: aload 0
new sun.print.CUPSPrinter
dup
aload 0
getfield sun.print.IPPPrintService.printer:Ljava/lang/String;
invokespecial sun.print.CUPSPrinter.<init>:(Ljava/lang/String;)V
putfield sun.print.IPPPrintService.cps:Lsun/print/CUPSPrinter;
11: aload 0
aload 0
getfield sun.print.IPPPrintService.cps:Lsun/print/CUPSPrinter;
invokevirtual sun.print.CUPSPrinter.getMediaSizeNames:()[Ljavax/print/attribute/standard/MediaSizeName;
putfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
12: aload 0
aload 0
getfield sun.print.IPPPrintService.cps:Lsun/print/CUPSPrinter;
invokevirtual sun.print.CUPSPrinter.getMediaTrays:()[Ljavax/print/attribute/standard/MediaTray;
putfield sun.print.IPPPrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
13: aload 0
aload 0
getfield sun.print.IPPPrintService.cps:Lsun/print/CUPSPrinter;
invokevirtual sun.print.CUPSPrinter.getCustomMediaSizeNames:()[Lsun/print/CustomMediaSizeName;
putfield sun.print.IPPPrintService.customMediaSizeNames:[Lsun/print/CustomMediaSizeName;
14: aload 0
aload 0
getfield sun.print.IPPPrintService.cps:Lsun/print/CUPSPrinter;
invokevirtual sun.print.CUPSPrinter.getDefaultMediaIndex:()I
putfield sun.print.IPPPrintService.defaultMediaIndex:I
15: aload 0
aload 0
getfield sun.print.IPPPrintService.cps:Lsun/print/CUPSPrinter;
invokevirtual sun.print.CUPSPrinter.getRawResolutions:()[I
putfield sun.print.IPPPrintService.rawResolutions:[I
16: aload 0
getfield sun.print.IPPPrintService.urlConnection:Ljava/net/HttpURLConnection;
invokevirtual java.net.HttpURLConnection.disconnect:()V
17: aload 0
iconst_1
putfield sun.print.IPPPrintService.init:Z
18: return
19: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 20: new java.lang.StringBuilder
dup
ldc "IPPPrintService>> initAttributes, error creating CUPSPrinter e="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
21: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
22: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
end local 1 23: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.IPPPrintService.getSupportedMedia:()[Ljavax/print/attribute/standard/Media;
astore 1
start local 1 24: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 25: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 26: iconst_0
istore 4
start local 4 27: goto 34
28: StackMap locals: sun.print.IPPPrintService javax.print.attribute.standard.Media[] java.util.ArrayList java.util.ArrayList int
StackMap stack:
aload 1
iload 4
aaload
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 31
29: aload 2
aload 1
iload 4
aaload
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
30: goto 33
StackMap locals:
StackMap stack:
31: aload 1
iload 4
aaload
instanceof javax.print.attribute.standard.MediaTray
ifeq 33
32: aload 3
aload 1
iload 4
aaload
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
33: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
34: iload 4
aload 1
arraylength
if_icmplt 28
end local 4 35: aload 2
ifnull 38
36: aload 0
aload 2
invokevirtual java.util.ArrayList.size:()I
anewarray javax.print.attribute.standard.MediaSizeName
putfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
37: aload 0
aload 2
aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.print.attribute.standard.MediaSizeName[]
putfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
38: StackMap locals:
StackMap stack:
aload 3
ifnull 41
39: aload 0
aload 3
invokevirtual java.util.ArrayList.size:()I
anewarray javax.print.attribute.standard.MediaTray
putfield sun.print.IPPPrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
40: aload 0
aload 3
aload 0
getfield sun.print.IPPPrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.print.attribute.standard.MediaTray[]
putfield sun.print.IPPPrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
41: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.IPPPrintService.urlConnection:Ljava/net/HttpURLConnection;
invokevirtual java.net.HttpURLConnection.disconnect:()V
42: aload 0
iconst_1
putfield sun.print.IPPPrintService.init:Z
end local 3 end local 2 end local 1 43: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Lsun/print/IPPPrintService;
20 23 1 e Ljava/lang/Exception;
24 43 1 allMedia [Ljavax/print/attribute/standard/Media;
25 43 2 sizeList Ljava/util/ArrayList<Ljavax/print/attribute/standard/Media;>;
26 43 3 trayList Ljava/util/ArrayList<Ljavax/print/attribute/standard/Media;>;
27 35 4 i I
Exception table:
from to target type
10 18 19 Class java.lang.Exception
public javax.print.DocPrintJob createPrintJob();
descriptor: ()Ljavax/print/DocPrintJob;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.lang.SecurityManager.checkPrintJobAccess:()V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
new sun.print.UnixPrintJob
dup
aload 0
invokespecial sun.print.UnixPrintJob.<init>:(Ljavax/print/PrintService;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/print/IPPPrintService;
1 4 1 security Ljava/lang/SecurityManager;
public synchronized getSupportedAttributeValues(java.lang.Class<? extends javax.print.attribute.Attribute>, javax.print.DocFlavor, javax.print.attribute.AttributeSet);
descriptor: (Ljava/lang/Class;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljava/lang/Object;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "null category"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc Ljavax/print/attribute/Attribute;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 6
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: ldc " does not implement Attribute"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 2
ifnull 13
7: aload 0
aload 2
invokevirtual sun.print.IPPPrintService.isDocFlavorSupported:(Ljavax/print/DocFlavor;)Z
ifne 11
8: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
9: ldc " is an unsupported flavor"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual sun.print.IPPPrintService.isAutoSense:(Ljavax/print/DocFlavor;)Z
ifeq 13
12: aconst_null
areturn
13: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.print.IPPPrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 15
14: aconst_null
areturn
15: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual sun.print.IPPPrintService.isDestinationSupported:(Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
ifne 17
16: aconst_null
areturn
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.IPPPrintService.initAttributes:()V
18: aload 1
ldc Ljavax/print/attribute/standard/Copies;
if_acmpeq 20
19: aload 1
ldc Ljavax/print/attribute/standard/CopiesSupported;
if_acmpne 34
20: StackMap locals:
StackMap stack:
aload 2
ifnull 24
21: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.POSTSCRIPT:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 33
22: aload 2
getstatic javax.print.DocFlavor$URL.POSTSCRIPT:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 33
23: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.POSTSCRIPT:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 33
24: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.CopiesSupported
dup
iconst_1
getstatic sun.print.IPPPrintService.MAXCOPIES:I
invokespecial javax.print.attribute.standard.CopiesSupported.<init>:(II)V
astore 4
start local 4 25: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ifnull 27
26: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
aload 4
invokevirtual javax.print.attribute.standard.CopiesSupported.getName:()Ljava/lang/String;
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.print.AttributeClass
goto 28
StackMap locals: javax.print.attribute.standard.CopiesSupported
StackMap stack:
27: aconst_null
28: StackMap locals:
StackMap stack: sun.print.AttributeClass
astore 5
start local 5 29: aload 5
ifnull 32
30: aload 5
invokevirtual sun.print.AttributeClass.getIntRangeValue:()[I
astore 6
start local 6 31: new javax.print.attribute.standard.CopiesSupported
dup
aload 6
iconst_0
iaload
aload 6
iconst_1
iaload
invokespecial javax.print.attribute.standard.CopiesSupported.<init>:(II)V
astore 4
end local 6 32: StackMap locals: sun.print.AttributeClass
StackMap stack:
aload 4
areturn
end local 5 end local 4 33: StackMap locals:
StackMap stack:
aconst_null
areturn
34: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Chromaticity;
if_acmpne 43
35: aload 2
ifnull 39
36: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 39
37: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 39
38: aload 0
aload 2
invokevirtual javax.print.DocFlavor.getMimeType:()Ljava/lang/String;
invokevirtual sun.print.IPPPrintService.isIPPSupportedImages:(Ljava/lang/String;)Z
ifne 42
39: StackMap locals:
StackMap stack:
iconst_1
anewarray javax.print.attribute.standard.Chromaticity
astore 4
start local 4 40: aload 4
iconst_0
getstatic javax.print.attribute.standard.Chromaticity.COLOR:Ljavax/print/attribute/standard/Chromaticity;
aastore
41: aload 4
areturn
end local 4 42: StackMap locals:
StackMap stack:
aconst_null
areturn
43: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Destination;
if_acmpne 55
44: aload 2
ifnull 47
45: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 47
46: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 54
47: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.Destination
dup
new java.io.File
dup
ldc "out.ps"
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokespecial javax.print.attribute.standard.Destination.<init>:(Ljava/net/URI;)V
48: areturn
49: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
50: new javax.print.attribute.standard.Destination
dup
new java.net.URI
dup
ldc "file:out.ps"
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
invokespecial javax.print.attribute.standard.Destination.<init>:(Ljava/net/URI;)V
51: areturn
52: StackMap locals:
StackMap stack: java.net.URISyntaxException
pop
53: aconst_null
areturn
54: StackMap locals:
StackMap stack:
aconst_null
areturn
55: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Fidelity;
if_acmpne 60
56: iconst_2
anewarray javax.print.attribute.standard.Fidelity
astore 4
start local 4 57: aload 4
iconst_0
getstatic javax.print.attribute.standard.Fidelity.FIDELITY_FALSE:Ljavax/print/attribute/standard/Fidelity;
aastore
58: aload 4
iconst_1
getstatic javax.print.attribute.standard.Fidelity.FIDELITY_TRUE:Ljavax/print/attribute/standard/Fidelity;
aastore
59: aload 4
areturn
end local 4 60: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Finishings;
if_acmpne 84
61: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ifnull 63
62: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ldc "finishings-supported"
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.print.AttributeClass
goto 64
63: StackMap locals:
StackMap stack:
aconst_null
64: StackMap locals:
StackMap stack: sun.print.AttributeClass
astore 4
start local 4 65: aload 4
ifnull 258
66: aload 4
invokevirtual sun.print.AttributeClass.getArrayOfIntValues:()[I
astore 5
start local 5 67: aload 5
ifnull 258
aload 5
arraylength
ifle 258
68: aload 5
arraylength
anewarray javax.print.attribute.standard.Finishings
astore 6
start local 6 69: iconst_0
istore 7
start local 7 70: goto 82
71: StackMap locals: sun.print.IPPPrintService java.lang.Class javax.print.DocFlavor javax.print.attribute.AttributeSet sun.print.AttributeClass int[] javax.print.attribute.standard.Finishings[] int
StackMap stack:
aload 6
iload 7
getstatic javax.print.attribute.standard.Finishings.NONE:Ljavax/print/attribute/standard/Finishings;
aastore
72: new sun.print.IPPPrintService$ExtFinishing
dup
aload 0
bipush 100
invokespecial sun.print.IPPPrintService$ExtFinishing.<init>:(Lsun/print/IPPPrintService;I)V
invokevirtual sun.print.IPPPrintService$ExtFinishing.getAll:()[Ljavax/print/attribute/EnumSyntax;
73: checkcast javax.print.attribute.standard.Finishings[]
astore 8
start local 8 74: iconst_0
istore 9
start local 9 75: goto 80
76: StackMap locals: javax.print.attribute.standard.Finishings[] int
StackMap stack:
aload 5
iload 7
iaload
aload 8
iload 9
aaload
invokevirtual javax.print.attribute.standard.Finishings.getValue:()I
if_icmpne 79
77: aload 6
iload 7
aload 8
iload 9
aaload
aastore
78: goto 81
79: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
80: iload 9
aload 8
arraylength
if_icmplt 76
end local 9 end local 8 81: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
82: iload 7
aload 5
arraylength
if_icmplt 71
end local 7 83: aload 6
areturn
end local 6 end local 5 end local 4 84: StackMap locals: sun.print.IPPPrintService java.lang.Class javax.print.DocFlavor javax.print.attribute.AttributeSet
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/JobName;
if_acmpne 86
85: new javax.print.attribute.standard.JobName
dup
ldc "Java Printing"
aconst_null
invokespecial javax.print.attribute.standard.JobName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
areturn
86: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/JobSheets;
if_acmpne 91
87: iconst_2
anewarray javax.print.attribute.standard.JobSheets
astore 4
start local 4 88: aload 4
iconst_0
getstatic javax.print.attribute.standard.JobSheets.NONE:Ljavax/print/attribute/standard/JobSheets;
aastore
89: aload 4
iconst_1
getstatic javax.print.attribute.standard.JobSheets.STANDARD:Ljavax/print/attribute/standard/JobSheets;
aastore
90: aload 4
areturn
end local 4 91: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Media;
if_acmpne 109
92: aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
93: aload 0
getfield sun.print.IPPPrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
arraylength
94: iadd
anewarray javax.print.attribute.standard.Media
astore 4
start local 4 95: iconst_0
istore 5
start local 5 96: goto 99
97: StackMap locals: javax.print.attribute.standard.Media[] int
StackMap stack:
aload 4
iload 5
aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
iload 5
aaload
aastore
98: iinc 5 1
StackMap locals:
StackMap stack:
99: iload 5
aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
if_icmplt 97
end local 5 100: iconst_0
istore 5
start local 5 101: goto 104
102: StackMap locals:
StackMap stack:
aload 4
iload 5
aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
iadd
aload 0
getfield sun.print.IPPPrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
iload 5
aaload
aastore
103: iinc 5 1
StackMap locals:
StackMap stack:
104: iload 5
aload 0
getfield sun.print.IPPPrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
arraylength
if_icmplt 102
end local 5 105: aload 4
arraylength
ifne 108
106: iconst_1
anewarray javax.print.attribute.standard.Media
astore 4
107: aload 4
iconst_0
aload 0
ldc Ljavax/print/attribute/standard/Media;
invokevirtual sun.print.IPPPrintService.getDefaultAttributeValue:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.print.attribute.standard.Media
aastore
108: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 109: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/MediaPrintableArea;
if_acmpne 149
110: aconst_null
astore 4
start local 4 111: aload 0
getfield sun.print.IPPPrintService.cps:Lsun/print/CUPSPrinter;
ifnull 113
112: aload 0
getfield sun.print.IPPPrintService.cps:Lsun/print/CUPSPrinter;
invokevirtual sun.print.CUPSPrinter.getMediaPrintableArea:()[Ljavax/print/attribute/standard/MediaPrintableArea;
astore 4
113: StackMap locals: javax.print.attribute.standard.MediaPrintableArea[]
StackMap stack:
aload 4
ifnonnull 118
114: iconst_1
anewarray javax.print.attribute.standard.MediaPrintableArea
astore 4
115: aload 4
iconst_0
116: aload 0
ldc Ljavax/print/attribute/standard/MediaPrintableArea;
invokevirtual sun.print.IPPPrintService.getDefaultAttributeValue:(Ljava/lang/Class;)Ljava/lang/Object;
117: checkcast javax.print.attribute.standard.MediaPrintableArea
aastore
118: StackMap locals:
StackMap stack:
aload 3
ifnull 119
aload 3
invokeinterface javax.print.attribute.AttributeSet.size:()I
ifne 131
119: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
120: astore 5
start local 5 121: iconst_0
istore 6
start local 6 122: goto 126
123: StackMap locals: java.util.ArrayList int
StackMap stack:
aload 4
iload 6
aaload
ifnull 125
124: aload 5
aload 4
iload 6
aaload
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
125: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
126: iload 6
aload 4
arraylength
if_icmplt 123
end local 6 127: aload 5
invokevirtual java.util.ArrayList.size:()I
ifle 130
128: aload 5
invokevirtual java.util.ArrayList.size:()I
anewarray javax.print.attribute.standard.MediaPrintableArea
astore 4
129: aload 5
aload 4
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
130: StackMap locals:
StackMap stack:
aload 4
areturn
end local 5 131: StackMap locals:
StackMap stack:
iconst_m1
istore 5
start local 5 132: aload 3
ldc Ljavax/print/attribute/standard/Media;
invokeinterface javax.print.attribute.AttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.Media
astore 6
start local 6 133: aload 6
ifnull 144
aload 6
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 144
134: aload 6
checkcast javax.print.attribute.standard.MediaSizeName
astore 7
start local 7 135: aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
ifne 138
136: aload 7
aload 0
ldc Ljavax/print/attribute/standard/Media;
invokevirtual sun.print.IPPPrintService.getDefaultAttributeValue:(Ljava/lang/Class;)Ljava/lang/Object;
invokevirtual javax.print.attribute.standard.MediaSizeName.equals:(Ljava/lang/Object;)Z
ifeq 138
137: aload 4
areturn
138: StackMap locals: int javax.print.attribute.standard.Media javax.print.attribute.standard.MediaSizeName
StackMap stack:
iconst_0
istore 8
start local 8 139: goto 143
140: StackMap locals: int
StackMap stack:
aload 7
aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
iload 8
aaload
invokevirtual javax.print.attribute.standard.MediaSizeName.equals:(Ljava/lang/Object;)Z
ifeq 142
141: iload 8
istore 5
142: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
143: iload 8
aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
if_icmplt 140
end local 8 end local 7 144: StackMap locals:
StackMap stack:
iload 5
iconst_m1
if_icmpne 146
145: aconst_null
areturn
146: StackMap locals:
StackMap stack:
iconst_1
anewarray javax.print.attribute.standard.MediaPrintableArea
astore 7
start local 7 147: aload 7
iconst_0
aload 4
iload 5
aaload
aastore
148: aload 7
areturn
end local 7 end local 6 end local 5 end local 4 149: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/NumberUp;
if_acmpne 165
150: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ifnull 152
151: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ldc "number-up-supported"
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.print.AttributeClass
goto 153
StackMap locals:
StackMap stack:
152: aconst_null
153: StackMap locals:
StackMap stack: sun.print.AttributeClass
astore 4
start local 4 154: aload 4
ifnull 258
155: aload 4
invokevirtual sun.print.AttributeClass.getArrayOfIntValues:()[I
astore 5
start local 5 156: aload 5
ifnull 164
157: aload 5
arraylength
anewarray javax.print.attribute.standard.NumberUp
astore 6
start local 6 158: iconst_0
istore 7
start local 7 159: goto 162
160: StackMap locals: sun.print.IPPPrintService java.lang.Class javax.print.DocFlavor javax.print.attribute.AttributeSet sun.print.AttributeClass int[] javax.print.attribute.standard.NumberUp[] int
StackMap stack:
aload 6
iload 7
new javax.print.attribute.standard.NumberUp
dup
aload 5
iload 7
iaload
invokespecial javax.print.attribute.standard.NumberUp.<init>:(I)V
aastore
161: iinc 7 1
StackMap locals:
StackMap stack:
162: iload 7
aload 5
arraylength
if_icmplt 160
end local 7 163: aload 6
areturn
end local 6 164: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 5 end local 4 165: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 215
166: aload 2
ifnull 171
167: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.POSTSCRIPT:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 170
168: aload 2
getstatic javax.print.DocFlavor$URL.POSTSCRIPT:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 170
169: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.POSTSCRIPT:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 171
170: StackMap locals:
StackMap stack:
aconst_null
areturn
171: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 172: aconst_null
astore 5
start local 5 173: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ifnull 175
174: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ldc "orientation-requested-supported"
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.print.AttributeClass
goto 176
175: StackMap locals: int javax.print.attribute.standard.OrientationRequested[]
StackMap stack:
aconst_null
176: StackMap locals:
StackMap stack: sun.print.AttributeClass
astore 6
start local 6 177: aload 6
ifnull 199
178: aload 6
invokevirtual sun.print.AttributeClass.getArrayOfIntValues:()[I
astore 7
start local 7 179: aload 7
ifnull 199
aload 7
arraylength
ifle 199
180: aload 7
arraylength
anewarray javax.print.attribute.standard.OrientationRequested
181: astore 5
182: iconst_0
istore 8
start local 8 183: goto 198
184: StackMap locals: sun.print.AttributeClass int[] int
StackMap stack:
aload 7
iload 8
iaload
tableswitch { // 3 - 6
3: 185
4: 187
5: 189
6: 193
default: 185
}
185: StackMap locals:
StackMap stack:
aload 5
iload 8
getstatic javax.print.attribute.standard.OrientationRequested.PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
aastore
186: goto 197
187: StackMap locals:
StackMap stack:
aload 5
iload 8
getstatic javax.print.attribute.standard.OrientationRequested.LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
aastore
188: goto 197
189: StackMap locals:
StackMap stack:
aload 5
iload 8
190: getstatic javax.print.attribute.standard.OrientationRequested.REVERSE_LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
191: aastore
192: goto 197
193: StackMap locals:
StackMap stack:
aload 5
iload 8
194: getstatic javax.print.attribute.standard.OrientationRequested.REVERSE_PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
195: aastore
196: iconst_1
istore 4
197: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
198: iload 8
aload 7
arraylength
if_icmplt 184
end local 8 end local 7 199: StackMap locals:
StackMap stack:
aload 2
ifnull 202
200: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 202
201: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 214
202: StackMap locals:
StackMap stack:
iload 4
ifeq 209
aload 2
ifnonnull 209
203: iconst_4
anewarray javax.print.attribute.standard.OrientationRequested
astore 7
start local 7 204: aload 7
iconst_0
getstatic javax.print.attribute.standard.OrientationRequested.PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
aastore
205: aload 7
iconst_1
getstatic javax.print.attribute.standard.OrientationRequested.LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
aastore
206: aload 7
iconst_2
getstatic javax.print.attribute.standard.OrientationRequested.REVERSE_LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
aastore
207: aload 7
iconst_3
getstatic javax.print.attribute.standard.OrientationRequested.REVERSE_PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
aastore
208: aload 7
areturn
end local 7 209: StackMap locals:
StackMap stack:
iconst_3
anewarray javax.print.attribute.standard.OrientationRequested
astore 7
start local 7 210: aload 7
iconst_0
getstatic javax.print.attribute.standard.OrientationRequested.PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
aastore
211: aload 7
iconst_1
getstatic javax.print.attribute.standard.OrientationRequested.LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
aastore
212: aload 7
iconst_2
getstatic javax.print.attribute.standard.OrientationRequested.REVERSE_LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
aastore
213: aload 7
areturn
end local 7 214: StackMap locals:
StackMap stack:
aload 5
areturn
end local 6 end local 5 end local 4 215: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PageRanges;
if_acmpne 223
216: aload 2
ifnull 219
217: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 219
218: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 222
219: StackMap locals:
StackMap stack:
iconst_1
anewarray javax.print.attribute.standard.PageRanges
astore 4
start local 4 220: aload 4
iconst_0
new javax.print.attribute.standard.PageRanges
dup
iconst_1
ldc 2147483647
invokespecial javax.print.attribute.standard.PageRanges.<init>:(II)V
aastore
221: aload 4
areturn
end local 4 222: StackMap locals:
StackMap stack:
aconst_null
areturn
223: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/RequestingUserName;
if_acmpne 229
224: ldc ""
astore 4
start local 4 225: ldc "user.name"
ldc ""
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
226: goto 228
StackMap locals: sun.print.IPPPrintService java.lang.Class javax.print.DocFlavor javax.print.attribute.AttributeSet java.lang.String
StackMap stack: java.lang.SecurityException
227: pop
228: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.RequestingUserName
dup
aload 4
aconst_null
invokespecial javax.print.attribute.standard.RequestingUserName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
areturn
end local 4 229: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Sides;
if_acmpne 250
230: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ifnull 232
231: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ldc "sides-supported"
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.print.AttributeClass
goto 233
232: StackMap locals:
StackMap stack:
aconst_null
233: StackMap locals:
StackMap stack: sun.print.AttributeClass
astore 4
start local 4 234: aload 4
ifnull 258
235: aload 4
invokevirtual sun.print.AttributeClass.getArrayOfStringValues:()[Ljava/lang/String;
astore 5
start local 5 236: aload 5
ifnull 258
aload 5
arraylength
ifle 258
237: aload 5
arraylength
anewarray javax.print.attribute.standard.Sides
astore 6
start local 6 238: iconst_0
istore 7
start local 7 239: goto 248
240: StackMap locals: sun.print.IPPPrintService java.lang.Class javax.print.DocFlavor javax.print.attribute.AttributeSet sun.print.AttributeClass java.lang.String[] javax.print.attribute.standard.Sides[] int
StackMap stack:
aload 5
iload 7
aaload
ldc "long-edge"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 243
241: aload 6
iload 7
getstatic javax.print.attribute.standard.Sides.TWO_SIDED_LONG_EDGE:Ljavax/print/attribute/standard/Sides;
aastore
242: goto 247
StackMap locals:
StackMap stack:
243: aload 5
iload 7
aaload
ldc "short-edge"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 246
244: aload 6
iload 7
getstatic javax.print.attribute.standard.Sides.TWO_SIDED_SHORT_EDGE:Ljavax/print/attribute/standard/Sides;
aastore
245: goto 247
246: StackMap locals:
StackMap stack:
aload 6
iload 7
getstatic javax.print.attribute.standard.Sides.ONE_SIDED:Ljavax/print/attribute/standard/Sides;
aastore
247: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
248: iload 7
aload 5
arraylength
if_icmplt 240
end local 7 249: aload 6
areturn
end local 6 end local 5 end local 4 250: StackMap locals: sun.print.IPPPrintService java.lang.Class javax.print.DocFlavor javax.print.attribute.AttributeSet
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrinterResolution;
if_acmpne 258
251: aload 0
invokevirtual sun.print.IPPPrintService.getPrintResolutions:()[Ljavax/print/attribute/standard/PrinterResolution;
astore 4
start local 4 252: aload 4
ifnonnull 254
253: aconst_null
areturn
254: StackMap locals: javax.print.attribute.standard.PrinterResolution[]
StackMap stack:
aload 4
arraylength
anewarray javax.print.attribute.standard.PrinterResolution
255: astore 5
start local 5 256: aload 4
iconst_0
aload 5
iconst_0
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
257: aload 5
areturn
end local 5 end local 4 258: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 259 0 this Lsun/print/IPPPrintService;
0 259 1 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
0 259 2 flavor Ljavax/print/DocFlavor;
0 259 3 attributes Ljavax/print/attribute/AttributeSet;
25 33 4 cs Ljavax/print/attribute/standard/CopiesSupported;
29 33 5 attribClass Lsun/print/AttributeClass;
31 32 6 range [I
40 42 4 arr [Ljavax/print/attribute/standard/Chromaticity;
57 60 4 arr [Ljavax/print/attribute/standard/Fidelity;
65 84 4 attribClass Lsun/print/AttributeClass;
67 84 5 finArray [I
69 84 6 finSup [Ljavax/print/attribute/standard/Finishings;
70 83 7 i I
74 81 8 fAll [Ljavax/print/attribute/standard/Finishings;
75 81 9 j I
88 91 4 arr [Ljavax/print/attribute/standard/JobSheets;
95 109 4 allMedia [Ljavax/print/attribute/standard/Media;
96 100 5 i I
101 105 5 i I
111 149 4 mpas [Ljavax/print/attribute/standard/MediaPrintableArea;
121 131 5 printableList Ljava/util/ArrayList<Ljavax/print/attribute/standard/MediaPrintableArea;>;
122 127 6 i I
132 149 5 match I
133 149 6 media Ljavax/print/attribute/standard/Media;
135 144 7 msn Ljavax/print/attribute/standard/MediaSizeName;
139 144 8 i I
147 149 7 arr [Ljavax/print/attribute/standard/MediaPrintableArea;
154 165 4 attribClass Lsun/print/AttributeClass;
156 165 5 values [I
158 164 6 nUp [Ljavax/print/attribute/standard/NumberUp;
159 163 7 i I
172 215 4 revPort Z
173 215 5 orientSup [Ljavax/print/attribute/standard/OrientationRequested;
177 215 6 attribClass Lsun/print/AttributeClass;
179 199 7 orientArray [I
183 199 8 i I
204 209 7 orSup [Ljavax/print/attribute/standard/OrientationRequested;
210 214 7 orSup [Ljavax/print/attribute/standard/OrientationRequested;
220 222 4 arr [Ljavax/print/attribute/standard/PageRanges;
225 229 4 userName Ljava/lang/String;
234 250 4 attribClass Lsun/print/AttributeClass;
236 250 5 sidesArray [Ljava/lang/String;
238 250 6 sidesSup [Ljavax/print/attribute/standard/Sides;
239 249 7 i I
252 258 4 supportedRes [Ljavax/print/attribute/standard/PrinterResolution;
256 258 5 arr [Ljavax/print/attribute/standard/PrinterResolution;
Exception table:
from to target type
47 48 49 Class java.lang.SecurityException
50 51 52 Class java.net.URISyntaxException
225 226 227 Class java.lang.SecurityException
Signature: (Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljava/lang/Object;
MethodParameters:
Name Flags
category
flavor
attributes
public javax.print.attribute.AttributeSet getUnsupportedAttributes(javax.print.DocFlavor, javax.print.attribute.AttributeSet);
descriptor: (Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljavax/print/attribute/AttributeSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 4
aload 0
aload 1
invokevirtual sun.print.IPPPrintService.isDocFlavorSupported:(Ljavax/print/DocFlavor;)Z
ifne 4
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "flavor "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: ldc "is not supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 6
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
new javax.print.attribute.HashAttributeSet
dup
invokespecial javax.print.attribute.HashAttributeSet.<init>:()V
astore 4
start local 4 7: aload 2
invokeinterface javax.print.attribute.AttributeSet.toArray:()[Ljavax/print/attribute/Attribute;
astore 5
start local 5 8: iconst_0
istore 6
start local 6 9: goto 22
10: StackMap locals: sun.print.IPPPrintService javax.print.DocFlavor javax.print.attribute.AttributeSet top javax.print.attribute.AttributeSet javax.print.attribute.Attribute[] int
StackMap stack:
aload 5
iload 6
aaload
astore 3
start local 3 11: aload 0
aload 3
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
invokevirtual sun.print.IPPPrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 14
12: aload 4
aload 3
invokeinterface javax.print.attribute.AttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
13: goto 21
StackMap locals: sun.print.IPPPrintService javax.print.DocFlavor javax.print.attribute.AttributeSet javax.print.attribute.Attribute javax.print.attribute.AttributeSet javax.print.attribute.Attribute[] int
StackMap stack:
14: aload 0
aload 3
aload 1
15: aload 2
16: invokevirtual sun.print.IPPPrintService.isAttributeValueSupported:(Ljavax/print/attribute/Attribute;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
17: ifne 21
18: aload 4
aload 3
invokeinterface javax.print.attribute.AttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
19: goto 21
end local 3 StackMap locals: sun.print.IPPPrintService javax.print.DocFlavor javax.print.attribute.AttributeSet top javax.print.attribute.AttributeSet javax.print.attribute.Attribute[] int
StackMap stack: java.lang.ClassCastException
20: pop
21: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
22: iload 6
aload 5
arraylength
if_icmplt 10
end local 6 23: aload 4
invokeinterface javax.print.attribute.AttributeSet.isEmpty:()Z
ifeq 25
24: aconst_null
areturn
25: StackMap locals:
StackMap stack:
aload 4
areturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lsun/print/IPPPrintService;
0 26 1 flavor Ljavax/print/DocFlavor;
0 26 2 attributes Ljavax/print/attribute/AttributeSet;
11 20 3 attr Ljavax/print/attribute/Attribute;
7 26 4 unsupp Ljavax/print/attribute/AttributeSet;
8 26 5 attrs [Ljavax/print/attribute/Attribute;
9 23 6 i I
Exception table:
from to target type
10 19 20 Class java.lang.ClassCastException
MethodParameters:
Name Flags
flavor
attributes
public synchronized javax.print.DocFlavor[] getSupportedDocFlavors();
descriptor: ()[Ljavax/print/DocFlavor;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=12, args_size=1
start local 0 0: aload 0
getfield sun.print.IPPPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
ifnull 5
1: aload 0
getfield sun.print.IPPPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
arraylength
istore 1
start local 1 2: iload 1
anewarray javax.print.DocFlavor
astore 2
start local 2 3: aload 0
getfield sun.print.IPPPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
iconst_0
aload 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 2
areturn
end local 2 end local 1 5: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.IPPPrintService.initAttributes:()V
6: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ifnull 71
7: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ldc "document-format-supported"
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 71
8: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ldc "document-format-supported"
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.print.AttributeClass
9: astore 1
start local 1 10: aload 1
ifnull 71
11: iconst_0
istore 3
start local 3 12: aload 1
invokevirtual sun.print.AttributeClass.getArrayOfStringValues:()[Ljava/lang/String;
astore 4
start local 4 13: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 6
start local 6 14: getstatic javax.print.DocFlavor.hostEncoding:Ljava/lang/String;
15: getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
16: astore 8
start local 8 17: aload 8
ldc "utf-8"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
18: aload 8
ldc "utf-16"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
aload 8
ldc "utf-16be"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
19: aload 8
ldc "utf-16le"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
aload 8
ldc "us-ascii"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
20: iconst_1
goto 22
StackMap locals: sun.print.IPPPrintService sun.print.AttributeClass top int java.lang.String[] top java.util.HashSet top java.lang.String
StackMap stack:
21: iconst_0
StackMap locals:
StackMap stack: int
22: istore 9
start local 9 23: iconst_0
istore 10
start local 10 24: goto 58
25: StackMap locals: int int
StackMap stack:
iconst_0
istore 7
start local 7 26: goto 52
27: StackMap locals: sun.print.IPPPrintService sun.print.AttributeClass top int java.lang.String[] top java.util.HashSet int java.lang.String int int
StackMap stack:
getstatic sun.print.IPPPrintService.allDocFlavors:[Ljava/lang/Object;
iload 7
aaload
checkcast javax.print.DocFlavor[]
astore 5
start local 5 28: aload 5
iconst_0
aaload
invokevirtual javax.print.DocFlavor.getMimeType:()Ljava/lang/String;
astore 2
start local 2 29: aload 2
aload 4
iload 10
aaload
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 51
30: aload 6
aload 5
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.util.HashSet.addAll:(Ljava/util/Collection;)Z
pop
31: aload 2
ldc "text/plain"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
32: iload 9
ifeq 35
33: aload 6
getstatic sun.print.IPPPrintService.textPlainHost:[Ljavax/print/DocFlavor;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
34: goto 53
StackMap locals: sun.print.IPPPrintService sun.print.AttributeClass java.lang.String int java.lang.String[] javax.print.DocFlavor[] java.util.HashSet int java.lang.String int int
StackMap stack:
35: aload 2
ldc "text/html"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 39
36: iload 9
ifeq 39
37: aload 6
getstatic sun.print.IPPPrintService.textHtmlHost:[Ljavax/print/DocFlavor;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
38: goto 53
StackMap locals:
StackMap stack:
39: aload 2
ldc "image/png"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 42
40: aload 0
iconst_1
putfield sun.print.IPPPrintService.pngImagesAdded:Z
41: goto 53
StackMap locals:
StackMap stack:
42: aload 2
ldc "image/gif"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 45
43: aload 0
iconst_1
putfield sun.print.IPPPrintService.gifImagesAdded:Z
44: goto 53
StackMap locals:
StackMap stack:
45: aload 2
ldc "image/jpeg"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 48
46: aload 0
iconst_1
putfield sun.print.IPPPrintService.jpgImagesAdded:Z
47: goto 53
StackMap locals:
StackMap stack:
48: aload 2
ldc "postscript"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 53
49: iconst_1
istore 3
50: goto 53
51: StackMap locals:
StackMap stack:
iinc 7 1
end local 5 end local 2 StackMap locals: sun.print.IPPPrintService sun.print.AttributeClass top int java.lang.String[] top java.util.HashSet int java.lang.String int int
StackMap stack:
52: iload 7
getstatic sun.print.IPPPrintService.allDocFlavors:[Ljava/lang/Object;
arraylength
if_icmplt 27
53: StackMap locals:
StackMap stack:
iload 7
getstatic sun.print.IPPPrintService.allDocFlavors:[Ljava/lang/Object;
arraylength
if_icmpne 57
54: aload 6
new javax.print.DocFlavor$BYTE_ARRAY
dup
aload 4
iload 10
aaload
invokespecial javax.print.DocFlavor$BYTE_ARRAY.<init>:(Ljava/lang/String;)V
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
55: aload 6
new javax.print.DocFlavor$INPUT_STREAM
dup
aload 4
iload 10
aaload
invokespecial javax.print.DocFlavor$INPUT_STREAM.<init>:(Ljava/lang/String;)V
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
56: aload 6
new javax.print.DocFlavor$URL
dup
aload 4
iload 10
aaload
invokespecial javax.print.DocFlavor$URL.<init>:(Ljava/lang/String;)V
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
57: StackMap locals:
StackMap stack:
iinc 10 1
end local 7 StackMap locals: sun.print.IPPPrintService sun.print.AttributeClass top int java.lang.String[] top java.util.HashSet top java.lang.String int int
StackMap stack:
58: iload 10
aload 4
arraylength
if_icmplt 25
end local 10 59: iload 3
ifne 60
aload 0
getfield sun.print.IPPPrintService.isCupsPrinter:Z
ifeq 65
60: StackMap locals:
StackMap stack:
aload 6
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
61: aload 6
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
62: aload 6
getstatic sun.print.IPPPrintService.imageJPG:[Ljavax/print/DocFlavor;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.util.HashSet.addAll:(Ljava/util/Collection;)Z
pop
63: aload 6
getstatic sun.print.IPPPrintService.imagePNG:[Ljavax/print/DocFlavor;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.util.HashSet.addAll:(Ljava/util/Collection;)Z
pop
64: aload 6
getstatic sun.print.IPPPrintService.imageGIF:[Ljavax/print/DocFlavor;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.util.HashSet.addAll:(Ljava/util/Collection;)Z
pop
65: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual java.util.HashSet.size:()I
anewarray javax.print.DocFlavor
putfield sun.print.IPPPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
66: aload 6
aload 0
getfield sun.print.IPPPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
invokevirtual java.util.HashSet.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
67: aload 0
getfield sun.print.IPPPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
arraylength
istore 10
start local 10 68: iload 10
anewarray javax.print.DocFlavor
astore 11
start local 11 69: aload 0
getfield sun.print.IPPPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
iconst_0
aload 11
iconst_0
iload 10
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
70: aload 11
areturn
end local 11 end local 10 end local 9 end local 8 end local 6 end local 4 end local 3 end local 1 71: StackMap locals: sun.print.IPPPrintService
StackMap stack:
iconst_2
anewarray javax.print.DocFlavor
astore 1
start local 1 72: aload 1
iconst_0
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
aastore
73: aload 1
iconst_1
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
aastore
74: aload 0
aload 1
putfield sun.print.IPPPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
75: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 76 0 this Lsun/print/IPPPrintService;
2 5 1 len I
3 5 2 copyflavors [Ljavax/print/DocFlavor;
10 71 1 attribClass Lsun/print/AttributeClass;
29 52 2 mimeType Ljava/lang/String;
12 71 3 psSupported Z
13 71 4 docFlavors [Ljava/lang/String;
28 52 5 flavors [Ljavax/print/DocFlavor;
14 71 6 docList Ljava/util/HashSet<Ljava/lang/Object;>;
26 58 7 j I
17 71 8 hostEnc Ljava/lang/String;
23 71 9 addHostEncoding Z
24 59 10 i I
68 71 10 len I
69 71 11 copyflavors [Ljavax/print/DocFlavor;
72 76 1 flavor [Ljavax/print/DocFlavor;
public boolean isDocFlavorSupported(javax.print.DocFlavor);
descriptor: (Ljavax/print/DocFlavor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.print.IPPPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
ifnonnull 2
1: aload 0
invokevirtual sun.print.IPPPrintService.getSupportedDocFlavors:()[Ljavax/print/DocFlavor;
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.IPPPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
ifnull 9
3: iconst_0
istore 2
start local 2 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield sun.print.IPPPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
iload 2
aaload
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 7
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 0
getfield sun.print.IPPPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
arraylength
if_icmplt 5
end local 2 9: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/print/IPPPrintService;
0 10 1 flavor Ljavax/print/DocFlavor;
4 9 2 f I
MethodParameters:
Name Flags
flavor
public sun.print.CustomMediaSizeName findCustomMedia(javax.print.attribute.standard.MediaSizeName);
descriptor: (Ljavax/print/attribute/standard/MediaSizeName;)Lsun/print/CustomMediaSizeName;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.print.IPPPrintService.customMediaSizeNames:[Lsun/print/CustomMediaSizeName;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 3: goto 9
4: StackMap locals: int
StackMap stack:
aload 0
getfield sun.print.IPPPrintService.customMediaSizeNames:[Lsun/print/CustomMediaSizeName;
iload 2
aaload
astore 3
start local 3 5: aload 3
invokevirtual sun.print.CustomMediaSizeName.getStandardMedia:()Ljavax/print/attribute/standard/MediaSizeName;
astore 4
start local 4 6: aload 1
aload 4
invokevirtual javax.print.attribute.standard.MediaSizeName.equals:(Ljava/lang/Object;)Z
ifeq 8
7: aload 0
getfield sun.print.IPPPrintService.customMediaSizeNames:[Lsun/print/CustomMediaSizeName;
iload 2
aaload
areturn
end local 4 end local 3 8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
getfield sun.print.IPPPrintService.customMediaSizeNames:[Lsun/print/CustomMediaSizeName;
arraylength
if_icmplt 4
end local 2 10: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/print/IPPPrintService;
0 11 1 media Ljavax/print/attribute/standard/MediaSizeName;
3 10 2 i I
5 8 3 custom Lsun/print/CustomMediaSizeName;
6 8 4 msn Ljavax/print/attribute/standard/MediaSizeName;
MethodParameters:
Name Flags
media
private javax.print.attribute.standard.Media getIPPMedia(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/print/attribute/standard/Media;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: new sun.print.CustomMediaSizeName
dup
ldc "sample"
ldc ""
1: fconst_0
fconst_0
2: invokespecial sun.print.CustomMediaSizeName.<init>:(Ljava/lang/String;Ljava/lang/String;FF)V
astore 2
start local 2 3: aload 2
invokevirtual sun.print.CustomMediaSizeName.getSuperEnumTable:()[Ljavax/print/attribute/standard/Media;
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 9
6: StackMap locals: sun.print.CustomMediaSizeName javax.print.attribute.standard.Media[] int
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 3
iload 4
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: aload 3
iload 4
aaload
areturn
8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 3
arraylength
if_icmplt 6
end local 4 10: new sun.print.CustomMediaTray
dup
ldc "sample"
ldc ""
invokespecial sun.print.CustomMediaTray.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 4
start local 4 11: aload 4
invokevirtual sun.print.CustomMediaTray.getSuperEnumTable:()[Ljavax/print/attribute/standard/Media;
astore 5
start local 5 12: iconst_0
istore 6
start local 6 13: goto 17
14: StackMap locals: sun.print.IPPPrintService java.lang.String sun.print.CustomMediaSizeName javax.print.attribute.standard.Media[] sun.print.CustomMediaTray javax.print.attribute.standard.Media[] int
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 5
iload 6
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
15: aload 5
iload 6
aaload
areturn
16: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
aload 5
arraylength
if_icmplt 14
end local 6 18: aconst_null
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/print/IPPPrintService;
0 19 1 mediaName Ljava/lang/String;
3 19 2 sampleSize Lsun/print/CustomMediaSizeName;
4 19 3 sizes [Ljavax/print/attribute/standard/Media;
5 10 4 i I
11 19 4 sampleTray Lsun/print/CustomMediaTray;
12 19 5 trays [Ljavax/print/attribute/standard/Media;
13 18 6 i I
MethodParameters:
Name Flags
mediaName
private javax.print.attribute.standard.Media[] getSupportedMedia();
descriptor: ()[Ljavax/print/attribute/standard/Media;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ifnull 14
1: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ldc "media-supported"
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 14
2: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ldc "media-supported"
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.print.AttributeClass
astore 1
start local 1 3: aload 1
ifnull 14
4: aload 1
invokevirtual sun.print.AttributeClass.getArrayOfStringValues:()[Ljava/lang/String;
astore 2
start local 2 5: aload 2
arraylength
anewarray javax.print.attribute.standard.Media
6: astore 4
start local 4 7: iconst_0
istore 5
start local 5 8: goto 12
9: StackMap locals: sun.print.IPPPrintService sun.print.AttributeClass java.lang.String[] top javax.print.attribute.standard.Media[] int
StackMap stack:
aload 0
aload 2
iload 5
aaload
invokevirtual sun.print.IPPPrintService.getIPPMedia:(Ljava/lang/String;)Ljavax/print/attribute/standard/Media;
astore 3
start local 3 10: aload 4
iload 5
aload 3
aastore
11: iinc 5 1
end local 3 StackMap locals:
StackMap stack:
12: iload 5
aload 2
arraylength
if_icmplt 9
end local 5 13: aload 4
areturn
end local 4 end local 2 end local 1 14: StackMap locals: sun.print.IPPPrintService
StackMap stack:
iconst_0
anewarray javax.print.attribute.standard.Media
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/print/IPPPrintService;
3 14 1 attribClass Lsun/print/AttributeClass;
5 14 2 mediaVals [Ljava/lang/String;
10 12 3 msn Ljavax/print/attribute/standard/Media;
7 14 4 mediaNames [Ljavax/print/attribute/standard/Media;
8 13 5 i I
public synchronized java.lang.Class<?>[] getSupportedAttributeCategories();
descriptor: ()[Ljava/lang/Class;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.print.IPPPrintService.supportedCats:[Ljava/lang/Class;
ifnull 4
1: aload 0
getfield sun.print.IPPPrintService.supportedCats:[Ljava/lang/Class;
arraylength
anewarray java.lang.Class
astore 1
start local 1 2: aload 0
getfield sun.print.IPPPrintService.supportedCats:[Ljava/lang/Class;
iconst_0
aload 1
iconst_0
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 1
areturn
end local 1 4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.IPPPrintService.initAttributes:()V
5: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 6: iconst_0
istore 2
start local 2 7: goto 14
8: StackMap locals: java.util.ArrayList int
StackMap stack:
getstatic sun.print.IPPPrintService.printReqAttribDefault:[Ljava/lang/Object;
iload 2
aaload
checkcast javax.print.attribute.PrintRequestAttribute
9: astore 3
start local 3 10: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ifnull 13
11: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
new java.lang.StringBuilder
dup
aload 3
invokeinterface javax.print.attribute.PrintRequestAttribute.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 13
12: aload 1
aload 3
invokeinterface javax.print.attribute.PrintRequestAttribute.getCategory:()Ljava/lang/Class;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 3 13: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
14: iload 2
getstatic sun.print.IPPPrintService.printReqAttribDefault:[Ljava/lang/Object;
arraylength
if_icmplt 8
end local 2 15: aload 0
getfield sun.print.IPPPrintService.isCupsPrinter:Z
ifeq 21
16: aload 1
ldc Ljavax/print/attribute/standard/Media;
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ifne 18
17: aload 1
ldc Ljavax/print/attribute/standard/Media;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
18: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/MediaPrintableArea;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
19: aload 1
ldc Ljavax/print/attribute/standard/Destination;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
20: aload 1
ldc Ljavax/print/attribute/standard/SheetCollate;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
21: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ifnull 23
aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ldc "color-supported"
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 23
22: aload 1
ldc Ljavax/print/attribute/standard/Chromaticity;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
23: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.IPPPrintService.getPrintResolutions:()[Ljavax/print/attribute/standard/PrinterResolution;
astore 2
start local 2 24: aload 2
ifnull 26
aload 2
arraylength
ifle 26
25: aload 1
ldc Ljavax/print/attribute/standard/PrinterResolution;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
26: StackMap locals: javax.print.attribute.standard.PrinterResolution[]
StackMap stack:
aload 0
aload 1
invokevirtual java.util.ArrayList.size:()I
anewarray java.lang.Class
putfield sun.print.IPPPrintService.supportedCats:[Ljava/lang/Class;
27: aload 1
aload 0
getfield sun.print.IPPPrintService.supportedCats:[Ljava/lang/Class;
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
28: aload 0
getfield sun.print.IPPPrintService.supportedCats:[Ljava/lang/Class;
arraylength
anewarray java.lang.Class
astore 3
start local 3 29: aload 0
getfield sun.print.IPPPrintService.supportedCats:[Ljava/lang/Class;
iconst_0
aload 3
iconst_0
aload 3
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
30: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lsun/print/IPPPrintService;
2 4 1 copyCats [Ljava/lang/Class;
6 31 1 catList Ljava/util/ArrayList<Ljava/lang/Class<*>;>;
7 15 2 i I
10 13 3 pra Ljavax/print/attribute/PrintRequestAttribute;
24 31 2 supportedRes [Ljavax/print/attribute/standard/PrinterResolution;
29 31 3 copyCats [Ljava/lang/Class;
Signature: ()[Ljava/lang/Class<*>;
public boolean isAttributeCategorySupported(java.lang.Class<? extends javax.print.attribute.Attribute>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "null category"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc Ljavax/print/attribute/Attribute;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 6
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: ldc " is not an Attribute"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.IPPPrintService.supportedCats:[Ljava/lang/Class;
ifnonnull 8
7: aload 0
invokevirtual sun.print.IPPPrintService.getSupportedAttributeCategories:()[Ljava/lang/Class;
pop
8: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 10
9: iconst_1
ireturn
10: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 11: goto 15
12: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield sun.print.IPPPrintService.supportedCats:[Ljava/lang/Class;
iload 2
aaload
if_acmpne 14
13: iconst_1
ireturn
14: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
15: iload 2
aload 0
getfield sun.print.IPPPrintService.supportedCats:[Ljava/lang/Class;
arraylength
if_icmplt 12
end local 2 16: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/print/IPPPrintService;
0 17 1 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
11 16 2 i I
Signature: (Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;)Z
MethodParameters:
Name Flags
category
public synchronized <T extends javax.print.attribute.PrintServiceAttribute> T getAttribute(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljavax/print/attribute/PrintServiceAttribute;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "category"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc Ljavax/print/attribute/PrintServiceAttribute;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 4
3: new java.lang.IllegalArgumentException
dup
ldc "Not a PrintServiceAttribute"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.IPPPrintService.initAttributes:()V
5: aload 1
ldc Ljavax/print/attribute/standard/PrinterName;
if_acmpne 7
6: new javax.print.attribute.standard.PrinterName
dup
aload 0
getfield sun.print.IPPPrintService.printer:Ljava/lang/String;
aconst_null
invokespecial javax.print.attribute.standard.PrinterName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
areturn
7: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrinterInfo;
if_acmpne 16
8: new javax.print.attribute.standard.PrinterInfo
dup
aload 0
getfield sun.print.IPPPrintService.printer:Ljava/lang/String;
aconst_null
invokespecial javax.print.attribute.standard.PrinterInfo.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
astore 2
start local 2 9: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ifnull 11
10: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
aload 2
invokevirtual javax.print.attribute.standard.PrinterInfo.getName:()Ljava/lang/String;
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.print.AttributeClass
goto 12
11: StackMap locals: javax.print.attribute.standard.PrinterInfo
StackMap stack:
aconst_null
12: StackMap locals:
StackMap stack: sun.print.AttributeClass
astore 3
start local 3 13: aload 3
ifnull 15
14: new javax.print.attribute.standard.PrinterInfo
dup
aload 3
invokevirtual sun.print.AttributeClass.getStringValue:()Ljava/lang/String;
aconst_null
invokespecial javax.print.attribute.standard.PrinterInfo.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
areturn
15: StackMap locals: sun.print.AttributeClass
StackMap stack:
aload 2
areturn
end local 3 end local 2 16: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/QueuedJobCount;
if_acmpne 25
17: new javax.print.attribute.standard.QueuedJobCount
dup
iconst_0
invokespecial javax.print.attribute.standard.QueuedJobCount.<init>:(I)V
astore 2
start local 2 18: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ifnull 20
19: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
aload 2
invokevirtual javax.print.attribute.standard.QueuedJobCount.getName:()Ljava/lang/String;
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.print.AttributeClass
goto 21
20: StackMap locals: javax.print.attribute.standard.QueuedJobCount
StackMap stack:
aconst_null
21: StackMap locals:
StackMap stack: sun.print.AttributeClass
astore 3
start local 3 22: aload 3
ifnull 24
23: new javax.print.attribute.standard.QueuedJobCount
dup
aload 3
invokevirtual sun.print.AttributeClass.getIntValue:()I
invokespecial javax.print.attribute.standard.QueuedJobCount.<init>:(I)V
astore 2
24: StackMap locals: sun.print.AttributeClass
StackMap stack:
aload 2
areturn
end local 3 end local 2 25: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
if_acmpne 35
26: getstatic javax.print.attribute.standard.PrinterIsAcceptingJobs.ACCEPTING_JOBS:Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
27: astore 2
start local 2 28: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ifnull 30
29: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
aload 2
invokevirtual javax.print.attribute.standard.PrinterIsAcceptingJobs.getName:()Ljava/lang/String;
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.print.AttributeClass
goto 31
30: StackMap locals: javax.print.attribute.standard.PrinterIsAcceptingJobs
StackMap stack:
aconst_null
31: StackMap locals:
StackMap stack: sun.print.AttributeClass
astore 3
start local 3 32: aload 3
ifnull 34
aload 3
invokevirtual sun.print.AttributeClass.getByteValue:()B
ifne 34
33: getstatic javax.print.attribute.standard.PrinterIsAcceptingJobs.NOT_ACCEPTING_JOBS:Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
astore 2
34: StackMap locals: sun.print.AttributeClass
StackMap stack:
aload 2
areturn
end local 3 end local 2 35: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/ColorSupported;
if_acmpne 44
36: getstatic javax.print.attribute.standard.ColorSupported.SUPPORTED:Ljavax/print/attribute/standard/ColorSupported;
astore 2
start local 2 37: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ifnull 39
38: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
aload 2
invokevirtual javax.print.attribute.standard.ColorSupported.getName:()Ljava/lang/String;
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.print.AttributeClass
goto 40
39: StackMap locals: javax.print.attribute.standard.ColorSupported
StackMap stack:
aconst_null
40: StackMap locals:
StackMap stack: sun.print.AttributeClass
astore 3
start local 3 41: aload 3
ifnull 43
aload 3
invokevirtual sun.print.AttributeClass.getByteValue:()B
ifne 43
42: getstatic javax.print.attribute.standard.ColorSupported.NOT_SUPPORTED:Ljavax/print/attribute/standard/ColorSupported;
astore 2
43: StackMap locals: sun.print.AttributeClass
StackMap stack:
aload 2
areturn
end local 3 end local 2 44: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PDLOverrideSupported;
if_acmpne 48
45: aload 0
getfield sun.print.IPPPrintService.isCupsPrinter:Z
ifeq 47
46: getstatic javax.print.attribute.standard.PDLOverrideSupported.NOT_ATTEMPTED:Ljavax/print/attribute/standard/PDLOverrideSupported;
areturn
47: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.PDLOverrideSupported.NOT_ATTEMPTED:Ljavax/print/attribute/standard/PDLOverrideSupported;
areturn
48: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrinterURI;
if_acmpne 50
49: new javax.print.attribute.standard.PrinterURI
dup
aload 0
getfield sun.print.IPPPrintService.myURI:Ljava/net/URI;
invokespecial javax.print.attribute.standard.PrinterURI.<init>:(Ljava/net/URI;)V
areturn
50: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Lsun/print/IPPPrintService;
0 51 1 category Ljava/lang/Class<TT;>;
9 16 2 pInfo Ljavax/print/attribute/standard/PrinterInfo;
13 16 3 ac Lsun/print/AttributeClass;
18 25 2 qjc Ljavax/print/attribute/standard/QueuedJobCount;
22 25 3 ac Lsun/print/AttributeClass;
28 35 2 accJob Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
32 35 3 ac Lsun/print/AttributeClass;
37 44 2 cs Ljavax/print/attribute/standard/ColorSupported;
41 44 3 ac Lsun/print/AttributeClass;
Signature: <T::Ljavax/print/attribute/PrintServiceAttribute;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
category
public synchronized javax.print.attribute.PrintServiceAttributeSet getAttributes();
descriptor: ()Ljavax/print/attribute/PrintServiceAttributeSet;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.print.IPPPrintService.init:Z
1: aload 0
invokevirtual sun.print.IPPPrintService.initAttributes:()V
2: new javax.print.attribute.HashPrintServiceAttributeSet
dup
invokespecial javax.print.attribute.HashPrintServiceAttributeSet.<init>:()V
3: astore 1
start local 1 4: iconst_0
istore 2
start local 2 5: goto 13
6: StackMap locals: javax.print.attribute.HashPrintServiceAttributeSet int
StackMap stack:
getstatic sun.print.IPPPrintService.serviceAttributes:[[Ljava/lang/Object;
iload 2
aaload
iconst_1
aaload
checkcast java.lang.String
astore 3
start local 3 7: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ifnull 12
aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
aload 3
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 12
8: getstatic sun.print.IPPPrintService.serviceAttributes:[[Ljava/lang/Object;
iload 2
aaload
iconst_0
aaload
checkcast java.lang.Class
astore 4
start local 4 9: aload 0
aload 4
invokevirtual sun.print.IPPPrintService.getAttribute:(Ljava/lang/Class;)Ljavax/print/attribute/PrintServiceAttribute;
astore 5
start local 5 10: aload 5
ifnull 12
11: aload 1
aload 5
invokevirtual javax.print.attribute.HashPrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
end local 5 end local 4 end local 3 12: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
13: iload 2
getstatic sun.print.IPPPrintService.serviceAttributes:[[Ljava/lang/Object;
arraylength
if_icmplt 6
end local 2 14: aload 1
invokestatic javax.print.attribute.AttributeSetUtilities.unmodifiableView:(Ljavax/print/attribute/PrintServiceAttributeSet;)Ljavax/print/attribute/PrintServiceAttributeSet;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/print/IPPPrintService;
4 15 1 attrs Ljavax/print/attribute/HashPrintServiceAttributeSet;
5 14 2 i I
7 12 3 name Ljava/lang/String;
9 12 4 c Ljava/lang/Class<Ljavax/print/attribute/PrintServiceAttribute;>;
10 12 5 psa Ljavax/print/attribute/PrintServiceAttribute;
public boolean isIPPSupportedImages(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.print.IPPPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
ifnonnull 2
1: aload 0
invokevirtual sun.print.IPPPrintService.getSupportedDocFlavors:()[Ljavax/print/DocFlavor;
pop
2: StackMap locals:
StackMap stack:
aload 1
ldc "image/png"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
aload 0
getfield sun.print.IPPPrintService.pngImagesAdded:Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 1
ldc "image/gif"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
aload 0
getfield sun.print.IPPPrintService.gifImagesAdded:Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 1
ldc "image/jpeg"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
aload 0
getfield sun.print.IPPPrintService.jpgImagesAdded:Z
ifeq 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/print/IPPPrintService;
0 9 1 mimeType Ljava/lang/String;
MethodParameters:
Name Flags
mimeType
private boolean isSupportedCopies(javax.print.attribute.standard.Copies);
descriptor: (Ljavax/print/attribute/standard/Copies;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
ldc Ljavax/print/attribute/standard/Copies;
aconst_null
aconst_null
invokevirtual sun.print.IPPPrintService.getSupportedAttributeValues:(Ljava/lang/Class;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljava/lang/Object;
1: checkcast javax.print.attribute.standard.CopiesSupported
astore 2
start local 2 2: aload 2
invokevirtual javax.print.attribute.standard.CopiesSupported.getMembers:()[[I
astore 3
start local 3 3: aload 3
arraylength
ifle 7
aload 3
iconst_0
aaload
arraylength
ifle 7
4: aload 3
iconst_0
aaload
iconst_0
iaload
istore 4
start local 4 5: aload 3
iconst_0
aaload
iconst_1
iaload
istore 5
start local 5 6: goto 9
end local 5 end local 4 7: StackMap locals: javax.print.attribute.standard.CopiesSupported int[][]
StackMap stack:
iconst_1
istore 4
start local 4 8: getstatic sun.print.IPPPrintService.MAXCOPIES:I
istore 5
start local 5 9: StackMap locals: int int
StackMap stack:
aload 1
invokevirtual javax.print.attribute.standard.Copies.getValue:()I
istore 6
start local 6 10: iload 6
iload 4
if_icmplt 11
iload 6
iload 5
if_icmpgt 11
iconst_1
ireturn
StackMap locals: int
StackMap stack:
11: iconst_0
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/print/IPPPrintService;
0 12 1 copies Ljavax/print/attribute/standard/Copies;
2 12 2 cs Ljavax/print/attribute/standard/CopiesSupported;
3 12 3 members [[I
5 7 4 min I
8 12 4 min I
6 7 5 max I
9 12 5 max I
10 12 6 value I
MethodParameters:
Name Flags
copies
private boolean isAutoSense(javax.print.DocFlavor);
descriptor: (Ljavax/print/DocFlavor;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic javax.print.DocFlavor$BYTE_ARRAY.AUTOSENSE:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 3
1: aload 1
getstatic javax.print.DocFlavor$INPUT_STREAM.AUTOSENSE:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 3
2: aload 1
getstatic javax.print.DocFlavor$URL.AUTOSENSE:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 4
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/print/IPPPrintService;
0 5 1 flavor Ljavax/print/DocFlavor;
MethodParameters:
Name Flags
flavor
private synchronized boolean isSupportedMediaTray(javax.print.attribute.standard.MediaTray);
descriptor: (Ljavax/print/attribute/standard/MediaTray;)Z
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.print.IPPPrintService.initAttributes:()V
1: aload 0
getfield sun.print.IPPPrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
ifnull 8
2: iconst_0
istore 2
start local 2 3: goto 7
4: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield sun.print.IPPPrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
iload 2
aaload
invokevirtual javax.print.attribute.standard.MediaTray.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield sun.print.IPPPrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
arraylength
if_icmplt 4
end local 2 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/print/IPPPrintService;
0 9 1 msn Ljavax/print/attribute/standard/MediaTray;
3 8 2 i I
MethodParameters:
Name Flags
msn
private synchronized boolean isSupportedMedia(javax.print.attribute.standard.MediaSizeName);
descriptor: (Ljavax/print/attribute/standard/MediaSizeName;)Z
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.print.IPPPrintService.initAttributes:()V
1: aload 1
aload 0
ldc Ljavax/print/attribute/standard/Media;
invokevirtual sun.print.IPPPrintService.getDefaultAttributeValue:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.print.attribute.standard.Media
invokevirtual javax.print.attribute.standard.MediaSizeName.equals:(Ljava/lang/Object;)Z
ifeq 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 4: goto 9
5: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
ldc "IPPPrintService>> isSupportedMedia, mediaSizeNames[i] "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
6: aload 1
aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
iload 2
aaload
invokevirtual javax.print.attribute.standard.MediaSizeName.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
if_icmplt 5
end local 2 10: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/print/IPPPrintService;
0 11 1 msn Ljavax/print/attribute/standard/MediaSizeName;
4 10 2 i I
MethodParameters:
Name Flags
msn
private boolean isDestinationSupported(javax.print.DocFlavor, javax.print.attribute.AttributeSet);
descriptor: (Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 6
1: aload 2
ldc Ljavax/print/attribute/standard/Destination;
invokeinterface javax.print.attribute.AttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
ifnull 6
2: aload 1
ifnull 6
3: aload 1
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 6
4: aload 1
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/print/IPPPrintService;
0 7 1 flavor Ljavax/print/DocFlavor;
0 7 2 attributes Ljavax/print/attribute/AttributeSet;
MethodParameters:
Name Flags
flavor
attributes
public boolean isAttributeValueSupported(javax.print.attribute.Attribute, javax.print.DocFlavor, javax.print.attribute.AttributeSet);
descriptor: (Ljavax/print/attribute/Attribute;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "null attribute"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
ifnull 9
3: aload 0
aload 2
invokevirtual sun.print.IPPPrintService.isDocFlavorSupported:(Ljavax/print/DocFlavor;)Z
ifne 7
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
5: ldc " is an unsupported flavor"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual sun.print.IPPPrintService.isAutoSense:(Ljavax/print/DocFlavor;)Z
ifeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
astore 4
start local 4 10: aload 0
aload 4
invokevirtual sun.print.IPPPrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 12
11: iconst_0
ireturn
12: StackMap locals: java.lang.Class
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual sun.print.IPPPrintService.isDestinationSupported:(Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
ifne 14
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/Chromaticity;
if_acmpne 22
15: aload 2
ifnull 19
16: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 19
17: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 19
18: aload 0
aload 2
invokevirtual javax.print.DocFlavor.getMimeType:()Ljava/lang/String;
invokevirtual sun.print.IPPPrintService.isIPPSupportedImages:(Ljava/lang/String;)Z
ifne 21
19: StackMap locals:
StackMap stack:
aload 1
getstatic javax.print.attribute.standard.Chromaticity.COLOR:Ljavax/print/attribute/standard/Chromaticity;
if_acmpne 20
iconst_1
ireturn
StackMap locals:
StackMap stack:
20: iconst_0
ireturn
21: StackMap locals:
StackMap stack:
iconst_0
ireturn
22: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/Copies;
if_acmpne 30
23: aload 2
ifnull 27
24: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.POSTSCRIPT:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 29
25: aload 2
getstatic javax.print.DocFlavor$URL.POSTSCRIPT:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 29
26: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.POSTSCRIPT:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 29
27: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast javax.print.attribute.standard.Copies
invokevirtual sun.print.IPPPrintService.isSupportedCopies:(Ljavax/print/attribute/standard/Copies;)Z
ifeq 29
28: iconst_1
ireturn
StackMap locals:
StackMap stack:
29: iconst_0
ireturn
30: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/Destination;
if_acmpne 39
31: aload 2
ifnull 34
32: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 34
33: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 38
34: StackMap locals:
StackMap stack:
aload 1
checkcast javax.print.attribute.standard.Destination
invokevirtual javax.print.attribute.standard.Destination.getURI:()Ljava/net/URI;
astore 5
start local 5 35: ldc "file"
aload 5
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 38
36: aload 5
invokevirtual java.net.URI.getSchemeSpecificPart:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
37: iconst_1
ireturn
end local 5 38: StackMap locals:
StackMap stack:
iconst_0
ireturn
39: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/Media;
if_acmpne 44
40: aload 1
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 42
41: aload 0
aload 1
checkcast javax.print.attribute.standard.MediaSizeName
invokevirtual sun.print.IPPPrintService.isSupportedMedia:(Ljavax/print/attribute/standard/MediaSizeName;)Z
ireturn
42: StackMap locals:
StackMap stack:
aload 1
instanceof javax.print.attribute.standard.MediaTray
ifeq 83
43: aload 0
aload 1
checkcast javax.print.attribute.standard.MediaTray
invokevirtual sun.print.IPPPrintService.isSupportedMediaTray:(Ljavax/print/attribute/standard/MediaTray;)Z
ireturn
44: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/PageRanges;
if_acmpne 49
45: aload 2
ifnull 83
46: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 83
47: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 83
48: iconst_0
ireturn
49: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/SheetCollate;
if_acmpne 54
50: aload 2
ifnull 83
51: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 83
52: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 83
53: iconst_0
ireturn
54: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/Sides;
if_acmpne 68
55: aload 0
56: ldc Ljavax/print/attribute/standard/Sides;
57: aload 2
58: aload 3
59: invokevirtual sun.print.IPPPrintService.getSupportedAttributeValues:(Ljava/lang/Class;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljava/lang/Object;
checkcast javax.print.attribute.standard.Sides[]
astore 5
start local 5 60: aload 5
ifnull 67
61: iconst_0
istore 6
start local 6 62: goto 66
63: StackMap locals: javax.print.attribute.standard.Sides[] int
StackMap stack:
aload 5
iload 6
aaload
aload 1
checkcast javax.print.attribute.standard.Sides
if_acmpne 65
64: iconst_1
ireturn
65: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
66: iload 6
aload 5
arraylength
if_icmplt 63
end local 6 67: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 5 68: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 83
69: aload 0
70: ldc Ljavax/print/attribute/standard/OrientationRequested;
71: aload 2
72: aload 3
73: invokevirtual sun.print.IPPPrintService.getSupportedAttributeValues:(Ljava/lang/Class;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljava/lang/Object;
checkcast javax.print.attribute.standard.OrientationRequested[]
74: astore 5
start local 5 75: aload 5
ifnull 82
76: iconst_0
istore 6
start local 6 77: goto 81
78: StackMap locals: javax.print.attribute.standard.OrientationRequested[] int
StackMap stack:
aload 5
iload 6
aaload
aload 1
checkcast javax.print.attribute.standard.OrientationRequested
if_acmpne 80
79: iconst_1
ireturn
80: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
81: iload 6
aload 5
arraylength
if_icmplt 78
end local 6 82: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 5 83: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/PrinterResolution;
if_acmpne 86
84: aload 1
instanceof javax.print.attribute.standard.PrinterResolution
ifeq 86
85: aload 0
aload 1
checkcast javax.print.attribute.standard.PrinterResolution
invokevirtual sun.print.IPPPrintService.isSupportedResolution:(Ljavax/print/attribute/standard/PrinterResolution;)Z
ireturn
86: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 87 0 this Lsun/print/IPPPrintService;
0 87 1 attr Ljavax/print/attribute/Attribute;
0 87 2 flavor Ljavax/print/DocFlavor;
0 87 3 attributes Ljavax/print/attribute/AttributeSet;
10 87 4 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
35 38 5 uri Ljava/net/URI;
60 68 5 sidesArray [Ljavax/print/attribute/standard/Sides;
62 67 6 i I
75 83 5 orientArray [Ljavax/print/attribute/standard/OrientationRequested;
77 82 6 i I
MethodParameters:
Name Flags
attr
flavor
attributes
public synchronized getDefaultAttributeValue(java.lang.Class<? extends javax.print.attribute.Attribute>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "null category"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc Ljavax/print/attribute/Attribute;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 6
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: ldc " is not an Attribute"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.print.IPPPrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 8
7: aconst_null
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.IPPPrintService.initAttributes:()V
9: aconst_null
astore 2
start local 2 10: iconst_0
istore 3
start local 3 11: goto 18
12: StackMap locals: java.lang.String int
StackMap stack:
getstatic sun.print.IPPPrintService.printReqAttribDefault:[Ljava/lang/Object;
iload 3
aaload
checkcast javax.print.attribute.PrintRequestAttribute
13: astore 4
start local 4 14: aload 4
invokeinterface javax.print.attribute.PrintRequestAttribute.getCategory:()Ljava/lang/Class;
aload 1
if_acmpne 17
15: aload 4
invokeinterface javax.print.attribute.PrintRequestAttribute.getName:()Ljava/lang/String;
astore 2
16: goto 19
end local 4 17: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
18: iload 3
getstatic sun.print.IPPPrintService.printReqAttribDefault:[Ljava/lang/Object;
arraylength
if_icmplt 12
end local 3 19: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-default"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 20: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
ifnull 22
21: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
aload 3
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.print.AttributeClass
goto 23
StackMap locals: java.lang.String
StackMap stack:
22: aconst_null
23: StackMap locals:
StackMap stack: sun.print.AttributeClass
astore 4
start local 4 24: aload 1
ldc Ljavax/print/attribute/standard/Copies;
if_acmpne 28
25: aload 4
ifnull 27
26: new javax.print.attribute.standard.Copies
dup
aload 4
invokevirtual sun.print.AttributeClass.getIntValue:()I
invokespecial javax.print.attribute.standard.Copies.<init>:(I)V
areturn
27: StackMap locals: sun.print.AttributeClass
StackMap stack:
new javax.print.attribute.standard.Copies
dup
iconst_1
invokespecial javax.print.attribute.standard.Copies.<init>:(I)V
areturn
28: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Chromaticity;
if_acmpne 30
29: getstatic javax.print.attribute.standard.Chromaticity.COLOR:Ljavax/print/attribute/standard/Chromaticity;
areturn
30: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Destination;
if_acmpne 38
31: new javax.print.attribute.standard.Destination
dup
new java.io.File
dup
ldc "out.ps"
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokespecial javax.print.attribute.standard.Destination.<init>:(Ljava/net/URI;)V
32: areturn
33: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
34: new javax.print.attribute.standard.Destination
dup
new java.net.URI
dup
ldc "file:out.ps"
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
invokespecial javax.print.attribute.standard.Destination.<init>:(Ljava/net/URI;)V
35: areturn
36: StackMap locals:
StackMap stack: java.net.URISyntaxException
pop
37: aconst_null
areturn
38: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Fidelity;
if_acmpne 40
39: getstatic javax.print.attribute.standard.Fidelity.FIDELITY_FALSE:Ljavax/print/attribute/standard/Fidelity;
areturn
40: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Finishings;
if_acmpne 42
41: getstatic javax.print.attribute.standard.Finishings.NONE:Ljavax/print/attribute/standard/Finishings;
areturn
42: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/JobName;
if_acmpne 44
43: new javax.print.attribute.standard.JobName
dup
ldc "Java Printing"
aconst_null
invokespecial javax.print.attribute.standard.JobName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
areturn
44: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/JobSheets;
if_acmpne 49
45: aload 4
ifnull 48
46: aload 4
invokevirtual sun.print.AttributeClass.getStringValue:()Ljava/lang/String;
ldc "none"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 48
47: getstatic javax.print.attribute.standard.JobSheets.NONE:Ljavax/print/attribute/standard/JobSheets;
areturn
48: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.JobSheets.STANDARD:Ljavax/print/attribute/standard/JobSheets;
areturn
49: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Media;
if_acmpne 72
50: aload 0
getfield sun.print.IPPPrintService.defaultMediaIndex:I
iconst_m1
if_icmpne 52
51: aload 0
iconst_0
putfield sun.print.IPPPrintService.defaultMediaIndex:I
52: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
ifne 60
53: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
astore 5
start local 5 54: aload 5
ifnull 59
55: aload 5
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 58
56: aload 5
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 58
57: aload 5
getstatic java.util.Locale.CANADA:Ljava/util/Locale;
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 59
58: StackMap locals: java.lang.String
StackMap stack:
getstatic javax.print.attribute.standard.MediaSizeName.NA_LETTER:Ljavax/print/attribute/standard/MediaSizeName;
areturn
59: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.MediaSizeName.ISO_A4:Ljavax/print/attribute/standard/MediaSizeName;
areturn
end local 5 60: StackMap locals:
StackMap stack:
aload 4
ifnull 71
61: aload 4
invokevirtual sun.print.AttributeClass.getStringValue:()Ljava/lang/String;
astore 5
start local 5 62: aload 0
getfield sun.print.IPPPrintService.isCupsPrinter:Z
ifeq 64
63: aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
aload 0
getfield sun.print.IPPPrintService.defaultMediaIndex:I
aaload
areturn
64: StackMap locals: java.lang.String
StackMap stack:
iconst_0
istore 6
start local 6 65: goto 70
66: StackMap locals: int
StackMap stack:
aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
iload 6
aaload
invokevirtual javax.print.attribute.standard.MediaSizeName.toString:()Ljava/lang/String;
aload 5
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 69
67: aload 0
iload 6
putfield sun.print.IPPPrintService.defaultMediaIndex:I
68: aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
aload 0
getfield sun.print.IPPPrintService.defaultMediaIndex:I
aaload
areturn
69: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
70: iload 6
aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
if_icmplt 66
end local 6 end local 5 71: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.IPPPrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
aload 0
getfield sun.print.IPPPrintService.defaultMediaIndex:I
aaload
areturn
72: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/MediaPrintableArea;
if_acmpne 92
73: aload 0
getfield sun.print.IPPPrintService.cps:Lsun/print/CUPSPrinter;
ifnull 79
74: aload 0
getfield sun.print.IPPPrintService.cps:Lsun/print/CUPSPrinter;
invokevirtual sun.print.CUPSPrinter.getMediaPrintableArea:()[Ljavax/print/attribute/standard/MediaPrintableArea;
dup
astore 5
start local 5 75: ifnull 79
76: aload 0
getfield sun.print.IPPPrintService.defaultMediaIndex:I
iconst_m1
if_icmpne 78
77: aload 0
ldc Ljavax/print/attribute/standard/Media;
invokevirtual sun.print.IPPPrintService.getDefaultAttributeValue:(Ljava/lang/Class;)Ljava/lang/Object;
pop
78: StackMap locals: javax.print.attribute.standard.MediaPrintableArea[]
StackMap stack:
aload 5
aload 0
getfield sun.print.IPPPrintService.defaultMediaIndex:I
aaload
areturn
end local 5 79: StackMap locals:
StackMap stack:
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
astore 6
start local 6 80: aload 6
ifnull 87
81: aload 6
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 84
82: aload 6
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 84
83: aload 6
getstatic java.util.Locale.CANADA:Ljava/util/Locale;
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 87
84: StackMap locals: sun.print.IPPPrintService java.lang.Class java.lang.String java.lang.String sun.print.AttributeClass top java.lang.String
StackMap stack:
getstatic javax.print.attribute.standard.MediaSize$NA.LETTER:Ljavax/print/attribute/standard/MediaSize;
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
ldc 0.5
fsub
fstore 7
start local 7 85: getstatic javax.print.attribute.standard.MediaSize$NA.LETTER:Ljavax/print/attribute/standard/MediaSize;
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
ldc 0.5
fsub
fstore 8
start local 8 86: goto 89
end local 8 end local 7 87: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.MediaSize$ISO.A4:Ljavax/print/attribute/standard/MediaSize;
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
ldc 0.5
fsub
fstore 7
start local 7 88: getstatic javax.print.attribute.standard.MediaSize$ISO.A4:Ljavax/print/attribute/standard/MediaSize;
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
ldc 0.5
fsub
fstore 8
start local 8 89: StackMap locals: float float
StackMap stack:
new javax.print.attribute.standard.MediaPrintableArea
dup
ldc 0.25
ldc 0.25
fload 7
fload 8
90: sipush 25400
91: invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
areturn
end local 8 end local 7 end local 6 92: StackMap locals: sun.print.IPPPrintService java.lang.Class java.lang.String java.lang.String sun.print.AttributeClass
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/NumberUp;
if_acmpne 94
93: new javax.print.attribute.standard.NumberUp
dup
iconst_1
invokespecial javax.print.attribute.standard.NumberUp.<init>:(I)V
areturn
94: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 102
95: aload 4
ifnull 101
96: aload 4
invokevirtual sun.print.AttributeClass.getIntValue:()I
tableswitch { // 3 - 6
3: 97
4: 98
5: 99
6: 100
default: 97
}
97: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.OrientationRequested.PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
areturn
98: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.OrientationRequested.LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
areturn
99: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.OrientationRequested.REVERSE_LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
areturn
100: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.OrientationRequested.REVERSE_PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
areturn
101: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.OrientationRequested.PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
areturn
102: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PageRanges;
if_acmpne 107
103: aload 4
ifnull 106
104: aload 4
invokevirtual sun.print.AttributeClass.getIntRangeValue:()[I
astore 5
start local 5 105: new javax.print.attribute.standard.PageRanges
dup
aload 5
iconst_0
iaload
aload 5
iconst_1
iaload
invokespecial javax.print.attribute.standard.PageRanges.<init>:(II)V
areturn
end local 5 106: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.PageRanges
dup
iconst_1
ldc 2147483647
invokespecial javax.print.attribute.standard.PageRanges.<init>:(II)V
areturn
107: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/RequestingUserName;
if_acmpne 113
108: ldc ""
astore 5
start local 5 109: ldc "user.name"
ldc ""
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 5
110: goto 112
StackMap locals: sun.print.IPPPrintService java.lang.Class java.lang.String java.lang.String sun.print.AttributeClass java.lang.String
StackMap stack: java.lang.SecurityException
111: pop
112: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.RequestingUserName
dup
aload 5
aconst_null
invokespecial javax.print.attribute.standard.RequestingUserName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
areturn
end local 5 113: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/SheetCollate;
if_acmpne 115
114: getstatic javax.print.attribute.standard.SheetCollate.UNCOLLATED:Ljavax/print/attribute/standard/SheetCollate;
areturn
115: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Sides;
if_acmpne 125
116: aload 4
ifnull 124
117: aload 4
invokevirtual sun.print.AttributeClass.getStringValue:()Ljava/lang/String;
ldc "long-edge"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 119
118: getstatic javax.print.attribute.standard.Sides.TWO_SIDED_LONG_EDGE:Ljavax/print/attribute/standard/Sides;
areturn
119: StackMap locals:
StackMap stack:
aload 4
invokevirtual sun.print.AttributeClass.getStringValue:()Ljava/lang/String;
120: ldc "short-edge"
121: invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
122: ifeq 124
123: getstatic javax.print.attribute.standard.Sides.TWO_SIDED_SHORT_EDGE:Ljavax/print/attribute/standard/Sides;
areturn
124: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.Sides.ONE_SIDED:Ljavax/print/attribute/standard/Sides;
areturn
125: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrinterResolution;
if_acmpne 130
126: aload 0
invokevirtual sun.print.IPPPrintService.getPrintResolutions:()[Ljavax/print/attribute/standard/PrinterResolution;
astore 5
start local 5 127: aload 5
ifnull 129
aload 5
arraylength
ifle 129
128: aload 5
iconst_0
aaload
areturn
129: StackMap locals: javax.print.attribute.standard.PrinterResolution[]
StackMap stack:
new javax.print.attribute.standard.PrinterResolution
dup
sipush 300
sipush 300
bipush 100
invokespecial javax.print.attribute.standard.PrinterResolution.<init>:(III)V
areturn
end local 5 130: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 131 0 this Lsun/print/IPPPrintService;
0 131 1 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
10 131 2 catName Ljava/lang/String;
11 19 3 i I
14 17 4 pra Ljavax/print/attribute/PrintRequestAttribute;
20 131 3 attribName Ljava/lang/String;
24 131 4 attribClass Lsun/print/AttributeClass;
54 60 5 defaultCountry Ljava/lang/String;
62 71 5 name Ljava/lang/String;
65 71 6 i I
75 79 5 mpas [Ljavax/print/attribute/standard/MediaPrintableArea;
80 92 6 defaultCountry Ljava/lang/String;
85 87 7 iw F
88 92 7 iw F
86 87 8 ih F
89 92 8 ih F
105 106 5 range [I
109 113 5 userName Ljava/lang/String;
127 130 5 supportedRes [Ljavax/print/attribute/standard/PrinterResolution;
Exception table:
from to target type
31 32 33 Class java.lang.SecurityException
34 35 36 Class java.net.URISyntaxException
109 110 111 Class java.lang.SecurityException
Signature: (Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;)Ljava/lang/Object;
MethodParameters:
Name Flags
category
private javax.print.attribute.standard.PrinterResolution[] getPrintResolutions();
descriptor: ()[Ljavax/print/attribute/standard/PrinterResolution;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.print.IPPPrintService.printerResolutions:[Ljavax/print/attribute/standard/PrinterResolution;
ifnonnull 15
1: aload 0
getfield sun.print.IPPPrintService.rawResolutions:[I
ifnonnull 4
2: aload 0
iconst_0
anewarray javax.print.attribute.standard.PrinterResolution
putfield sun.print.IPPPrintService.printerResolutions:[Ljavax/print/attribute/standard/PrinterResolution;
3: goto 15
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.IPPPrintService.rawResolutions:[I
arraylength
iconst_2
idiv
istore 1
start local 1 5: iload 1
anewarray javax.print.attribute.standard.PrinterResolution
astore 2
start local 2 6: iconst_0
istore 3
start local 3 7: goto 13
8: StackMap locals: int javax.print.attribute.standard.PrinterResolution[] int
StackMap stack:
aload 2
iload 3
new javax.print.attribute.standard.PrinterResolution
dup
aload 0
getfield sun.print.IPPPrintService.rawResolutions:[I
iload 3
iconst_2
imul
iaload
9: aload 0
getfield sun.print.IPPPrintService.rawResolutions:[I
iload 3
iconst_2
imul
iconst_1
iadd
iaload
10: bipush 100
invokespecial javax.print.attribute.standard.PrinterResolution.<init>:(III)V
11: aastore
12: iinc 3 1
StackMap locals:
StackMap stack:
13: iload 3
iload 1
if_icmplt 8
end local 3 14: aload 0
aload 2
putfield sun.print.IPPPrintService.printerResolutions:[Ljavax/print/attribute/standard/PrinterResolution;
end local 2 end local 1 15: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.IPPPrintService.printerResolutions:[Ljavax/print/attribute/standard/PrinterResolution;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/print/IPPPrintService;
5 15 1 numRes I
6 15 2 pres [Ljavax/print/attribute/standard/PrinterResolution;
7 14 3 i I
private boolean isSupportedResolution(javax.print.attribute.standard.PrinterResolution);
descriptor: (Ljavax/print/attribute/standard/PrinterResolution;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.print.IPPPrintService.getPrintResolutions:()[Ljavax/print/attribute/standard/PrinterResolution;
astore 2
start local 2 1: aload 2
ifnull 8
2: iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: javax.print.attribute.standard.PrinterResolution[] int
StackMap stack:
aload 1
aload 2
iload 3
aaload
invokevirtual javax.print.attribute.standard.PrinterResolution.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 2
arraylength
if_icmplt 4
end local 3 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/print/IPPPrintService;
0 9 1 res Ljavax/print/attribute/standard/PrinterResolution;
1 9 2 supportedRes [Ljavax/print/attribute/standard/PrinterResolution;
3 8 3 i I
MethodParameters:
Name Flags
res
public javax.print.ServiceUIFactory getServiceUIFactory();
descriptor: ()Ljavax/print/ServiceUIFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/IPPPrintService;
public void wakeNotifier();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield sun.print.IPPPrintService.notifier:Lsun/print/ServiceNotifier;
ifnull 3
2: aload 0
getfield sun.print.IPPPrintService.notifier:Lsun/print/ServiceNotifier;
invokevirtual sun.print.ServiceNotifier.wake:()V
3: StackMap locals: sun.print.IPPPrintService
StackMap stack:
aload 1
monitorexit
4: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/print/IPPPrintService;
Exception table:
from to target type
1 4 5 any
5 6 5 any
public void addPrintServiceAttributeListener(javax.print.event.PrintServiceAttributeListener);
descriptor: (Ljavax/print/event/PrintServiceAttributeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 1
ifnonnull 4
2: aload 2
monitorexit
3: return
4: StackMap locals: sun.print.IPPPrintService
StackMap stack:
aload 0
getfield sun.print.IPPPrintService.notifier:Lsun/print/ServiceNotifier;
ifnonnull 6
5: aload 0
new sun.print.ServiceNotifier
dup
aload 0
invokespecial sun.print.ServiceNotifier.<init>:(Ljavax/print/PrintService;)V
putfield sun.print.IPPPrintService.notifier:Lsun/print/ServiceNotifier;
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.IPPPrintService.notifier:Lsun/print/ServiceNotifier;
aload 1
invokevirtual sun.print.ServiceNotifier.addListener:(Ljavax/print/event/PrintServiceAttributeListener;)V
7: aload 2
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/print/IPPPrintService;
0 12 1 listener Ljavax/print/event/PrintServiceAttributeListener;
Exception table:
from to target type
1 3 9 any
4 8 9 any
9 10 9 any
MethodParameters:
Name Flags
listener
public void removePrintServiceAttributeListener(javax.print.event.PrintServiceAttributeListener);
descriptor: (Ljavax/print/event/PrintServiceAttributeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 1
ifnull 2
aload 0
getfield sun.print.IPPPrintService.notifier:Lsun/print/ServiceNotifier;
ifnonnull 4
2: StackMap locals: sun.print.IPPPrintService
StackMap stack:
aload 2
monitorexit
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.IPPPrintService.notifier:Lsun/print/ServiceNotifier;
aload 1
invokevirtual sun.print.ServiceNotifier.removeListener:(Ljavax/print/event/PrintServiceAttributeListener;)V
5: aload 0
getfield sun.print.IPPPrintService.notifier:Lsun/print/ServiceNotifier;
invokevirtual sun.print.ServiceNotifier.isEmpty:()Z
ifeq 8
6: aload 0
getfield sun.print.IPPPrintService.notifier:Lsun/print/ServiceNotifier;
invokevirtual sun.print.ServiceNotifier.stopNotifier:()V
7: aload 0
aconst_null
putfield sun.print.IPPPrintService.notifier:Lsun/print/ServiceNotifier;
8: StackMap locals:
StackMap stack:
aload 2
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/print/IPPPrintService;
0 13 1 listener Ljavax/print/event/PrintServiceAttributeListener;
Exception table:
from to target type
1 3 10 any
4 9 10 any
10 11 10 any
MethodParameters:
Name Flags
listener
java.lang.String getDest();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.print.IPPPrintService.printer:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/IPPPrintService;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: invokestatic sun.print.PrintServiceLookupProvider.isMac:()Z
ifeq 6
1: aload 0
invokevirtual sun.print.IPPPrintService.getAttributes:()Ljavax/print/attribute/PrintServiceAttributeSet;
astore 1
start local 1 2: aload 1
ifnull 6
3: aload 1
ldc Ljavax/print/attribute/standard/PrinterInfo;
invokeinterface javax.print.attribute.PrintServiceAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.PrinterInfo
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 2
invokevirtual javax.print.attribute.standard.PrinterInfo.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.IPPPrintService.printer:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/print/IPPPrintService;
2 6 1 psaSet Ljavax/print/attribute/PrintServiceAttributeSet;
4 6 2 pName Ljavax/print/attribute/standard/PrinterInfo;
public boolean usesClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Lsun/print/PSPrinterJob;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/print/IPPPrintService;
0 2 1 c Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
c
public static java.net.HttpURLConnection getIPPConnection(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/net/HttpURLConnection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
astore 2
start local 2 1: goto 4
end local 2 StackMap locals:
StackMap stack: java.io.IOException
2: pop
3: aconst_null
areturn
start local 2 4: StackMap locals: java.net.URL top java.net.URLConnection
StackMap stack:
aload 2
instanceof java.net.HttpURLConnection
ifne 6
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
aload 2
checkcast java.net.HttpURLConnection
astore 1
start local 1 7: aload 1
iconst_0
invokevirtual java.net.HttpURLConnection.setUseCaches:(Z)V
8: aload 1
iconst_1
invokevirtual java.net.HttpURLConnection.setDoInput:(Z)V
9: aload 1
iconst_1
invokevirtual java.net.HttpURLConnection.setDoOutput:(Z)V
10: aload 1
ldc "Content-type"
ldc "application/ipp"
invokevirtual java.net.HttpURLConnection.setRequestProperty:(Ljava/lang/String;Ljava/lang/String;)V
11: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 url Ljava/net/URL;
7 12 1 connection Ljava/net/HttpURLConnection;
1 2 2 urlc Ljava/net/URLConnection;
4 12 2 urlc Ljava/net/URLConnection;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
url
public synchronized boolean isPostscript();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.print.IPPPrintService.isPS:Ljava/lang/Boolean;
ifnonnull 21
1: aload 0
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
putfield sun.print.IPPPrintService.isPS:Ljava/lang/Boolean;
2: aload 0
getfield sun.print.IPPPrintService.isCupsPrinter:Z
ifeq 21
3: aload 0
4: new java.net.URL
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield sun.print.IPPPrintService.myURL:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ".ppd"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
5: invokestatic sun.print.IPPPrintService.getIPPConnection:(Ljava/net/URL;)Ljava/net/HttpURLConnection;
putfield sun.print.IPPPrintService.urlConnection:Ljava/net/HttpURLConnection;
6: aload 0
getfield sun.print.IPPPrintService.urlConnection:Ljava/net/HttpURLConnection;
invokevirtual java.net.HttpURLConnection.getInputStream:()Ljava/io/InputStream;
astore 1
start local 1 7: aload 1
ifnull 21
8: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 1
9: ldc "ISO-8859-1"
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
10: invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
11: astore 2
start local 2 12: goto 16
start local 3 13: StackMap locals: java.io.InputStream java.io.BufferedReader java.lang.String
StackMap stack:
aload 3
ldc "*cupsFilter:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 16
14: aload 0
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
putfield sun.print.IPPPrintService.isPS:Ljava/lang/Boolean;
15: goto 21
end local 3 16: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
dup
astore 3
start local 3 17: ifnonnull 13
end local 3 end local 2 end local 1 18: goto 21
StackMap locals: sun.print.IPPPrintService
StackMap stack: java.io.IOException
19: astore 1
start local 1 20: new java.lang.StringBuilder
dup
ldc " isPostscript, e= "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
end local 1 21: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.IPPPrintService.isPS:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/print/IPPPrintService;
7 18 1 is Ljava/io/InputStream;
12 18 2 d Ljava/io/BufferedReader;
13 16 3 lineStr Ljava/lang/String;
17 18 3 lineStr Ljava/lang/String;
20 21 1 e Ljava/io/IOException;
Exception table:
from to target type
3 18 19 Class java.io.IOException
private void opGetAttributes();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=10, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "IPPPrintService>> opGetAttributes myURI "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.print.IPPPrintService.myURI:Ljava/net/URI;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " myURL "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.print.IPPPrintService.myURL:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
1: iconst_2
anewarray sun.print.AttributeClass
dup
iconst_0
2: getstatic sun.print.AttributeClass.ATTRIBUTES_CHARSET:Lsun/print/AttributeClass;
aastore
dup
iconst_1
3: getstatic sun.print.AttributeClass.ATTRIBUTES_NATURAL_LANGUAGE:Lsun/print/AttributeClass;
aastore
4: astore 1
start local 1 5: iconst_3
anewarray sun.print.AttributeClass
dup
iconst_0
6: getstatic sun.print.AttributeClass.ATTRIBUTES_CHARSET:Lsun/print/AttributeClass;
aastore
dup
iconst_1
7: getstatic sun.print.AttributeClass.ATTRIBUTES_NATURAL_LANGUAGE:Lsun/print/AttributeClass;
aastore
dup
iconst_2
8: new sun.print.AttributeClass
dup
ldc "printer-uri"
9: bipush 69
10: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield sun.print.IPPPrintService.myURI:Ljava/net/URI;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial sun.print.AttributeClass.<init>:(Ljava/lang/String;ILjava/lang/Object;)V
aastore
12: astore 2
start local 2 13: new sun.print.IPPPrintService$1
dup
aload 0
invokespecial sun.print.IPPPrintService$1.<init>:(Lsun/print/IPPPrintService;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.io.OutputStream
14: astore 3
start local 3 15: aload 3
ifnonnull 17
16: return
17: StackMap locals: sun.print.AttributeClass[] sun.print.AttributeClass[] java.io.OutputStream
StackMap stack:
aload 0
getfield sun.print.IPPPrintService.myURI:Ljava/net/URI;
ifnonnull 19
18: aload 3
ldc "000B"
aload 1
invokestatic sun.print.IPPPrintService.writeIPPRequest:(Ljava/io/OutputStream;Ljava/lang/String;[Lsun/print/AttributeClass;)Z
goto 20
19: StackMap locals:
StackMap stack:
aload 3
ldc "000B"
aload 2
invokestatic sun.print.IPPPrintService.writeIPPRequest:(Ljava/io/OutputStream;Ljava/lang/String;[Lsun/print/AttributeClass;)Z
20: StackMap locals:
StackMap stack: int
istore 4
start local 4 21: iload 4
ifeq 40
22: aconst_null
astore 5
start local 5 23: aload 0
getfield sun.print.IPPPrintService.urlConnection:Ljava/net/HttpURLConnection;
invokevirtual java.net.HttpURLConnection.getInputStream:()Ljava/io/InputStream;
dup
astore 5
ifnull 38
24: aload 5
invokestatic sun.print.IPPPrintService.readIPPResponse:(Ljava/io/InputStream;)[Ljava/util/HashMap;
astore 6
start local 6 25: aload 6
ifnull 39
aload 6
arraylength
ifle 39
26: aload 0
aload 6
iconst_0
aaload
putfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
27: aload 6
arraylength
iconst_1
if_icmple 39
28: iconst_1
istore 7
start local 7 29: goto 36
30: StackMap locals: sun.print.IPPPrintService sun.print.AttributeClass[] sun.print.AttributeClass[] java.io.OutputStream int java.io.InputStream java.util.HashMap[] int
StackMap stack:
aload 6
iload 7
aaload
invokevirtual java.util.HashMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 34
StackMap locals: sun.print.IPPPrintService sun.print.AttributeClass[] sun.print.AttributeClass[] java.io.OutputStream int java.io.InputStream java.util.HashMap[] int top java.util.Iterator
StackMap stack:
31: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 8
start local 8 32: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
aload 8
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifne 34
33: aload 0
getfield sun.print.IPPPrintService.getAttMap:Ljava/util/HashMap;
aload 8
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 8
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast sun.print.AttributeClass
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 34: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 31
35: iinc 7 1
StackMap locals: sun.print.IPPPrintService sun.print.AttributeClass[] sun.print.AttributeClass[] java.io.OutputStream int java.io.InputStream java.util.HashMap[] int
StackMap stack:
36: iload 7
aload 6
arraylength
if_icmplt 30
end local 7 end local 6 37: goto 39
38: StackMap locals:
StackMap stack:
ldc "IPPPrintService>> opGetAttributes - null input stream"
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
39: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.io.InputStream.close:()V
end local 5 40: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.io.OutputStream.close:()V
end local 4 end local 3 end local 2 end local 1 41: goto 44
StackMap locals: sun.print.IPPPrintService
StackMap stack: java.io.IOException
42: astore 1
start local 1 43: new java.lang.StringBuilder
dup
ldc "IPPPrintService>> opGetAttributes - input/output stream: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
end local 1 44: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Lsun/print/IPPPrintService;
5 41 1 attClNoUri [Lsun/print/AttributeClass;
13 41 2 attCl [Lsun/print/AttributeClass;
15 41 3 os Ljava/io/OutputStream;
21 41 4 success Z
23 40 5 is Ljava/io/InputStream;
25 37 6 responseMap [Ljava/util/HashMap;
29 37 7 i I
32 34 8 entry Ljava/util/Map$Entry<Ljava/lang/String;Lsun/print/AttributeClass;>;
43 44 1 e Ljava/io/IOException;
Exception table:
from to target type
0 16 42 Class java.io.IOException
17 41 42 Class java.io.IOException
public static boolean writeIPPRequest(java.io.OutputStream, java.lang.String, sun.print.AttributeClass[]);
descriptor: (Ljava/io/OutputStream;Ljava/lang/String;[Lsun/print/AttributeClass;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: new java.io.OutputStreamWriter
dup
aload 0
ldc "UTF-8"
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/lang/String;)V
astore 3
start local 3 1: goto 5
end local 3 StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
2: astore 4
start local 4 3: new java.lang.StringBuilder
dup
ldc "IPPPrintService>> writeIPPRequest, UTF-8 not supported? Exception: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
4: iconst_0
ireturn
end local 4 start local 3 5: StackMap locals: java.io.OutputStreamWriter
StackMap stack:
new java.lang.StringBuilder
dup
ldc "IPPPrintService>> writeIPPRequest, op code= "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
6: iconst_2
newarray 5
astore 4
start local 4 7: aload 4
iconst_0
aload 1
iconst_0
iconst_2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
bipush 16
invokestatic java.lang.Byte.parseByte:(Ljava/lang/String;I)B
i2c
castore
8: aload 4
iconst_1
aload 1
iconst_2
iconst_4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
bipush 16
invokestatic java.lang.Byte.parseByte:(Ljava/lang/String;I)B
i2c
castore
9: iconst_4
newarray 5
dup
iconst_0
iconst_1
castore
dup
iconst_1
iconst_1
castore
dup
iconst_3
iconst_1
castore
astore 5
start local 5 10: aload 3
aload 5
iconst_0
iconst_2
invokevirtual java.io.OutputStreamWriter.write:([CII)V
11: aload 3
aload 4
iconst_0
iconst_2
invokevirtual java.io.OutputStreamWriter.write:([CII)V
12: aload 5
iconst_0
iconst_0
castore
aload 5
iconst_1
iconst_0
castore
13: aload 3
aload 5
iconst_0
iconst_4
invokevirtual java.io.OutputStreamWriter.write:([CII)V
14: aload 5
iconst_0
iconst_1
castore
15: aload 3
aload 5
iconst_0
caload
invokevirtual java.io.OutputStreamWriter.write:(I)V
16: iconst_0
istore 9
start local 9 17: goto 30
18: StackMap locals: java.io.OutputStream java.lang.String sun.print.AttributeClass[] java.io.OutputStreamWriter char[] char[] top top top int
StackMap stack:
aload 2
iload 9
aaload
astore 8
start local 8 19: aload 3
aload 8
invokevirtual sun.print.AttributeClass.getType:()B
invokevirtual java.io.OutputStreamWriter.write:(I)V
20: aload 8
invokevirtual sun.print.AttributeClass.getLenChars:()[C
astore 7
start local 7 21: aload 3
aload 7
iconst_0
iconst_2
invokevirtual java.io.OutputStreamWriter.write:([CII)V
22: aload 3
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
aload 8
invokevirtual sun.print.AttributeClass.getName:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;II)V
23: aload 8
invokevirtual sun.print.AttributeClass.getType:()B
bipush 53
if_icmplt 29
24: aload 8
invokevirtual sun.print.AttributeClass.getType:()B
bipush 73
if_icmpgt 29
25: aload 8
invokevirtual sun.print.AttributeClass.getObjectValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 26: aload 5
iconst_0
iconst_0
castore
aload 5
iconst_1
aload 6
invokevirtual java.lang.String.length:()I
i2c
castore
27: aload 3
aload 5
iconst_0
iconst_2
invokevirtual java.io.OutputStreamWriter.write:([CII)V
28: aload 3
aload 6
iconst_0
aload 6
invokevirtual java.lang.String.length:()I
invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;II)V
end local 6 29: StackMap locals: java.io.OutputStream java.lang.String sun.print.AttributeClass[] java.io.OutputStreamWriter char[] char[] top char[] sun.print.AttributeClass int
StackMap stack:
iinc 9 1
end local 8 end local 7 StackMap locals: java.io.OutputStream java.lang.String sun.print.AttributeClass[] java.io.OutputStreamWriter char[] char[] top top top int
StackMap stack:
30: iload 9
aload 2
arraylength
if_icmplt 18
end local 9 31: aload 3
iconst_3
invokevirtual java.io.OutputStreamWriter.write:(I)V
32: aload 3
invokevirtual java.io.OutputStreamWriter.flush:()V
33: aload 3
invokevirtual java.io.OutputStreamWriter.close:()V
34: goto 38
StackMap locals: java.io.OutputStream java.lang.String sun.print.AttributeClass[] java.io.OutputStreamWriter char[] char[]
StackMap stack: java.io.IOException
35: astore 6
start local 6 36: new java.lang.StringBuilder
dup
ldc "IPPPrintService>> writeIPPRequest, IPPPrintService Exception in writeIPPRequest: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
37: iconst_0
ireturn
end local 6 38: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 os Ljava/io/OutputStream;
0 39 1 operCode Ljava/lang/String;
0 39 2 attCl [Lsun/print/AttributeClass;
1 2 3 osw Ljava/io/OutputStreamWriter;
5 39 3 osw Ljava/io/OutputStreamWriter;
3 5 4 exc Ljava/io/UnsupportedEncodingException;
7 39 4 opCode [C
10 39 5 bytes [C
26 29 6 valStr Ljava/lang/String;
21 30 7 lenStr [C
19 30 8 ac Lsun/print/AttributeClass;
17 31 9 i I
36 38 6 ioe Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.UnsupportedEncodingException
10 34 35 Class java.io.IOException
MethodParameters:
Name Flags
os
operCode
attCl
public static java.util.HashMap<java.lang.String, sun.print.AttributeClass>[] readIPPResponse(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)[Ljava/util/HashMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=12, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
getstatic sun.print.IPPPrintService.MAX_ATTRIBUTE_LENGTH:S
newarray 8
astore 1
start local 1 3: new java.io.DataInputStream
dup
aload 0
invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
astore 2
start local 2 4: aload 2
aload 1
iconst_0
bipush 8
invokevirtual java.io.DataInputStream.read:([BII)I
iconst_m1
if_icmple 84
5: aload 1
iconst_2
baload
ifne 84
6: iconst_0
istore 4
start local 4 7: iconst_0
istore 5
start local 5 8: aconst_null
astore 6
start local 6 9: bipush 68
istore 7
start local 7 10: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 8
start local 8 11: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 9
start local 9 12: aload 1
iconst_0
aload 2
invokevirtual java.io.DataInputStream.readByte:()B
bastore
13: goto 74
14: StackMap locals: java.io.InputStream byte[] java.io.DataInputStream top int int java.lang.String int java.util.ArrayList java.util.HashMap
StackMap stack:
new java.lang.StringBuilder
dup
ldc "IPPPrintService>> readIPPResponse, checking group tag, response[0]= "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: aload 1
iconst_0
baload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
16: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
17: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 3
start local 3 18: iconst_0
istore 4
19: aconst_null
astore 6
20: aload 1
iconst_0
aload 2
invokevirtual java.io.DataInputStream.readByte:()B
bastore
21: goto 56
22: StackMap locals: java.io.InputStream byte[] java.io.DataInputStream java.io.ByteArrayOutputStream int int java.lang.String int java.util.ArrayList java.util.HashMap
StackMap stack:
aload 2
invokevirtual java.io.DataInputStream.readShort:()S
istore 5
23: iload 5
ifeq 41
aload 6
ifnull 41
24: aload 3
iload 4
invokevirtual java.io.ByteArrayOutputStream.write:(I)V
25: aload 3
invokevirtual java.io.ByteArrayOutputStream.flush:()V
26: aload 3
invokevirtual java.io.ByteArrayOutputStream.close:()V
27: aload 3
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 10
start local 10 28: aload 9
aload 6
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 31
29: aload 8
aload 9
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
30: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 9
31: StackMap locals: byte[]
StackMap stack:
iload 7
bipush 33
if_icmplt 39
32: new sun.print.AttributeClass
dup
aload 6
33: iload 7
34: aload 10
35: invokespecial sun.print.AttributeClass.<init>:(Ljava/lang/String;ILjava/lang/Object;)V
36: astore 11
start local 11 37: aload 9
aload 11
invokevirtual sun.print.AttributeClass.getName:()Ljava/lang/String;
aload 11
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
38: new java.lang.StringBuilder
dup
ldc "IPPPrintService>> readIPPResponse "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
end local 11 39: StackMap locals:
StackMap stack:
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 3
40: iconst_0
istore 4
end local 10 41: StackMap locals:
StackMap stack:
iload 4
ifne 43
42: aload 1
iconst_0
baload
istore 7
43: StackMap locals:
StackMap stack:
iload 5
ifeq 48
44: iload 5
getstatic sun.print.IPPPrintService.MAX_ATTRIBUTE_LENGTH:S
if_icmple 46
45: iload 5
newarray 8
astore 1
46: StackMap locals:
StackMap stack:
aload 2
aload 1
iconst_0
iload 5
invokevirtual java.io.DataInputStream.read:([BII)I
pop
47: new java.lang.String
dup
aload 1
iconst_0
iload 5
invokespecial java.lang.String.<init>:([BII)V
astore 6
48: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.DataInputStream.readShort:()S
istore 5
49: aload 3
iload 5
invokevirtual java.io.ByteArrayOutputStream.write:(I)V
50: iload 5
getstatic sun.print.IPPPrintService.MAX_ATTRIBUTE_LENGTH:S
if_icmple 52
51: iload 5
newarray 8
astore 1
52: StackMap locals:
StackMap stack:
aload 2
aload 1
iconst_0
iload 5
invokevirtual java.io.DataInputStream.read:([BII)I
pop
53: aload 3
aload 1
iconst_0
iload 5
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
54: iinc 4 1
55: aload 1
iconst_0
aload 2
invokevirtual java.io.DataInputStream.readByte:()B
bastore
56: StackMap locals:
StackMap stack:
aload 1
iconst_0
baload
bipush 16
if_icmplt 59
57: aload 1
iconst_0
baload
bipush 74
58: if_icmple 22
59: StackMap locals:
StackMap stack:
aload 6
ifnull 74
60: aload 3
iload 4
invokevirtual java.io.ByteArrayOutputStream.write:(I)V
61: aload 3
invokevirtual java.io.ByteArrayOutputStream.flush:()V
62: aload 3
invokevirtual java.io.ByteArrayOutputStream.close:()V
63: iload 4
ifeq 67
64: aload 9
aload 6
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 67
65: aload 8
aload 9
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
66: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 9
67: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 10
start local 10 68: new sun.print.AttributeClass
dup
aload 6
69: iload 7
70: aload 10
71: invokespecial sun.print.AttributeClass.<init>:(Ljava/lang/String;ILjava/lang/Object;)V
72: astore 11
start local 11 73: aload 9
aload 11
invokevirtual sun.print.AttributeClass.getName:()Ljava/lang/String;
aload 11
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 11 end local 10 end local 3 74: StackMap locals: java.io.InputStream byte[] java.io.DataInputStream top int int java.lang.String int java.util.ArrayList java.util.HashMap
StackMap stack:
aload 1
iconst_0
baload
iconst_1
if_icmplt 77
75: aload 1
iconst_0
baload
iconst_4
if_icmpgt 77
76: aload 1
iconst_0
baload
iconst_3
if_icmpne 14
77: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.DataInputStream.close:()V
78: aload 9
ifnull 80
aload 9
invokevirtual java.util.HashMap.size:()I
ifle 80
79: aload 8
aload 9
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
80: StackMap locals:
StackMap stack:
aload 8
aload 8
invokevirtual java.util.ArrayList.size:()I
anewarray java.util.HashMap
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.util.HashMap[]
81: astore 10
start local 10 82: aload 10
83: areturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 84: StackMap locals: java.io.InputStream byte[] java.io.DataInputStream
StackMap stack:
new java.lang.StringBuilder
dup
ldc "IPPPrintService>> readIPPResponse client error, IPP status code: 0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
85: aload 1
iconst_2
baload
invokestatic sun.print.IPPPrintService.toHex:(B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
iconst_3
baload
invokestatic sun.print.IPPPrintService.toHex:(B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
86: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
87: aconst_null
areturn
end local 2 88: StackMap locals: java.io.InputStream byte[]
StackMap stack: java.io.IOException
astore 2
start local 2 89: new java.lang.StringBuilder
dup
ldc "IPPPrintService>> readIPPResponse: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
90: getstatic sun.print.IPPPrintService.debugPrint:Z
ifeq 92
91: aload 2
invokevirtual java.io.IOException.printStackTrace:()V
92: StackMap locals: java.io.IOException
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 93 0 inputStream Ljava/io/InputStream;
3 93 1 response [B
4 88 2 ois Ljava/io/DataInputStream;
18 74 3 outObj Ljava/io/ByteArrayOutputStream;
7 84 4 counter I
8 84 5 len S
9 84 6 attribStr Ljava/lang/String;
10 84 7 valTagByte B
11 84 8 respList Ljava/util/ArrayList<Ljava/util/HashMap<Ljava/lang/String;Lsun/print/AttributeClass;>;>;
12 84 9 responseMap Ljava/util/HashMap<Ljava/lang/String;Lsun/print/AttributeClass;>;
28 41 10 outArray [B
37 39 11 ac Lsun/print/AttributeClass;
68 74 10 outArray [B
73 74 11 ac Lsun/print/AttributeClass;
82 84 10 tmp [Ljava/util/HashMap;
89 93 2 e Ljava/io/IOException;
Exception table:
from to target type
3 83 88 Class java.io.IOException
84 87 88 Class java.io.IOException
Signature: (Ljava/io/InputStream;)[Ljava/util/HashMap<Ljava/lang/String;Lsun/print/AttributeClass;>;
MethodParameters:
Name Flags
inputStream
private static java.lang.String toHex(byte);
descriptor: (B)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iload 0
sipush 255
iand
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.String.length:()I
iconst_2
if_icmpne 2
aload 1
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: new java.lang.StringBuilder
dup
ldc "0"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 v B
1 4 1 s Ljava/lang/String;
MethodParameters:
Name Flags
v
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "IPP Printer : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.print.IPPPrintService.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/IPPPrintService;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpeq 4
1: aload 1
instanceof sun.print.IPPPrintService
ifeq 3
2: aload 1
checkcast sun.print.IPPPrintService
invokevirtual sun.print.IPPPrintService.getName:()Ljava/lang/String;
aload 0
invokevirtual sun.print.IPPPrintService.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/print/IPPPrintService;
0 5 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.hashCode:()I
aload 0
invokevirtual sun.print.IPPPrintService.getName:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/IPPPrintService;
}
SourceFile: "IPPPrintService.java"
NestMembers:
sun.print.IPPPrintService$1 sun.print.IPPPrintService$ExtFinishing
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public BYTE_ARRAY = javax.print.DocFlavor$BYTE_ARRAY of javax.print.DocFlavor
public CHAR_ARRAY = javax.print.DocFlavor$CHAR_ARRAY of javax.print.DocFlavor
public INPUT_STREAM = javax.print.DocFlavor$INPUT_STREAM of javax.print.DocFlavor
public READER = javax.print.DocFlavor$READER of javax.print.DocFlavor
public SERVICE_FORMATTED = javax.print.DocFlavor$SERVICE_FORMATTED of javax.print.DocFlavor
public STRING = javax.print.DocFlavor$STRING of javax.print.DocFlavor
public URL = javax.print.DocFlavor$URL of javax.print.DocFlavor
public final ISO = javax.print.attribute.standard.MediaSize$ISO of javax.print.attribute.standard.MediaSize
public final NA = javax.print.attribute.standard.MediaSize$NA of javax.print.attribute.standard.MediaSize
sun.print.IPPPrintService$1
private ExtFinishing = sun.print.IPPPrintService$ExtFinishing of sun.print.IPPPrintService