public class sun.print.Win32PrintJob implements javax.print.CancelablePrintJob
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.print.Win32PrintJob
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.Win32PrintService service;
descriptor: Lsun/print/Win32PrintService;
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.lang.String mDestination;
descriptor: Ljava/lang/String;
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.MediaSizeName mediaName;
descriptor: Ljavax/print/attribute/standard/MediaSizeName;
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
private long hPrintJob;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private static final int PRINTBUFFERLEN;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8192
void <init>(sun.print.Win32PrintService);
descriptor: (Lsun/print/Win32PrintService;)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.Win32PrintJob.printing:Z
2: aload 0
iconst_0
putfield sun.print.Win32PrintJob.printReturned:Z
3: aload 0
aconst_null
putfield sun.print.Win32PrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
4: aload 0
aconst_null
putfield sun.print.Win32PrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
5: aload 0
aconst_null
putfield sun.print.Win32PrintJob.mDestination:Ljava/lang/String;
6: aload 0
aconst_null
putfield sun.print.Win32PrintJob.instream:Ljava/io/InputStream;
7: aload 0
aconst_null
putfield sun.print.Win32PrintJob.reader:Ljava/io/Reader;
8: aload 0
ldc "Java Printing"
putfield sun.print.Win32PrintJob.jobName:Ljava/lang/String;
9: aload 0
iconst_0
putfield sun.print.Win32PrintJob.copies:I
10: aload 0
aconst_null
putfield sun.print.Win32PrintJob.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
11: aload 0
aconst_null
putfield sun.print.Win32PrintJob.mediaSize:Ljavax/print/attribute/standard/MediaSize;
12: aload 0
aconst_null
putfield sun.print.Win32PrintJob.orient:Ljavax/print/attribute/standard/OrientationRequested;
13: aload 0
aload 1
putfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/print/Win32PrintJob;
0 15 1 service Lsun/print/Win32PrintService;
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.Win32PrintJob.service:Lsun/print/Win32PrintService;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/Win32PrintJob;
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.Win32PrintJob.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.Win32PrintJob
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.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/Win32PrintJob;
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.Win32PrintJob
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.jobListeners:Ljava/util/Vector;
ifnonnull 6
5: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.print.Win32PrintJob.jobListeners:Ljava/util/Vector;
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.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/Win32PrintJob;
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.Win32PrintJob.jobListeners:Ljava/util/Vector;
ifnonnull 4
2: StackMap locals: sun.print.Win32PrintJob
StackMap stack:
aload 2
monitorexit
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.jobListeners:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.remove:(Ljava/lang/Object;)Z
pop
5: aload 0
getfield sun.print.Win32PrintJob.jobListeners:Ljava/util/Vector;
invokevirtual java.util.Vector.isEmpty:()Z
ifeq 7
6: aload 0
aconst_null
putfield sun.print.Win32PrintJob.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/Win32PrintJob;
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.Win32PrintJob.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.Win32PrintJob.doc:Ljavax/print/Doc;
invokeinterface javax.print.Doc.getPrintData:()Ljava/lang/Object;
astore 1
4: goto 7
StackMap locals: sun.print.Win32PrintJob java.lang.Object
StackMap stack: java.io.IOException
5: pop
6: return
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.instream:Ljava/io/InputStream;
ifnull 17
8: aload 0
getfield sun.print.Win32PrintJob.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.Win32PrintJob.instream:Ljava/io/InputStream;
goto 36
12: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
13: aload 0
aconst_null
putfield sun.print.Win32PrintJob.instream:Ljava/io/InputStream;
14: aload 2
athrow
15: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.print.Win32PrintJob.instream:Ljava/io/InputStream;
16: goto 36
17: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.reader:Ljava/io/Reader;
ifnull 27
18: aload 0
getfield sun.print.Win32PrintJob.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.Win32PrintJob.reader:Ljava/io/Reader;
goto 36
22: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
23: aload 0
aconst_null
putfield sun.print.Win32PrintJob.reader:Ljava/io/Reader;
24: aload 2
athrow
25: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.print.Win32PrintJob.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/Win32PrintJob;
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: iload 1
tableswitch { // 101 - 106
101: 1
102: 1
103: 1
104: 2
105: 1
106: 1
default: 2
}
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintJob.closeDataStreams:()V
2: StackMap locals:
StackMap stack:
aload 0
dup
astore 2
monitorenter
3: aload 0
getfield sun.print.Win32PrintJob.jobListeners:Ljava/util/Vector;
ifnull 21
4: 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 5: iconst_0
istore 5
start local 5 6: goto 20
7: StackMap locals: sun.print.Win32PrintJob int sun.print.Win32PrintJob top javax.print.event.PrintJobEvent int
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.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 8: iload 1
tableswitch { // 101 - 106
101: 11
102: 9
103: 13
104: 19
105: 17
106: 15
default: 19
}
9: StackMap locals: sun.print.Win32PrintJob int sun.print.Win32PrintJob javax.print.event.PrintJobListener javax.print.event.PrintJobEvent int
StackMap stack:
aload 3
aload 4
invokeinterface javax.print.event.PrintJobListener.printJobCompleted:(Ljavax/print/event/PrintJobEvent;)V
10: goto 19
11: StackMap locals:
StackMap stack:
aload 3
aload 4
invokeinterface javax.print.event.PrintJobListener.printJobCanceled:(Ljavax/print/event/PrintJobEvent;)V
12: goto 19
13: StackMap locals:
StackMap stack:
aload 3
aload 4
invokeinterface javax.print.event.PrintJobListener.printJobFailed:(Ljavax/print/event/PrintJobEvent;)V
14: goto 19
15: StackMap locals:
StackMap stack:
aload 3
aload 4
invokeinterface javax.print.event.PrintJobListener.printDataTransferCompleted:(Ljavax/print/event/PrintJobEvent;)V
16: goto 19
17: StackMap locals:
StackMap stack:
aload 3
aload 4
invokeinterface javax.print.event.PrintJobListener.printJobNoMoreEvents:(Ljavax/print/event/PrintJobEvent;)V
18: goto 19
19: StackMap locals:
StackMap stack:
iinc 5 1
end local 3 StackMap locals: sun.print.Win32PrintJob int sun.print.Win32PrintJob top javax.print.event.PrintJobEvent int
StackMap stack:
20: iload 5
aload 0
getfield sun.print.Win32PrintJob.jobListeners:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 7
end local 5 end local 4 21: StackMap locals: sun.print.Win32PrintJob int sun.print.Win32PrintJob
StackMap stack:
aload 2
monitorexit
22: goto 25
StackMap locals:
StackMap stack: java.lang.Throwable
23: aload 2
monitorexit
24: athrow
25: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lsun/print/Win32PrintJob;
0 26 1 reason I
8 20 3 listener Ljavax/print/event/PrintJobListener;
5 21 4 event Ljavax/print/event/PrintJobEvent;
6 21 5 i I
Exception table:
from to target type
3 22 23 any
23 24 23 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.Win32PrintJob
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.attrListeners:Ljava/util/Vector;
ifnonnull 7
5: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.print.Win32PrintJob.attrListeners:Ljava/util/Vector;
6: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.print.Win32PrintJob.listenedAttributeSets:Ljava/util/Vector;
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.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.Win32PrintJob.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/Win32PrintJob;
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.Win32PrintJob.attrListeners:Ljava/util/Vector;
ifnonnull 4
2: StackMap locals: sun.print.Win32PrintJob
StackMap stack:
aload 2
monitorexit
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.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.Win32PrintJob.attrListeners:Ljava/util/Vector;
iload 3
invokevirtual java.util.Vector.remove:(I)Ljava/lang/Object;
pop
9: aload 0
getfield sun.print.Win32PrintJob.listenedAttributeSets:Ljava/util/Vector;
iload 3
invokevirtual java.util.Vector.remove:(I)Ljava/lang/Object;
pop
10: aload 0
getfield sun.print.Win32PrintJob.attrListeners:Ljava/util/Vector;
invokevirtual java.util.Vector.isEmpty:()Z
ifeq 13
11: aload 0
aconst_null
putfield sun.print.Win32PrintJob.attrListeners:Ljava/util/Vector;
12: aload 0
aconst_null
putfield sun.print.Win32PrintJob.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/Win32PrintJob;
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=11, 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.Win32PrintJob.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.Win32PrintJob
StackMap stack:
aload 0
iconst_1
putfield sun.print.Win32PrintJob.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
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
ldc Ljavax/print/attribute/standard/PrinterState;
invokevirtual sun.print.Win32PrintService.getAttribute:(Ljava/lang/Class;)Ljavax/print/attribute/PrintServiceAttribute;
checkcast javax.print.attribute.standard.PrinterState
astore 3
start local 3 9: aload 3
getstatic javax.print.attribute.standard.PrinterState.STOPPED:Ljavax/print/attribute/standard/PrinterState;
if_acmpne 15
10: aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
ldc Ljavax/print/attribute/standard/PrinterStateReasons;
invokevirtual sun.print.Win32PrintService.getAttribute:(Ljava/lang/Class;)Ljavax/print/attribute/PrintServiceAttribute;
checkcast javax.print.attribute.standard.PrinterStateReasons
11: astore 4
start local 4 12: aload 4
ifnull 15
13: aload 4
getstatic javax.print.attribute.standard.PrinterStateReason.SHUTDOWN:Ljavax/print/attribute/standard/PrinterStateReason;
invokevirtual javax.print.attribute.standard.PrinterStateReasons.containsKey:(Ljava/lang/Object;)Z
ifeq 15
14: new javax.print.PrintException
dup
ldc "PrintService is no longer available."
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
end local 4 15: StackMap locals: javax.print.attribute.standard.PrinterState
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
ldc Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
invokevirtual sun.print.Win32PrintService.getAttribute:(Ljava/lang/Class;)Ljavax/print/attribute/PrintServiceAttribute;
16: getstatic javax.print.attribute.standard.PrinterIsAcceptingJobs.NOT_ACCEPTING_JOBS:Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
17: if_acmpne 19
18: new javax.print.PrintException
dup
ldc "Printer is not accepting job."
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.print.Win32PrintJob.doc:Ljavax/print/Doc;
20: aload 1
invokeinterface javax.print.Doc.getDocFlavor:()Ljavax/print/DocFlavor;
astore 4
start local 4 21: aload 1
invokeinterface javax.print.Doc.getPrintData:()Ljava/lang/Object;
astore 5
start local 5 22: goto 26
end local 5 StackMap locals: sun.print.Win32PrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet javax.print.attribute.standard.PrinterState javax.print.DocFlavor
StackMap stack: java.io.IOException
23: astore 6
start local 6 24: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
25: 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 6
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 6 start local 5 26: StackMap locals: java.lang.Object
StackMap stack:
aload 5
ifnonnull 28
27: new javax.print.PrintException
dup
ldc "Null print data."
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
28: StackMap locals:
StackMap stack:
aload 4
ifnull 29
aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
aload 4
invokevirtual sun.print.Win32PrintService.isDocFlavorSupported:(Ljavax/print/DocFlavor;)Z
ifne 31
29: StackMap locals:
StackMap stack:
aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
30: new sun.print.PrintJobFlavorException
dup
ldc "invalid flavor"
aload 4
invokespecial sun.print.PrintJobFlavorException.<init>:(Ljava/lang/String;Ljavax/print/DocFlavor;)V
athrow
31: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.print.Win32PrintJob.initializeAttributeSets:(Ljavax/print/Doc;Ljavax/print/attribute/PrintRequestAttributeSet;)V
32: aload 0
aload 4
invokevirtual sun.print.Win32PrintJob.getAttributeValues:(Ljavax/print/DocFlavor;)V
33: aload 4
invokevirtual javax.print.DocFlavor.getRepresentationClassName:()Ljava/lang/String;
astore 6
start local 6 34: aload 4
getstatic javax.print.DocFlavor$INPUT_STREAM.GIF:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 40
35: aload 4
getstatic javax.print.DocFlavor$INPUT_STREAM.JPEG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 40
36: aload 4
getstatic javax.print.DocFlavor$INPUT_STREAM.PNG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 40
37: aload 4
getstatic javax.print.DocFlavor$BYTE_ARRAY.GIF:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 40
38: aload 4
getstatic javax.print.DocFlavor$BYTE_ARRAY.JPEG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 40
39: aload 4
getstatic javax.print.DocFlavor$BYTE_ARRAY.PNG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 53
40: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
invokeinterface javax.print.Doc.getStreamForBytes:()Ljava/io/InputStream;
putfield sun.print.Win32PrintJob.instream:Ljava/io/InputStream;
41: aload 0
getfield sun.print.Win32PrintJob.instream:Ljava/io/InputStream;
ifnonnull 44
42: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
43: new javax.print.PrintException
dup
ldc "No stream for data"
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
44: StackMap locals:
StackMap stack:
aload 0
new sun.print.ImagePrinter
dup
aload 0
getfield sun.print.Win32PrintJob.instream:Ljava/io/InputStream;
invokespecial sun.print.ImagePrinter.<init>:(Ljava/io/InputStream;)V
invokevirtual sun.print.Win32PrintJob.printableJob:(Ljava/awt/print/Printable;)V
45: aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
invokevirtual sun.print.Win32PrintService.wakeNotifier:()V
46: return
47: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 7
start local 7 48: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
49: new javax.print.PrintException
dup
aload 7
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 50: StackMap locals:
StackMap stack: java.io.IOException
astore 7
start local 7 51: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
52: new javax.print.PrintException
dup
aload 7
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 53: StackMap locals:
StackMap stack:
aload 4
getstatic javax.print.DocFlavor$URL.GIF:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 56
54: aload 4
getstatic javax.print.DocFlavor$URL.JPEG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 56
55: aload 4
getstatic javax.print.DocFlavor$URL.PNG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 62
56: StackMap locals:
StackMap stack:
aload 0
new sun.print.ImagePrinter
dup
aload 5
checkcast java.net.URL
invokespecial sun.print.ImagePrinter.<init>:(Ljava/net/URL;)V
invokevirtual sun.print.Win32PrintJob.printableJob:(Ljava/awt/print/Printable;)V
57: aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
invokevirtual sun.print.Win32PrintService.wakeNotifier:()V
58: return
59: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 7
start local 7 60: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
61: new javax.print.PrintException
dup
aload 7
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 62: StackMap locals:
StackMap stack:
aload 6
ldc "java.awt.print.Pageable"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 72
63: aload 0
aload 1
invokeinterface javax.print.Doc.getPrintData:()Ljava/lang/Object;
checkcast java.awt.print.Pageable
invokevirtual sun.print.Win32PrintJob.pageableJob:(Ljava/awt/print/Pageable;)V
64: aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
invokevirtual sun.print.Win32PrintService.wakeNotifier:()V
65: return
66: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 7
start local 7 67: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
68: new javax.print.PrintException
dup
aload 7
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 69: StackMap locals:
StackMap stack: java.io.IOException
astore 7
start local 7 70: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
71: new javax.print.PrintException
dup
aload 7
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 72: StackMap locals:
StackMap stack:
aload 6
ldc "java.awt.print.Printable"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 82
73: aload 0
aload 1
invokeinterface javax.print.Doc.getPrintData:()Ljava/lang/Object;
checkcast java.awt.print.Printable
invokevirtual sun.print.Win32PrintJob.printableJob:(Ljava/awt/print/Printable;)V
74: aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
invokevirtual sun.print.Win32PrintService.wakeNotifier:()V
75: return
76: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 7
start local 7 77: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
78: new javax.print.PrintException
dup
aload 7
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 79: StackMap locals:
StackMap stack: java.io.IOException
astore 7
start local 7 80: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
81: new javax.print.PrintException
dup
aload 7
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 82: StackMap locals:
StackMap stack:
aload 6
ldc "[B"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 85
83: aload 6
ldc "java.io.InputStream"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 85
84: aload 6
ldc "java.net.URL"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 146
85: StackMap locals:
StackMap stack:
aload 6
ldc "java.net.URL"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 92
86: aload 5
checkcast java.net.URL
astore 7
start local 7 87: aload 0
aload 7
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
putfield sun.print.Win32PrintJob.instream:Ljava/io/InputStream;
88: goto 97
StackMap locals: sun.print.Win32PrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet javax.print.attribute.standard.PrinterState javax.print.DocFlavor java.lang.Object java.lang.String java.net.URL
StackMap stack: java.io.IOException
89: astore 8
start local 8 90: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
91: new javax.print.PrintException
dup
aload 8
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
end local 8 end local 7 92: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface javax.print.Doc.getStreamForBytes:()Ljava/io/InputStream;
putfield sun.print.Win32PrintJob.instream:Ljava/io/InputStream;
93: goto 97
StackMap locals:
StackMap stack: java.io.IOException
94: astore 7
start local 7 95: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
96: new javax.print.PrintException
dup
aload 7
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
end local 7 97: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.instream:Ljava/io/InputStream;
ifnonnull 100
98: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
99: new javax.print.PrintException
dup
ldc "No stream for data"
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
100: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.mDestination:Ljava/lang/String;
ifnull 120
101: new java.io.FileOutputStream
dup
aload 0
getfield sun.print.Win32PrintJob.mDestination:Ljava/lang/String;
invokespecial java.io.FileOutputStream.<init>:(Ljava/lang/String;)V
astore 7
start local 7 102: sipush 1024
newarray 8
astore 8
start local 8 103: goto 105
start local 9 104: StackMap locals: java.io.FileOutputStream byte[] int
StackMap stack:
aload 7
aload 8
iconst_0
iload 9
invokevirtual java.io.FileOutputStream.write:([BII)V
end local 9 105: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.instream:Ljava/io/InputStream;
aload 8
iconst_0
aload 8
arraylength
invokevirtual java.io.InputStream.read:([BII)I
dup
istore 9
start local 9 106: ifge 104
107: aload 7
invokevirtual java.io.FileOutputStream.flush:()V
108: aload 7
invokevirtual java.io.FileOutputStream.close:()V
end local 9 end local 8 end local 7 109: goto 116
StackMap locals: sun.print.Win32PrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet javax.print.attribute.standard.PrinterState javax.print.DocFlavor java.lang.Object java.lang.String
StackMap stack: java.io.FileNotFoundException
110: astore 7
start local 7 111: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
112: new javax.print.PrintException
dup
aload 7
invokevirtual java.io.FileNotFoundException.toString:()Ljava/lang/String;
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
end local 7 113: StackMap locals:
StackMap stack: java.io.IOException
astore 7
start local 7 114: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
115: new javax.print.PrintException
dup
aload 7
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
end local 7 116: StackMap locals:
StackMap stack:
aload 0
bipush 106
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
117: aload 0
bipush 102
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
118: aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
invokevirtual sun.print.Win32PrintService.wakeNotifier:()V
119: return
120: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
invokevirtual sun.print.Win32PrintService.getName:()Ljava/lang/String;
aload 0
getfield sun.print.Win32PrintJob.jobName:Ljava/lang/String;
invokevirtual sun.print.Win32PrintJob.startPrintRawData:(Ljava/lang/String;Ljava/lang/String;)Z
ifne 123
121: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
122: new javax.print.PrintException
dup
ldc "Print job failed to start."
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
123: StackMap locals:
StackMap stack:
new java.io.BufferedInputStream
dup
aload 0
getfield sun.print.Win32PrintJob.instream:Ljava/io/InputStream;
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 7
start local 7 124: iconst_0
istore 8
start local 8 125: sipush 8192
newarray 8
astore 9
start local 9 126: goto 131
127: StackMap locals: java.io.BufferedInputStream int byte[]
StackMap stack:
aload 0
aload 9
iload 8
invokevirtual sun.print.Win32PrintJob.printRawData:([BI)Z
ifne 131
128: aload 7
invokevirtual java.io.BufferedInputStream.close:()V
129: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
130: new javax.print.PrintException
dup
ldc "Problem while spooling data"
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
131: StackMap locals:
StackMap stack:
aload 7
aload 9
iconst_0
sipush 8192
invokevirtual java.io.BufferedInputStream.read:([BII)I
dup
istore 8
ifge 127
132: aload 7
invokevirtual java.io.BufferedInputStream.close:()V
133: aload 0
invokevirtual sun.print.Win32PrintJob.endPrintRawData:()Z
ifne 136
134: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
135: new javax.print.PrintException
dup
ldc "Print job failed to close properly."
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
136: StackMap locals:
StackMap stack:
aload 0
bipush 106
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
end local 9 137: goto 144
StackMap locals: sun.print.Win32PrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet javax.print.attribute.standard.PrinterState javax.print.DocFlavor java.lang.Object java.lang.String java.io.BufferedInputStream int
StackMap stack: java.io.IOException
138: astore 9
start local 9 139: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
140: new javax.print.PrintException
dup
aload 9
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
end local 9 141: StackMap locals:
StackMap stack: java.lang.Throwable
astore 10
142: aload 0
bipush 105
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
143: aload 10
athrow
144: StackMap locals:
StackMap stack:
aload 0
bipush 105
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
end local 8 end local 7 145: goto 148
146: StackMap locals:
StackMap stack:
aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
147: new javax.print.PrintException
dup
new java.lang.StringBuilder
dup
ldc "unrecognized class: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
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
148: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
invokevirtual sun.print.Win32PrintService.wakeNotifier:()V
149: return
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 150 0 this Lsun/print/Win32PrintJob;
0 150 1 doc Ljavax/print/Doc;
0 150 2 attributes Ljavax/print/attribute/PrintRequestAttributeSet;
9 150 3 prnState Ljavax/print/attribute/standard/PrinterState;
12 15 4 prnStateReasons Ljavax/print/attribute/standard/PrinterStateReasons;
21 150 4 flavor Ljavax/print/DocFlavor;
22 23 5 data Ljava/lang/Object;
26 150 5 data Ljava/lang/Object;
24 26 6 e Ljava/io/IOException;
34 150 6 repClassName Ljava/lang/String;
48 50 7 cce Ljava/lang/ClassCastException;
51 53 7 ioe Ljava/io/IOException;
60 62 7 cce Ljava/lang/ClassCastException;
67 69 7 cce Ljava/lang/ClassCastException;
70 72 7 ioe Ljava/io/IOException;
77 79 7 cce Ljava/lang/ClassCastException;
80 82 7 ioe Ljava/io/IOException;
87 92 7 url Ljava/net/URL;
90 92 8 e Ljava/io/IOException;
95 97 7 ioe Ljava/io/IOException;
102 109 7 fos Ljava/io/FileOutputStream;
103 109 8 buffer [B
104 105 9 cread I
106 109 9 cread I
111 113 7 fnfe Ljava/io/FileNotFoundException;
114 116 7 ioe Ljava/io/IOException;
124 145 7 bin Ljava/io/BufferedInputStream;
125 145 8 bread I
126 137 9 buffer [B
139 141 9 e Ljava/io/IOException;
Exception table:
from to target type
1 5 6 any
6 7 6 any
21 22 23 Class java.io.IOException
40 46 47 Class java.lang.ClassCastException
40 46 50 Class java.io.IOException
56 58 59 Class java.lang.ClassCastException
63 65 66 Class java.lang.ClassCastException
63 65 69 Class java.io.IOException
73 75 76 Class java.lang.ClassCastException
73 75 79 Class java.io.IOException
87 88 89 Class java.io.IOException
92 93 94 Class java.io.IOException
101 109 110 Class java.io.FileNotFoundException
101 109 113 Class java.io.IOException
125 137 138 Class java.io.IOException
125 141 141 any
Exceptions:
throws javax.print.PrintException
MethodParameters:
Name Flags
doc
attributes
public void printableJob(java.awt.print.Printable);
descriptor: (Ljava/awt/print/Printable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=6, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield sun.print.Win32PrintJob.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.Win32PrintJob
StackMap stack:
aload 0
new sun.awt.windows.WPrinterJob
dup
invokespecial sun.awt.windows.WPrinterJob.<init>:()V
putfield sun.print.Win32PrintJob.job:Ljava/awt/print/PrinterJob;
4: aload 2
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintJob.getPrintService:()Ljavax/print/PrintService;
astore 2
start local 2 9: aload 0
getfield sun.print.Win32PrintJob.job:Ljava/awt/print/PrinterJob;
aload 2
invokevirtual java.awt.print.PrinterJob.setPrintService:(Ljavax/print/PrintService;)V
10: aload 0
getfield sun.print.Win32PrintJob.copies:I
ifne 13
11: aload 2
ldc Ljavax/print/attribute/standard/Copies;
invokeinterface javax.print.PrintService.getDefaultAttributeValue:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.print.attribute.standard.Copies
astore 3
start local 3 12: aload 0
aload 3
invokevirtual javax.print.attribute.standard.Copies.getValue:()I
putfield sun.print.Win32PrintJob.copies:I
end local 3 13: StackMap locals: javax.print.PrintService
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
ifnonnull 18
14: aload 2
ldc Ljavax/print/attribute/standard/Media;
invokeinterface javax.print.PrintService.getDefaultAttributeValue:(Ljava/lang/Class;)Ljava/lang/Object;
astore 3
start local 3 15: aload 3
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 18
16: aload 0
aload 3
checkcast javax.print.attribute.standard.MediaSizeName
putfield sun.print.Win32PrintJob.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
17: aload 0
aload 0
getfield sun.print.Win32PrintJob.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
invokestatic javax.print.attribute.standard.MediaSize.getMediaSizeForName:(Ljavax/print/attribute/standard/MediaSizeName;)Ljavax/print/attribute/standard/MediaSize;
putfield sun.print.Win32PrintJob.mediaSize:Ljavax/print/attribute/standard/MediaSize;
end local 3 18: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.orient:Ljavax/print/attribute/standard/OrientationRequested;
ifnonnull 22
19: aload 0
20: aload 2
ldc Ljavax/print/attribute/standard/OrientationRequested;
invokeinterface javax.print.PrintService.getDefaultAttributeValue:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.print.attribute.standard.OrientationRequested
21: putfield sun.print.Win32PrintJob.orient:Ljavax/print/attribute/standard/OrientationRequested;
22: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.job:Ljava/awt/print/PrinterJob;
aload 0
getfield sun.print.Win32PrintJob.copies:I
invokevirtual java.awt.print.PrinterJob.setCopies:(I)V
23: aload 0
getfield sun.print.Win32PrintJob.job:Ljava/awt/print/PrinterJob;
aload 0
getfield sun.print.Win32PrintJob.jobName:Ljava/lang/String;
invokevirtual java.awt.print.PrinterJob.setJobName:(Ljava/lang/String;)V
24: new java.awt.print.PageFormat
dup
invokespecial java.awt.print.PageFormat.<init>:()V
astore 3
start local 3 25: aload 0
getfield sun.print.Win32PrintJob.mediaSize:Ljavax/print/attribute/standard/MediaSize;
ifnull 34
26: new java.awt.print.Paper
dup
invokespecial java.awt.print.Paper.<init>:()V
astore 4
start local 4 27: aload 4
aload 0
getfield sun.print.Win32PrintJob.mediaSize:Ljavax/print/attribute/standard/MediaSize;
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
f2d
ldc 72.0
dmul
28: aload 0
getfield sun.print.Win32PrintJob.mediaSize:Ljavax/print/attribute/standard/MediaSize;
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
f2d
ldc 72.0
dmul
29: invokevirtual java.awt.print.Paper.setSize:(DD)V
30: aload 4
ldc 72.0
ldc 72.0
aload 4
invokevirtual java.awt.print.Paper.getWidth:()D
ldc 144.0
dsub
31: aload 4
invokevirtual java.awt.print.Paper.getHeight:()D
ldc 144.0
dsub
32: invokevirtual java.awt.print.Paper.setImageableArea:(DDDD)V
33: aload 3
aload 4
invokevirtual java.awt.print.PageFormat.setPaper:(Ljava/awt/print/Paper;)V
end local 4 34: StackMap locals: java.awt.print.PageFormat
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.orient:Ljavax/print/attribute/standard/OrientationRequested;
getstatic javax.print.attribute.standard.OrientationRequested.REVERSE_LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 37
35: aload 3
iconst_2
invokevirtual java.awt.print.PageFormat.setOrientation:(I)V
36: goto 39
StackMap locals:
StackMap stack:
37: aload 0
getfield sun.print.Win32PrintJob.orient:Ljavax/print/attribute/standard/OrientationRequested;
getstatic javax.print.attribute.standard.OrientationRequested.LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 39
38: aload 3
iconst_0
invokevirtual java.awt.print.PageFormat.setOrientation:(I)V
39: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.job:Ljava/awt/print/PrinterJob;
aload 1
aload 3
invokevirtual java.awt.print.PrinterJob.setPrintable:(Ljava/awt/print/Printable;Ljava/awt/print/PageFormat;)V
40: aload 0
getfield sun.print.Win32PrintJob.job:Ljava/awt/print/PrinterJob;
aload 0
getfield sun.print.Win32PrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
invokevirtual java.awt.print.PrinterJob.print:(Ljavax/print/attribute/PrintRequestAttributeSet;)V
41: aload 0
bipush 106
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
42: aload 0
iconst_1
putfield sun.print.Win32PrintJob.printReturned:Z
43: aload 0
bipush 105
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
44: return
end local 3 end local 2 45: StackMap locals: sun.print.Win32PrintJob java.awt.print.Printable
StackMap stack: java.awt.print.PrinterException
astore 2
start local 2 46: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
47: new javax.print.PrintException
dup
aload 2
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 48: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
49: aload 0
iconst_1
putfield sun.print.Win32PrintJob.printReturned:Z
50: aload 0
bipush 105
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
51: aload 5
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 52 0 this Lsun/print/Win32PrintJob;
0 52 1 printable Ljava/awt/print/Printable;
9 45 2 svc Ljavax/print/PrintService;
12 13 3 c Ljavax/print/attribute/standard/Copies;
15 18 3 media Ljava/lang/Object;
25 45 3 pf Ljava/awt/print/PageFormat;
27 34 4 p Ljava/awt/print/Paper;
46 48 2 pe Ljava/awt/print/PrinterException;
Exception table:
from to target type
1 5 6 any
6 7 6 any
0 42 45 Class java.awt.print.PrinterException
0 42 48 any
45 48 48 any
Exceptions:
throws javax.print.PrintException
MethodParameters:
Name Flags
printable
public void pageableJob(java.awt.print.Pageable);
descriptor: (Ljava/awt/print/Pageable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield sun.print.Win32PrintJob.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.Win32PrintJob
StackMap stack:
aload 0
new sun.awt.windows.WPrinterJob
dup
invokespecial sun.awt.windows.WPrinterJob.<init>:()V
putfield sun.print.Win32PrintJob.job:Ljava/awt/print/PrinterJob;
4: aload 2
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintJob.getPrintService:()Ljavax/print/PrintService;
astore 2
start local 2 9: aload 0
getfield sun.print.Win32PrintJob.job:Ljava/awt/print/PrinterJob;
aload 2
invokevirtual java.awt.print.PrinterJob.setPrintService:(Ljavax/print/PrintService;)V
10: aload 0
getfield sun.print.Win32PrintJob.copies:I
ifne 13
11: aload 2
ldc Ljavax/print/attribute/standard/Copies;
invokeinterface javax.print.PrintService.getDefaultAttributeValue:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.print.attribute.standard.Copies
astore 3
start local 3 12: aload 0
aload 3
invokevirtual javax.print.attribute.standard.Copies.getValue:()I
putfield sun.print.Win32PrintJob.copies:I
end local 3 13: StackMap locals: javax.print.PrintService
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.job:Ljava/awt/print/PrinterJob;
aload 0
getfield sun.print.Win32PrintJob.copies:I
invokevirtual java.awt.print.PrinterJob.setCopies:(I)V
14: aload 0
getfield sun.print.Win32PrintJob.job:Ljava/awt/print/PrinterJob;
aload 0
getfield sun.print.Win32PrintJob.jobName:Ljava/lang/String;
invokevirtual java.awt.print.PrinterJob.setJobName:(Ljava/lang/String;)V
15: aload 0
getfield sun.print.Win32PrintJob.job:Ljava/awt/print/PrinterJob;
aload 1
invokevirtual java.awt.print.PrinterJob.setPageable:(Ljava/awt/print/Pageable;)V
16: aload 0
getfield sun.print.Win32PrintJob.job:Ljava/awt/print/PrinterJob;
aload 0
getfield sun.print.Win32PrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
invokevirtual java.awt.print.PrinterJob.print:(Ljavax/print/attribute/PrintRequestAttributeSet;)V
17: aload 0
bipush 106
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
18: aload 0
iconst_1
putfield sun.print.Win32PrintJob.printReturned:Z
19: aload 0
bipush 105
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
20: return
end local 2 21: StackMap locals: sun.print.Win32PrintJob java.awt.print.Pageable
StackMap stack: java.awt.print.PrinterException
astore 2
start local 2 22: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
23: new javax.print.PrintException
dup
aload 2
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 24: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
25: aload 0
iconst_1
putfield sun.print.Win32PrintJob.printReturned:Z
26: aload 0
bipush 105
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
27: aload 4
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/print/Win32PrintJob;
0 28 1 pageable Ljava/awt/print/Pageable;
9 21 2 svc Ljavax/print/PrintService;
12 13 3 c Ljavax/print/attribute/standard/Copies;
22 24 2 pe Ljava/awt/print/PrinterException;
Exception table:
from to target type
1 5 6 any
6 7 6 any
0 18 21 Class java.awt.print.PrinterException
0 18 24 any
21 24 24 any
Exceptions:
throws javax.print.PrintException
MethodParameters:
Name Flags
pageable
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.Win32PrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
1: aload 0
new javax.print.attribute.HashPrintJobAttributeSet
dup
invokespecial javax.print.attribute.HashPrintJobAttributeSet.<init>:()V
putfield sun.print.Win32PrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
2: aload 2
ifnull 11
3: aload 0
getfield sun.print.Win32PrintJob.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.Win32PrintJob.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.Win32PrintJob.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.Win32PrintJob.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.Win32PrintJob 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.Win32PrintJob 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.Win32PrintJob.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.Win32PrintJob.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.Win32PrintJob.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.Win32PrintJob.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.Win32PrintJob.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.Win32PrintJob 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.Win32PrintJob.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.Win32PrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet top javax.print.attribute.DocAttributeSet java.lang.String
StackMap stack:
aload 0
aload 0
getfield sun.print.Win32PrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
invokestatic javax.print.attribute.AttributeSetUtilities.unmodifiableView:(Ljavax/print/attribute/PrintJobAttributeSet;)Ljavax/print/attribute/PrintJobAttributeSet;
putfield sun.print.Win32PrintJob.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/Win32PrintJob;
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=9, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.print.Win32PrintJob.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.Win32PrintJob.fidelity:Z
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.print.Win32PrintJob.fidelity:Z
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
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 51
7: StackMap locals: sun.print.Win32PrintJob javax.print.DocFlavor top javax.print.attribute.Attribute[] int
StackMap stack:
aload 3
iload 4
aaload
astore 5
start local 5 8: aload 5
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
astore 2
start local 2 9: aload 0
getfield sun.print.Win32PrintJob.fidelity:Z
ifeq 20
10: aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
aload 2
invokevirtual sun.print.Win32PrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 15
11: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.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 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
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.Win32PrintJob javax.print.DocFlavor java.lang.Class javax.print.attribute.Attribute[] int javax.print.attribute.Attribute
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
aload 5
aload 1
aconst_null
invokevirtual sun.print.Win32PrintService.isAttributeValueSupported:(Ljavax/print/attribute/Attribute;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
ifne 20
16: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.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 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
aload 5
19: invokespecial sun.print.PrintJobAttributeException.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljavax/print/attribute/Attribute;)V
athrow
20: StackMap locals:
StackMap stack:
aload 2
ldc Ljavax/print/attribute/standard/Destination;
if_acmpne 36
21: aload 5
checkcast javax.print.attribute.standard.Destination
invokevirtual javax.print.attribute.standard.Destination.getURI:()Ljava/net/URI;
astore 6
start local 6 22: ldc "file"
aload 6
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 25
23: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
24: new javax.print.PrintException
dup
ldc "Not a file: URI"
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals: java.net.URI
StackMap stack:
aload 0
new java.io.File
dup
aload 6
invokespecial java.io.File.<init>:(Ljava/net/URI;)V
invokevirtual java.io.File.getPath:()Ljava/lang/String;
putfield sun.print.Win32PrintJob.mDestination:Ljava/lang/String;
26: goto 29
StackMap locals:
StackMap stack: java.lang.Exception
27: astore 7
start local 7 28: new javax.print.PrintException
dup
aload 7
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 29: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 7
start local 7 30: aload 7
ifnull 50
31: aload 7
aload 0
getfield sun.print.Win32PrintJob.mDestination:Ljava/lang/String;
invokevirtual java.lang.SecurityManager.checkWrite:(Ljava/lang/String;)V
32: goto 50
StackMap locals: sun.print.Win32PrintJob javax.print.DocFlavor java.lang.Class javax.print.attribute.Attribute[] int javax.print.attribute.Attribute java.net.URI java.lang.SecurityManager
StackMap stack: java.lang.SecurityException
33: astore 8
start local 8 34: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
35: new javax.print.PrintException
dup
aload 8
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 8 end local 7 end local 6 36: StackMap locals:
StackMap stack:
aload 2
ldc Ljavax/print/attribute/standard/JobName;
if_acmpne 39
37: aload 0
aload 5
checkcast javax.print.attribute.standard.JobName
invokevirtual javax.print.attribute.standard.JobName.getValue:()Ljava/lang/String;
putfield sun.print.Win32PrintJob.jobName:Ljava/lang/String;
38: goto 50
StackMap locals:
StackMap stack:
39: aload 2
ldc Ljavax/print/attribute/standard/Copies;
if_acmpne 42
40: aload 0
aload 5
checkcast javax.print.attribute.standard.Copies
invokevirtual javax.print.attribute.standard.Copies.getValue:()I
putfield sun.print.Win32PrintJob.copies:I
41: goto 50
StackMap locals:
StackMap stack:
42: aload 2
ldc Ljavax/print/attribute/standard/Media;
if_acmpne 48
43: aload 5
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 50
44: aload 0
aload 5
checkcast javax.print.attribute.standard.MediaSizeName
putfield sun.print.Win32PrintJob.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
45: aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
aload 5
aconst_null
aconst_null
invokevirtual sun.print.Win32PrintService.isAttributeValueSupported:(Ljavax/print/attribute/Attribute;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
ifne 50
46: aload 0
aload 0
getfield sun.print.Win32PrintJob.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
invokestatic javax.print.attribute.standard.MediaSize.getMediaSizeForName:(Ljavax/print/attribute/standard/MediaSizeName;)Ljavax/print/attribute/standard/MediaSize;
putfield sun.print.Win32PrintJob.mediaSize:Ljavax/print/attribute/standard/MediaSize;
47: goto 50
StackMap locals:
StackMap stack:
48: aload 2
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 50
49: aload 0
aload 5
checkcast javax.print.attribute.standard.OrientationRequested
putfield sun.print.Win32PrintJob.orient:Ljavax/print/attribute/standard/OrientationRequested;
end local 5 50: StackMap locals:
StackMap stack:
iinc 4 1
end local 2 StackMap locals: sun.print.Win32PrintJob javax.print.DocFlavor top javax.print.attribute.Attribute[] int
StackMap stack:
51: iload 4
aload 3
arraylength
if_icmplt 7
end local 4 52: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Lsun/print/Win32PrintJob;
0 53 1 flavor Ljavax/print/DocFlavor;
9 51 2 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
5 53 3 attrs [Ljavax/print/attribute/Attribute;
6 52 4 i I
8 50 5 attr Ljavax/print/attribute/Attribute;
22 36 6 uri Ljava/net/URI;
28 29 7 e Ljava/lang/Exception;
30 36 7 security Ljava/lang/SecurityManager;
34 36 8 se Ljava/lang/SecurityException;
Exception table:
from to target type
25 26 27 Class java.lang.Exception
31 32 33 Class java.lang.SecurityException
Exceptions:
throws javax.print.PrintException
MethodParameters:
Name Flags
flavor
private native boolean startPrintRawData(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
printerName
jobName
private native boolean printRawData(byte[], int);
descriptor: ([BI)Z
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
data
count
private native boolean endPrintRawData();
descriptor: ()Z
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
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.Win32PrintJob.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.Win32PrintJob
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.job:Ljava/awt/print/PrinterJob;
ifnull 8
aload 0
getfield sun.print.Win32PrintJob.printReturned:Z
ifne 8
4: aload 0
getfield sun.print.Win32PrintJob.job:Ljava/awt/print/PrinterJob;
invokevirtual java.awt.print.PrinterJob.cancel:()V
5: aload 0
bipush 101
invokevirtual sun.print.Win32PrintJob.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/Win32PrintJob;
Exception table:
from to target type
1 7 9 any
8 10 9 any
Exceptions:
throws javax.print.PrintException
}
SourceFile: "Win32PrintJob.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