public class sun.print.PSStreamPrintJob implements javax.print.CancelablePrintJob
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.print.PSStreamPrintJob
super_class: java.lang.Object
{
private transient java.util.Vector<javax.print.event.PrintJobListener> jobListeners;
descriptor: Ljava/util/Vector;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Ljava/util/Vector<Ljavax/print/event/PrintJobListener;>;
private transient java.util.Vector<javax.print.event.PrintJobAttributeListener> attrListeners;
descriptor: Ljava/util/Vector;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Ljava/util/Vector<Ljavax/print/event/PrintJobAttributeListener;>;
private transient java.util.Vector<javax.print.attribute.PrintJobAttributeSet> listenedAttributeSets;
descriptor: Ljava/util/Vector;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Ljava/util/Vector<Ljavax/print/attribute/PrintJobAttributeSet;>;
private sun.print.PSStreamPrintService service;
descriptor: Lsun/print/PSStreamPrintService;
flags: (0x0002) ACC_PRIVATE
private boolean fidelity;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean printing;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean printReturned;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.PrintRequestAttributeSet reqAttrSet;
descriptor: Ljavax/print/attribute/PrintRequestAttributeSet;
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.PrintJobAttributeSet jobAttrSet;
descriptor: Ljavax/print/attribute/PrintJobAttributeSet;
flags: (0x0002) ACC_PRIVATE
private java.awt.print.PrinterJob job;
descriptor: Ljava/awt/print/PrinterJob;
flags: (0x0002) ACC_PRIVATE
private javax.print.Doc doc;
descriptor: Ljavax/print/Doc;
flags: (0x0002) ACC_PRIVATE
private java.io.InputStream instream;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
private java.io.Reader reader;
descriptor: Ljava/io/Reader;
flags: (0x0002) ACC_PRIVATE
private java.lang.String jobName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int copies;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.standard.MediaSize mediaSize;
descriptor: Ljavax/print/attribute/standard/MediaSize;
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.standard.OrientationRequested orient;
descriptor: Ljavax/print/attribute/standard/OrientationRequested;
flags: (0x0002) ACC_PRIVATE
void <init>(sun.print.PSStreamPrintService);
descriptor: (Lsun/print/PSStreamPrintService;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.print.PSStreamPrintJob.printing:Z
2: aload 0
iconst_0
putfield sun.print.PSStreamPrintJob.printReturned:Z
3: aload 0
aconst_null
putfield sun.print.PSStreamPrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
4: aload 0
aconst_null
putfield sun.print.PSStreamPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
5: aload 0
aconst_null
putfield sun.print.PSStreamPrintJob.instream:Ljava/io/InputStream;
6: aload 0
aconst_null
putfield sun.print.PSStreamPrintJob.reader:Ljava/io/Reader;
7: aload 0
ldc "Java Printing"
putfield sun.print.PSStreamPrintJob.jobName:Ljava/lang/String;
8: aload 0
iconst_1
putfield sun.print.PSStreamPrintJob.copies:I
9: aload 0
getstatic javax.print.attribute.standard.MediaSize$NA.LETTER:Ljavax/print/attribute/standard/MediaSize;
putfield sun.print.PSStreamPrintJob.mediaSize:Ljavax/print/attribute/standard/MediaSize;
10: aload 0
getstatic javax.print.attribute.standard.OrientationRequested.PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
putfield sun.print.PSStreamPrintJob.orient:Ljavax/print/attribute/standard/OrientationRequested;
11: aload 0
aload 1
putfield sun.print.PSStreamPrintJob.service:Lsun/print/PSStreamPrintService;
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/print/PSStreamPrintJob;
0 13 1 service Lsun/print/PSStreamPrintService;
MethodParameters:
Name Flags
service
public javax.print.PrintService getPrintService();
descriptor: ()Ljavax/print/PrintService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.print.PSStreamPrintJob.service:Lsun/print/PSStreamPrintService;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/PSStreamPrintJob;
public javax.print.attribute.PrintJobAttributeSet getAttributes();
descriptor: ()Ljavax/print/attribute/PrintJobAttributeSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield sun.print.PSStreamPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
ifnonnull 5
2: new javax.print.attribute.HashPrintJobAttributeSet
dup
invokespecial javax.print.attribute.HashPrintJobAttributeSet.<init>:()V
astore 2
start local 2 3: aload 2
invokestatic javax.print.attribute.AttributeSetUtilities.unmodifiableView:(Ljavax/print/attribute/PrintJobAttributeSet;)Ljavax/print/attribute/PrintJobAttributeSet;
aload 1
monitorexit
4: areturn
end local 2 5: StackMap locals: sun.print.PSStreamPrintJob
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
aload 1
monitorexit
6: areturn
7: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
8: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/print/PSStreamPrintJob;
3 5 2 jobSet Ljavax/print/attribute/PrintJobAttributeSet;
Exception table:
from to target type
1 4 7 any
5 6 7 any
7 8 7 any
public void addPrintJobListener(javax.print.event.PrintJobListener);
descriptor: (Ljavax/print/event/PrintJobListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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.PSStreamPrintJob
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.jobListeners:Ljava/util/Vector;
ifnonnull 6
5: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.print.PSStreamPrintJob.jobListeners:Ljava/util/Vector;
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.jobListeners:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
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/PSStreamPrintJob;
0 12 1 listener Ljavax/print/event/PrintJobListener;
Exception table:
from to target type
1 3 9 any
4 8 9 any
9 10 9 any
MethodParameters:
Name Flags
listener
public void removePrintJobListener(javax.print.event.PrintJobListener);
descriptor: (Ljavax/print/event/PrintJobListener;)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.PSStreamPrintJob.jobListeners:Ljava/util/Vector;
ifnonnull 4
2: StackMap locals: sun.print.PSStreamPrintJob
StackMap stack:
aload 2
monitorexit
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.jobListeners:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.remove:(Ljava/lang/Object;)Z
pop
5: aload 0
getfield sun.print.PSStreamPrintJob.jobListeners:Ljava/util/Vector;
invokevirtual java.util.Vector.isEmpty:()Z
ifeq 7
6: aload 0
aconst_null
putfield sun.print.PSStreamPrintJob.jobListeners:Ljava/util/Vector;
7: StackMap locals:
StackMap stack:
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/PSStreamPrintJob;
0 12 1 listener Ljavax/print/event/PrintJobListener;
Exception table:
from to target type
1 3 9 any
4 8 9 any
9 10 9 any
MethodParameters:
Name Flags
listener
private void closeDataStreams();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.print.PSStreamPrintJob.doc:Ljavax/print/Doc;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 3: aload 0
getfield sun.print.PSStreamPrintJob.doc:Ljavax/print/Doc;
invokeinterface javax.print.Doc.getPrintData:()Ljava/lang/Object;
astore 1
4: goto 7
StackMap locals: sun.print.PSStreamPrintJob java.lang.Object
StackMap stack: java.io.IOException
5: pop
6: return
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.instream:Ljava/io/InputStream;
ifnull 17
8: aload 0
getfield sun.print.PSStreamPrintJob.instream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
9: goto 15
StackMap locals:
StackMap stack: java.io.IOException
10: pop
11: aload 0
aconst_null
putfield sun.print.PSStreamPrintJob.instream:Ljava/io/InputStream;
goto 36
12: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
13: aload 0
aconst_null
putfield sun.print.PSStreamPrintJob.instream:Ljava/io/InputStream;
14: aload 2
athrow
15: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.print.PSStreamPrintJob.instream:Ljava/io/InputStream;
16: goto 36
17: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.reader:Ljava/io/Reader;
ifnull 27
18: aload 0
getfield sun.print.PSStreamPrintJob.reader:Ljava/io/Reader;
invokevirtual java.io.Reader.close:()V
19: goto 25
StackMap locals:
StackMap stack: java.io.IOException
20: pop
21: aload 0
aconst_null
putfield sun.print.PSStreamPrintJob.reader:Ljava/io/Reader;
goto 36
22: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
23: aload 0
aconst_null
putfield sun.print.PSStreamPrintJob.reader:Ljava/io/Reader;
24: aload 2
athrow
25: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.print.PSStreamPrintJob.reader:Ljava/io/Reader;
26: goto 36
27: StackMap locals:
StackMap stack:
aload 1
instanceof java.io.InputStream
ifeq 32
28: aload 1
checkcast java.io.InputStream
invokevirtual java.io.InputStream.close:()V
29: goto 36
StackMap locals:
StackMap stack: java.io.IOException
30: pop
31: goto 36
32: StackMap locals:
StackMap stack:
aload 1
instanceof java.io.Reader
ifeq 36
33: aload 1
checkcast java.io.Reader
invokevirtual java.io.Reader.close:()V
34: goto 36
StackMap locals:
StackMap stack: java.io.IOException
35: pop
36: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lsun/print/PSStreamPrintJob;
3 37 1 data Ljava/lang/Object;
Exception table:
from to target type
3 4 5 Class java.io.IOException
8 9 10 Class java.io.IOException
8 11 12 any
18 19 20 Class java.io.IOException
18 21 22 any
28 29 30 Class java.io.IOException
33 34 35 Class java.io.IOException
private void notifyEvent(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield sun.print.PSStreamPrintJob.jobListeners:Ljava/util/Vector;
ifnull 19
2: new javax.print.event.PrintJobEvent
dup
aload 0
iload 1
invokespecial javax.print.event.PrintJobEvent.<init>:(Ljavax/print/DocPrintJob;I)V
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 18
5: StackMap locals: sun.print.PSStreamPrintJob int sun.print.PSStreamPrintJob top javax.print.event.PrintJobEvent int
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.jobListeners:Ljava/util/Vector;
iload 5
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.print.event.PrintJobListener
astore 3
start local 3 6: iload 1
tableswitch { // 101 - 106
101: 7
102: 15
103: 9
104: 17
105: 13
106: 11
default: 17
}
7: StackMap locals: sun.print.PSStreamPrintJob int sun.print.PSStreamPrintJob javax.print.event.PrintJobListener javax.print.event.PrintJobEvent int
StackMap stack:
aload 3
aload 4
invokeinterface javax.print.event.PrintJobListener.printJobCanceled:(Ljavax/print/event/PrintJobEvent;)V
8: goto 17
9: StackMap locals:
StackMap stack:
aload 3
aload 4
invokeinterface javax.print.event.PrintJobListener.printJobFailed:(Ljavax/print/event/PrintJobEvent;)V
10: goto 17
11: StackMap locals:
StackMap stack:
aload 3
aload 4
invokeinterface javax.print.event.PrintJobListener.printDataTransferCompleted:(Ljavax/print/event/PrintJobEvent;)V
12: goto 17
13: StackMap locals:
StackMap stack:
aload 3
aload 4
invokeinterface javax.print.event.PrintJobListener.printJobNoMoreEvents:(Ljavax/print/event/PrintJobEvent;)V
14: goto 17
15: StackMap locals:
StackMap stack:
aload 3
aload 4
invokeinterface javax.print.event.PrintJobListener.printJobCompleted:(Ljavax/print/event/PrintJobEvent;)V
16: goto 17
17: StackMap locals:
StackMap stack:
iinc 5 1
end local 3 StackMap locals: sun.print.PSStreamPrintJob int sun.print.PSStreamPrintJob top javax.print.event.PrintJobEvent int
StackMap stack:
18: iload 5
aload 0
getfield sun.print.PSStreamPrintJob.jobListeners:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 5
end local 5 end local 4 19: StackMap locals: sun.print.PSStreamPrintJob int sun.print.PSStreamPrintJob
StackMap stack:
aload 2
monitorexit
20: goto 23
StackMap locals:
StackMap stack: java.lang.Throwable
21: aload 2
monitorexit
22: athrow
23: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/print/PSStreamPrintJob;
0 24 1 reason I
6 18 3 listener Ljavax/print/event/PrintJobListener;
3 19 4 event Ljavax/print/event/PrintJobEvent;
4 19 5 i I
Exception table:
from to target type
1 20 21 any
21 22 21 any
MethodParameters:
Name Flags
reason
public void addPrintJobAttributeListener(javax.print.event.PrintJobAttributeListener, javax.print.attribute.PrintJobAttributeSet);
descriptor: (Ljavax/print/event/PrintJobAttributeListener;Ljavax/print/attribute/PrintJobAttributeSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
astore 3
monitorenter
1: aload 1
ifnonnull 4
2: aload 3
monitorexit
3: return
4: StackMap locals: sun.print.PSStreamPrintJob
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.attrListeners:Ljava/util/Vector;
ifnonnull 7
5: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.print.PSStreamPrintJob.attrListeners:Ljava/util/Vector;
6: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.print.PSStreamPrintJob.listenedAttributeSets:Ljava/util/Vector;
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.attrListeners:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
8: aload 2
ifnonnull 10
9: new javax.print.attribute.HashPrintJobAttributeSet
dup
invokespecial javax.print.attribute.HashPrintJobAttributeSet.<init>:()V
astore 2
10: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.listenedAttributeSets:Ljava/util/Vector;
aload 2
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
11: aload 3
monitorexit
12: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
13: aload 3
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/print/PSStreamPrintJob;
0 16 1 listener Ljavax/print/event/PrintJobAttributeListener;
0 16 2 attributes Ljavax/print/attribute/PrintJobAttributeSet;
Exception table:
from to target type
1 3 13 any
4 12 13 any
13 14 13 any
MethodParameters:
Name Flags
listener
attributes
public void removePrintJobAttributeListener(javax.print.event.PrintJobAttributeListener);
descriptor: (Ljavax/print/event/PrintJobAttributeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, 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.PSStreamPrintJob.attrListeners:Ljava/util/Vector;
ifnonnull 4
2: StackMap locals: sun.print.PSStreamPrintJob
StackMap stack:
aload 2
monitorexit
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.attrListeners:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.indexOf:(Ljava/lang/Object;)I
istore 3
start local 3 5: iload 3
iconst_m1
if_icmpne 8
6: aload 2
monitorexit
7: return
8: StackMap locals: int
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.attrListeners:Ljava/util/Vector;
iload 3
invokevirtual java.util.Vector.remove:(I)Ljava/lang/Object;
pop
9: aload 0
getfield sun.print.PSStreamPrintJob.listenedAttributeSets:Ljava/util/Vector;
iload 3
invokevirtual java.util.Vector.remove:(I)Ljava/lang/Object;
pop
10: aload 0
getfield sun.print.PSStreamPrintJob.attrListeners:Ljava/util/Vector;
invokevirtual java.util.Vector.isEmpty:()Z
ifeq 13
11: aload 0
aconst_null
putfield sun.print.PSStreamPrintJob.attrListeners:Ljava/util/Vector;
12: aload 0
aconst_null
putfield sun.print.PSStreamPrintJob.listenedAttributeSets:Ljava/util/Vector;
end local 3 13: StackMap locals:
StackMap stack:
aload 2
monitorexit
14: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
15: aload 2
monitorexit
16: athrow
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/print/PSStreamPrintJob;
0 18 1 listener Ljavax/print/event/PrintJobAttributeListener;
5 13 3 index I
Exception table:
from to target type
1 3 15 any
4 7 15 any
8 14 15 any
15 16 15 any
MethodParameters:
Name Flags
listener
public void print(javax.print.Doc, javax.print.attribute.PrintRequestAttributeSet);
descriptor: (Ljavax/print/Doc;Ljavax/print/attribute/PrintRequestAttributeSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
astore 3
monitorenter
1: aload 0
getfield sun.print.PSStreamPrintJob.printing:Z
ifeq 3
2: new javax.print.PrintException
dup
ldc "already printing"
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.print.PSStreamPrintJob
StackMap stack:
aload 0
iconst_1
putfield sun.print.PSStreamPrintJob.printing:Z
4: aload 3
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.print.PSStreamPrintJob.doc:Ljavax/print/Doc;
9: aload 1
invokeinterface javax.print.Doc.getDocFlavor:()Ljavax/print/DocFlavor;
astore 3
start local 3 10: aload 1
invokeinterface javax.print.Doc.getPrintData:()Ljava/lang/Object;
astore 4
start local 4 11: goto 15
end local 4 StackMap locals: sun.print.PSStreamPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet javax.print.DocFlavor
StackMap stack: java.io.IOException
12: astore 5
start local 5 13: aload 0
bipush 103
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
14: new javax.print.PrintException
dup
new java.lang.StringBuilder
dup
ldc "can't get print data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
end local 5 start local 4 15: StackMap locals: java.lang.Object
StackMap stack:
aload 3
ifnull 16
aload 0
getfield sun.print.PSStreamPrintJob.service:Lsun/print/PSStreamPrintService;
aload 3
invokevirtual sun.print.PSStreamPrintService.isDocFlavorSupported:(Ljavax/print/DocFlavor;)Z
ifne 18
16: StackMap locals:
StackMap stack:
aload 0
bipush 103
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
17: new sun.print.PrintJobFlavorException
dup
ldc "invalid flavor"
aload 3
invokespecial sun.print.PrintJobFlavorException.<init>:(Ljava/lang/String;Ljavax/print/DocFlavor;)V
athrow
18: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.print.PSStreamPrintJob.initializeAttributeSets:(Ljavax/print/Doc;Ljavax/print/attribute/PrintRequestAttributeSet;)V
19: aload 0
aload 3
invokevirtual sun.print.PSStreamPrintJob.getAttributeValues:(Ljavax/print/DocFlavor;)V
20: aload 3
invokevirtual javax.print.DocFlavor.getRepresentationClassName:()Ljava/lang/String;
astore 5
start local 5 21: aload 3
getstatic javax.print.DocFlavor$INPUT_STREAM.GIF:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 27
22: aload 3
getstatic javax.print.DocFlavor$INPUT_STREAM.JPEG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 27
23: aload 3
getstatic javax.print.DocFlavor$INPUT_STREAM.PNG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 27
24: aload 3
getstatic javax.print.DocFlavor$BYTE_ARRAY.GIF:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 27
25: aload 3
getstatic javax.print.DocFlavor$BYTE_ARRAY.JPEG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 27
26: aload 3
getstatic javax.print.DocFlavor$BYTE_ARRAY.PNG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 36
27: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
invokeinterface javax.print.Doc.getStreamForBytes:()Ljava/io/InputStream;
putfield sun.print.PSStreamPrintJob.instream:Ljava/io/InputStream;
28: aload 0
new sun.print.ImagePrinter
dup
aload 0
getfield sun.print.PSStreamPrintJob.instream:Ljava/io/InputStream;
invokespecial sun.print.ImagePrinter.<init>:(Ljava/io/InputStream;)V
aload 0
getfield sun.print.PSStreamPrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
invokevirtual sun.print.PSStreamPrintJob.printableJob:(Ljava/awt/print/Printable;Ljavax/print/attribute/PrintRequestAttributeSet;)V
29: return
30: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 6
start local 6 31: aload 0
bipush 103
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
32: new javax.print.PrintException
dup
aload 6
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 6 33: StackMap locals:
StackMap stack: java.io.IOException
astore 6
start local 6 34: aload 0
bipush 103
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
35: new javax.print.PrintException
dup
aload 6
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 6 36: StackMap locals:
StackMap stack:
aload 3
getstatic javax.print.DocFlavor$URL.GIF:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 39
37: aload 3
getstatic javax.print.DocFlavor$URL.JPEG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 39
38: aload 3
getstatic javax.print.DocFlavor$URL.PNG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 44
39: StackMap locals:
StackMap stack:
aload 0
new sun.print.ImagePrinter
dup
aload 4
checkcast java.net.URL
invokespecial sun.print.ImagePrinter.<init>:(Ljava/net/URL;)V
aload 0
getfield sun.print.PSStreamPrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
invokevirtual sun.print.PSStreamPrintJob.printableJob:(Ljava/awt/print/Printable;Ljavax/print/attribute/PrintRequestAttributeSet;)V
40: return
41: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 6
start local 6 42: aload 0
bipush 103
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
43: new javax.print.PrintException
dup
aload 6
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 6 44: StackMap locals:
StackMap stack:
aload 5
ldc "java.awt.print.Pageable"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 53
45: aload 0
aload 1
invokeinterface javax.print.Doc.getPrintData:()Ljava/lang/Object;
checkcast java.awt.print.Pageable
aload 0
getfield sun.print.PSStreamPrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
invokevirtual sun.print.PSStreamPrintJob.pageableJob:(Ljava/awt/print/Pageable;Ljavax/print/attribute/PrintRequestAttributeSet;)V
46: return
47: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 6
start local 6 48: aload 0
bipush 103
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
49: new javax.print.PrintException
dup
aload 6
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 6 50: StackMap locals:
StackMap stack: java.io.IOException
astore 6
start local 6 51: aload 0
bipush 103
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
52: new javax.print.PrintException
dup
aload 6
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 6 53: StackMap locals:
StackMap stack:
aload 5
ldc "java.awt.print.Printable"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 62
54: aload 0
aload 1
invokeinterface javax.print.Doc.getPrintData:()Ljava/lang/Object;
checkcast java.awt.print.Printable
aload 0
getfield sun.print.PSStreamPrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
invokevirtual sun.print.PSStreamPrintJob.printableJob:(Ljava/awt/print/Printable;Ljavax/print/attribute/PrintRequestAttributeSet;)V
55: return
56: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 6
start local 6 57: aload 0
bipush 103
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
58: new javax.print.PrintException
dup
aload 6
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 6 59: StackMap locals:
StackMap stack: java.io.IOException
astore 6
start local 6 60: aload 0
bipush 103
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
61: new javax.print.PrintException
dup
aload 6
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 6 62: StackMap locals:
StackMap stack:
aload 0
bipush 103
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
63: new javax.print.PrintException
dup
new java.lang.StringBuilder
dup
ldc "unrecognized class: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
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 64 0 this Lsun/print/PSStreamPrintJob;
0 64 1 doc Ljavax/print/Doc;
0 64 2 attributes Ljavax/print/attribute/PrintRequestAttributeSet;
10 64 3 flavor Ljavax/print/DocFlavor;
11 12 4 data Ljava/lang/Object;
15 64 4 data Ljava/lang/Object;
13 15 5 e Ljava/io/IOException;
21 64 5 repClassName Ljava/lang/String;
31 33 6 cce Ljava/lang/ClassCastException;
34 36 6 ioe Ljava/io/IOException;
42 44 6 cce Ljava/lang/ClassCastException;
48 50 6 cce Ljava/lang/ClassCastException;
51 53 6 ioe Ljava/io/IOException;
57 59 6 cce Ljava/lang/ClassCastException;
60 62 6 ioe Ljava/io/IOException;
Exception table:
from to target type
1 5 6 any
6 7 6 any
10 11 12 Class java.io.IOException
27 29 30 Class java.lang.ClassCastException
27 29 33 Class java.io.IOException
39 40 41 Class java.lang.ClassCastException
45 46 47 Class java.lang.ClassCastException
45 46 50 Class java.io.IOException
54 55 56 Class java.lang.ClassCastException
54 55 59 Class java.io.IOException
Exceptions:
throws javax.print.PrintException
MethodParameters:
Name Flags
doc
attributes
public void printableJob(java.awt.print.Printable, javax.print.attribute.PrintRequestAttributeSet);
descriptor: (Ljava/awt/print/Printable;Ljavax/print/attribute/PrintRequestAttributeSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
astore 3
monitorenter
1: aload 0
getfield sun.print.PSStreamPrintJob.job:Ljava/awt/print/PrinterJob;
ifnull 3
2: new javax.print.PrintException
dup
ldc "already printing"
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.print.PSStreamPrintJob
StackMap stack:
aload 0
new sun.print.PSPrinterJob
dup
invokespecial sun.print.PSPrinterJob.<init>:()V
putfield sun.print.PSStreamPrintJob.job:Ljava/awt/print/PrinterJob;
4: aload 3
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.job:Ljava/awt/print/PrinterJob;
aload 0
invokevirtual sun.print.PSStreamPrintJob.getPrintService:()Ljavax/print/PrintService;
invokevirtual java.awt.print.PrinterJob.setPrintService:(Ljavax/print/PrintService;)V
9: new java.awt.print.PageFormat
dup
invokespecial java.awt.print.PageFormat.<init>:()V
astore 3
start local 3 10: aload 0
getfield sun.print.PSStreamPrintJob.mediaSize:Ljavax/print/attribute/standard/MediaSize;
ifnull 19
11: new java.awt.print.Paper
dup
invokespecial java.awt.print.Paper.<init>:()V
astore 4
start local 4 12: aload 4
aload 0
getfield sun.print.PSStreamPrintJob.mediaSize:Ljavax/print/attribute/standard/MediaSize;
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
f2d
ldc 72.0
dmul
13: aload 0
getfield sun.print.PSStreamPrintJob.mediaSize:Ljavax/print/attribute/standard/MediaSize;
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
f2d
ldc 72.0
dmul
14: invokevirtual java.awt.print.Paper.setSize:(DD)V
15: aload 4
ldc 72.0
ldc 72.0
aload 4
invokevirtual java.awt.print.Paper.getWidth:()D
ldc 144.0
dsub
16: aload 4
invokevirtual java.awt.print.Paper.getHeight:()D
ldc 144.0
dsub
17: invokevirtual java.awt.print.Paper.setImageableArea:(DDDD)V
18: aload 3
aload 4
invokevirtual java.awt.print.PageFormat.setPaper:(Ljava/awt/print/Paper;)V
end local 4 19: StackMap locals: java.awt.print.PageFormat
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.orient:Ljavax/print/attribute/standard/OrientationRequested;
getstatic javax.print.attribute.standard.OrientationRequested.REVERSE_LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 22
20: aload 3
iconst_2
invokevirtual java.awt.print.PageFormat.setOrientation:(I)V
21: goto 24
StackMap locals:
StackMap stack:
22: aload 0
getfield sun.print.PSStreamPrintJob.orient:Ljavax/print/attribute/standard/OrientationRequested;
getstatic javax.print.attribute.standard.OrientationRequested.LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 24
23: aload 3
iconst_0
invokevirtual java.awt.print.PageFormat.setOrientation:(I)V
24: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.job:Ljava/awt/print/PrinterJob;
aload 1
aload 3
invokevirtual java.awt.print.PrinterJob.setPrintable:(Ljava/awt/print/Printable;Ljava/awt/print/PageFormat;)V
25: aload 0
getfield sun.print.PSStreamPrintJob.job:Ljava/awt/print/PrinterJob;
aload 2
invokevirtual java.awt.print.PrinterJob.print:(Ljavax/print/attribute/PrintRequestAttributeSet;)V
26: aload 0
bipush 102
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
27: aload 0
iconst_1
putfield sun.print.PSStreamPrintJob.printReturned:Z
28: return
end local 3 29: StackMap locals: sun.print.PSStreamPrintJob java.awt.print.Printable javax.print.attribute.PrintRequestAttributeSet
StackMap stack: java.awt.print.PrinterException
astore 3
start local 3 30: aload 0
bipush 103
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
31: new javax.print.PrintException
dup
aload 3
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 32: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
33: aload 0
iconst_1
putfield sun.print.PSStreamPrintJob.printReturned:Z
34: aload 5
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lsun/print/PSStreamPrintJob;
0 35 1 printable Ljava/awt/print/Printable;
0 35 2 attributes Ljavax/print/attribute/PrintRequestAttributeSet;
10 29 3 pf Ljava/awt/print/PageFormat;
12 19 4 p Ljava/awt/print/Paper;
30 32 3 pe Ljava/awt/print/PrinterException;
Exception table:
from to target type
1 5 6 any
6 7 6 any
0 27 29 Class java.awt.print.PrinterException
0 27 32 any
29 32 32 any
Exceptions:
throws javax.print.PrintException
MethodParameters:
Name Flags
printable
attributes
public void pageableJob(java.awt.print.Pageable, javax.print.attribute.PrintRequestAttributeSet);
descriptor: (Ljava/awt/print/Pageable;Ljavax/print/attribute/PrintRequestAttributeSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
astore 3
monitorenter
1: aload 0
getfield sun.print.PSStreamPrintJob.job:Ljava/awt/print/PrinterJob;
ifnull 3
2: new javax.print.PrintException
dup
ldc "already printing"
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.print.PSStreamPrintJob
StackMap stack:
aload 0
new sun.print.PSPrinterJob
dup
invokespecial sun.print.PSPrinterJob.<init>:()V
putfield sun.print.PSStreamPrintJob.job:Ljava/awt/print/PrinterJob;
4: aload 3
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.job:Ljava/awt/print/PrinterJob;
aload 0
invokevirtual sun.print.PSStreamPrintJob.getPrintService:()Ljavax/print/PrintService;
invokevirtual java.awt.print.PrinterJob.setPrintService:(Ljavax/print/PrintService;)V
9: aload 0
getfield sun.print.PSStreamPrintJob.job:Ljava/awt/print/PrinterJob;
aload 1
invokevirtual java.awt.print.PrinterJob.setPageable:(Ljava/awt/print/Pageable;)V
10: aload 0
getfield sun.print.PSStreamPrintJob.job:Ljava/awt/print/PrinterJob;
aload 2
invokevirtual java.awt.print.PrinterJob.print:(Ljavax/print/attribute/PrintRequestAttributeSet;)V
11: aload 0
bipush 102
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
12: aload 0
iconst_1
putfield sun.print.PSStreamPrintJob.printReturned:Z
13: return
14: StackMap locals:
StackMap stack: java.awt.print.PrinterException
astore 3
start local 3 15: aload 0
bipush 103
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
16: new javax.print.PrintException
dup
aload 3
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 17: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
18: aload 0
iconst_1
putfield sun.print.PSStreamPrintJob.printReturned:Z
19: aload 4
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/print/PSStreamPrintJob;
0 20 1 pageable Ljava/awt/print/Pageable;
0 20 2 attributes Ljavax/print/attribute/PrintRequestAttributeSet;
15 17 3 pe Ljava/awt/print/PrinterException;
Exception table:
from to target type
1 5 6 any
6 7 6 any
0 12 14 Class java.awt.print.PrinterException
0 12 17 any
14 17 17 any
Exceptions:
throws javax.print.PrintException
MethodParameters:
Name Flags
pageable
attributes
private synchronized void initializeAttributeSets(javax.print.Doc, javax.print.attribute.PrintRequestAttributeSet);
descriptor: (Ljavax/print/Doc;Ljavax/print/attribute/PrintRequestAttributeSet;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new javax.print.attribute.HashPrintRequestAttributeSet
dup
invokespecial javax.print.attribute.HashPrintRequestAttributeSet.<init>:()V
putfield sun.print.PSStreamPrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
1: aload 0
new javax.print.attribute.HashPrintJobAttributeSet
dup
invokespecial javax.print.attribute.HashPrintJobAttributeSet.<init>:()V
putfield sun.print.PSStreamPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
2: aload 2
ifnull 11
3: aload 0
getfield sun.print.PSStreamPrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
aload 2
invokeinterface javax.print.attribute.PrintRequestAttributeSet.addAll:(Ljavax/print/attribute/AttributeSet;)Z
pop
4: aload 2
invokeinterface javax.print.attribute.PrintRequestAttributeSet.toArray:()[Ljavax/print/attribute/Attribute;
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 10
7: StackMap locals: javax.print.attribute.Attribute[] int
StackMap stack:
aload 3
iload 4
aaload
instanceof javax.print.attribute.PrintJobAttribute
ifeq 9
8: aload 0
getfield sun.print.PSStreamPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
aload 3
iload 4
aaload
invokeinterface javax.print.attribute.PrintJobAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
9: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
aload 3
arraylength
if_icmplt 7
end local 4 end local 3 11: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.Doc.getAttributes:()Ljavax/print/attribute/DocAttributeSet;
astore 4
start local 4 12: aload 4
ifnull 22
13: aload 4
invokeinterface javax.print.attribute.DocAttributeSet.toArray:()[Ljavax/print/attribute/Attribute;
astore 3
start local 3 14: iconst_0
istore 5
start local 5 15: goto 21
16: StackMap locals: javax.print.attribute.Attribute[] javax.print.attribute.DocAttributeSet int
StackMap stack:
aload 3
iload 5
aaload
instanceof javax.print.attribute.PrintRequestAttribute
ifeq 18
17: aload 0
getfield sun.print.PSStreamPrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
aload 3
iload 5
aaload
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
18: StackMap locals:
StackMap stack:
aload 3
iload 5
aaload
instanceof javax.print.attribute.PrintJobAttribute
ifeq 20
19: aload 0
getfield sun.print.PSStreamPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
aload 3
iload 5
aaload
invokeinterface javax.print.attribute.PrintJobAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
20: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
21: iload 5
aload 3
arraylength
if_icmplt 16
end local 5 end local 3 22: StackMap locals: sun.print.PSStreamPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet top javax.print.attribute.DocAttributeSet
StackMap stack:
ldc ""
astore 5
start local 5 23: ldc "user.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5
24: goto 26
StackMap locals: sun.print.PSStreamPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet top javax.print.attribute.DocAttributeSet java.lang.String
StackMap stack: java.lang.SecurityException
25: pop
26: StackMap locals:
StackMap stack:
aload 5
ifnull 27
aload 5
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 38
27: StackMap locals:
StackMap stack:
aload 2
ldc Ljavax/print/attribute/standard/RequestingUserName;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.RequestingUserName
28: astore 6
start local 6 29: aload 6
ifnull 36
30: aload 0
getfield sun.print.PSStreamPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
31: new javax.print.attribute.standard.JobOriginatingUserName
dup
aload 6
invokevirtual javax.print.attribute.standard.RequestingUserName.getValue:()Ljava/lang/String;
32: aload 6
invokevirtual javax.print.attribute.standard.RequestingUserName.getLocale:()Ljava/util/Locale;
33: invokespecial javax.print.attribute.standard.JobOriginatingUserName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
34: invokeinterface javax.print.attribute.PrintJobAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
35: goto 39
36: StackMap locals: javax.print.attribute.standard.RequestingUserName
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
new javax.print.attribute.standard.JobOriginatingUserName
dup
ldc ""
aconst_null
invokespecial javax.print.attribute.standard.JobOriginatingUserName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
invokeinterface javax.print.attribute.PrintJobAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
end local 6 37: goto 39
38: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
new javax.print.attribute.standard.JobOriginatingUserName
dup
aload 5
aconst_null
invokespecial javax.print.attribute.standard.JobOriginatingUserName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
invokeinterface javax.print.attribute.PrintJobAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
39: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
ldc Ljavax/print/attribute/standard/JobName;
invokeinterface javax.print.attribute.PrintJobAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
ifnonnull 54
40: aload 4
ifnull 46
aload 4
ldc Ljavax/print/attribute/standard/DocumentName;
invokeinterface javax.print.attribute.DocAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
ifnull 46
41: aload 4
ldc Ljavax/print/attribute/standard/DocumentName;
invokeinterface javax.print.attribute.DocAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.DocumentName
42: astore 7
start local 7 43: new javax.print.attribute.standard.JobName
dup
aload 7
invokevirtual javax.print.attribute.standard.DocumentName.getValue:()Ljava/lang/String;
aload 7
invokevirtual javax.print.attribute.standard.DocumentName.getLocale:()Ljava/util/Locale;
invokespecial javax.print.attribute.standard.JobName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
astore 6
start local 6 44: aload 0
getfield sun.print.PSStreamPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
aload 6
invokeinterface javax.print.attribute.PrintJobAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
end local 7 45: goto 54
end local 6 46: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "JPS Job:"
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;
astore 7
start local 7 47: aload 1
invokeinterface javax.print.Doc.getPrintData:()Ljava/lang/Object;
astore 8
start local 8 48: aload 8
instanceof java.net.URL
ifeq 52
49: aload 1
invokeinterface javax.print.Doc.getPrintData:()Ljava/lang/Object;
checkcast java.net.URL
invokevirtual java.net.URL.toString:()Ljava/lang/String;
astore 7
end local 8 50: goto 52
StackMap locals: sun.print.PSStreamPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet top javax.print.attribute.DocAttributeSet java.lang.String top java.lang.String
StackMap stack: java.io.IOException
51: pop
52: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.JobName
dup
aload 7
aconst_null
invokespecial javax.print.attribute.standard.JobName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
astore 6
start local 6 53: aload 0
getfield sun.print.PSStreamPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
aload 6
invokeinterface javax.print.attribute.PrintJobAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
end local 7 end local 6 54: StackMap locals: sun.print.PSStreamPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet top javax.print.attribute.DocAttributeSet java.lang.String
StackMap stack:
aload 0
aload 0
getfield sun.print.PSStreamPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
invokestatic javax.print.attribute.AttributeSetUtilities.unmodifiableView:(Ljavax/print/attribute/PrintJobAttributeSet;)Ljavax/print/attribute/PrintJobAttributeSet;
putfield sun.print.PSStreamPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
55: return
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 56 0 this Lsun/print/PSStreamPrintJob;
0 56 1 doc Ljavax/print/Doc;
0 56 2 reqSet Ljavax/print/attribute/PrintRequestAttributeSet;
5 11 3 attrs [Ljavax/print/attribute/Attribute;
14 22 3 attrs [Ljavax/print/attribute/Attribute;
6 11 4 i I
12 56 4 docSet Ljavax/print/attribute/DocAttributeSet;
15 22 5 i I
23 56 5 userName Ljava/lang/String;
29 37 6 ruName Ljavax/print/attribute/standard/RequestingUserName;
44 46 6 jobName Ljavax/print/attribute/standard/JobName;
53 54 6 jobName Ljavax/print/attribute/standard/JobName;
43 45 7 docName Ljavax/print/attribute/standard/DocumentName;
47 54 7 str Ljava/lang/String;
48 50 8 printData Ljava/lang/Object;
Exception table:
from to target type
23 24 25 Class java.lang.SecurityException
47 50 51 Class java.io.IOException
MethodParameters:
Name Flags
doc
reqSet
private void getAttributeValues(javax.print.DocFlavor);
descriptor: (Ljavax/print/DocFlavor;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.print.PSStreamPrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/Fidelity;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
getstatic javax.print.attribute.standard.Fidelity.FIDELITY_TRUE:Ljavax/print/attribute/standard/Fidelity;
if_acmpne 3
1: aload 0
iconst_1
putfield sun.print.PSStreamPrintJob.fidelity:Z
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.print.PSStreamPrintJob.fidelity:Z
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.toArray:()[Ljavax/print/attribute/Attribute;
astore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 36
7: StackMap locals: sun.print.PSStreamPrintJob javax.print.DocFlavor top top javax.print.attribute.Attribute[] int
StackMap stack:
aload 4
iload 5
aaload
astore 2
start local 2 8: aload 2
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
astore 3
start local 3 9: aload 0
getfield sun.print.PSStreamPrintJob.fidelity:Z
ifeq 20
10: aload 0
getfield sun.print.PSStreamPrintJob.service:Lsun/print/PSStreamPrintService;
aload 3
invokevirtual sun.print.PSStreamPrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 15
11: aload 0
bipush 103
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
12: new sun.print.PrintJobAttributeException
dup
13: new java.lang.StringBuilder
dup
ldc "unsupported category: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
aconst_null
14: invokespecial sun.print.PrintJobAttributeException.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljavax/print/attribute/Attribute;)V
athrow
15: StackMap locals: sun.print.PSStreamPrintJob javax.print.DocFlavor javax.print.attribute.Attribute java.lang.Class javax.print.attribute.Attribute[] int
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.service:Lsun/print/PSStreamPrintService;
aload 2
aload 1
aconst_null
invokevirtual sun.print.PSStreamPrintService.isAttributeValueSupported:(Ljavax/print/attribute/Attribute;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
ifne 20
16: aload 0
bipush 103
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
17: new sun.print.PrintJobAttributeException
dup
18: new java.lang.StringBuilder
dup
ldc "unsupported attribute: "
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;
aconst_null
aload 2
19: invokespecial sun.print.PrintJobAttributeException.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljavax/print/attribute/Attribute;)V
athrow
20: StackMap locals:
StackMap stack:
aload 3
ldc Ljavax/print/attribute/standard/JobName;
if_acmpne 23
21: aload 0
aload 2
checkcast javax.print.attribute.standard.JobName
invokevirtual javax.print.attribute.standard.JobName.getValue:()Ljava/lang/String;
putfield sun.print.PSStreamPrintJob.jobName:Ljava/lang/String;
22: goto 35
StackMap locals:
StackMap stack:
23: aload 3
ldc Ljavax/print/attribute/standard/Copies;
if_acmpne 26
24: aload 0
aload 2
checkcast javax.print.attribute.standard.Copies
invokevirtual javax.print.attribute.standard.Copies.getValue:()I
putfield sun.print.PSStreamPrintJob.copies:I
25: goto 35
StackMap locals:
StackMap stack:
26: aload 3
ldc Ljavax/print/attribute/standard/Media;
if_acmpne 33
27: aload 2
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 35
28: aload 0
getfield sun.print.PSStreamPrintJob.service:Lsun/print/PSStreamPrintService;
aload 2
aconst_null
aconst_null
invokevirtual sun.print.PSStreamPrintService.isAttributeValueSupported:(Ljavax/print/attribute/Attribute;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
ifeq 35
29: aload 0
30: aload 2
checkcast javax.print.attribute.standard.MediaSizeName
invokestatic javax.print.attribute.standard.MediaSize.getMediaSizeForName:(Ljavax/print/attribute/standard/MediaSizeName;)Ljavax/print/attribute/standard/MediaSize;
31: putfield sun.print.PSStreamPrintJob.mediaSize:Ljavax/print/attribute/standard/MediaSize;
32: goto 35
StackMap locals:
StackMap stack:
33: aload 3
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 35
34: aload 0
aload 2
checkcast javax.print.attribute.standard.OrientationRequested
putfield sun.print.PSStreamPrintJob.orient:Ljavax/print/attribute/standard/OrientationRequested;
35: StackMap locals:
StackMap stack:
iinc 5 1
end local 3 end local 2 StackMap locals: sun.print.PSStreamPrintJob javax.print.DocFlavor top top javax.print.attribute.Attribute[] int
StackMap stack:
36: iload 5
aload 4
arraylength
if_icmplt 7
end local 5 37: return
end local 4 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lsun/print/PSStreamPrintJob;
0 38 1 flavor Ljavax/print/DocFlavor;
8 36 2 attr Ljavax/print/attribute/Attribute;
9 36 3 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
5 38 4 attrs [Ljavax/print/attribute/Attribute;
6 37 5 i I
Exceptions:
throws javax.print.PrintException
MethodParameters:
Name Flags
flavor
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield sun.print.PSStreamPrintJob.printing:Z
ifne 3
2: new javax.print.PrintException
dup
ldc "Job is not yet submitted."
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.print.PSStreamPrintJob
StackMap stack:
aload 0
getfield sun.print.PSStreamPrintJob.job:Ljava/awt/print/PrinterJob;
ifnull 8
aload 0
getfield sun.print.PSStreamPrintJob.printReturned:Z
ifne 8
4: aload 0
getfield sun.print.PSStreamPrintJob.job:Ljava/awt/print/PrinterJob;
invokevirtual java.awt.print.PrinterJob.cancel:()V
5: aload 0
bipush 101
invokevirtual sun.print.PSStreamPrintJob.notifyEvent:(I)V
6: aload 1
monitorexit
7: return
8: StackMap locals:
StackMap stack:
new javax.print.PrintException
dup
ldc "Job could not be cancelled."
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
10: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/print/PSStreamPrintJob;
Exception table:
from to target type
1 7 9 any
8 10 9 any
Exceptions:
throws javax.print.PrintException
}
SourceFile: "PSStreamPrintJob.java"
InnerClasses:
public BYTE_ARRAY = javax.print.DocFlavor$BYTE_ARRAY of javax.print.DocFlavor
public INPUT_STREAM = javax.print.DocFlavor$INPUT_STREAM of javax.print.DocFlavor
public URL = javax.print.DocFlavor$URL of javax.print.DocFlavor
public final NA = javax.print.attribute.standard.MediaSize$NA of javax.print.attribute.standard.MediaSize