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 jobListeners;
descriptor: Ljava/util/Vector;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.util.Vector attrListeners;
descriptor: Ljava/util/Vector;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.util.Vector listenedAttributeSets;
descriptor: Ljava/util/Vector;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
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;
9: ldc Ljavax/print/attribute/standard/PrinterState;
10: invokevirtual sun.print.Win32PrintService.getAttribute:(Ljava/lang/Class;)Ljavax/print/attribute/PrintServiceAttribute;
checkcast javax.print.attribute.standard.PrinterState
astore 3
start local 3 11: aload 3
getstatic javax.print.attribute.standard.PrinterState.STOPPED:Ljavax/print/attribute/standard/PrinterState;
if_acmpne 19
12: aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
13: ldc Ljavax/print/attribute/standard/PrinterStateReasons;
14: invokevirtual sun.print.Win32PrintService.getAttribute:(Ljava/lang/Class;)Ljavax/print/attribute/PrintServiceAttribute;
checkcast javax.print.attribute.standard.PrinterStateReasons
15: astore 4
start local 4 16: aload 4
ifnull 19
17: 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 19
18: new javax.print.PrintException
dup
ldc "PrintService is no longer available."
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
end local 4 19: StackMap locals: javax.print.attribute.standard.PrinterState
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
20: ldc Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
21: invokevirtual sun.print.Win32PrintService.getAttribute:(Ljava/lang/Class;)Ljavax/print/attribute/PrintServiceAttribute;
checkcast javax.print.attribute.standard.PrinterIsAcceptingJobs
22: getstatic javax.print.attribute.standard.PrinterIsAcceptingJobs.NOT_ACCEPTING_JOBS:Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
23: if_acmpne 25
24: new javax.print.PrintException
dup
ldc "Printer is not accepting job."
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.print.Win32PrintJob.doc:Ljavax/print/Doc;
26: aload 1
invokeinterface javax.print.Doc.getDocFlavor:()Ljavax/print/DocFlavor;
astore 4
start local 4 27: aload 1
invokeinterface javax.print.Doc.getPrintData:()Ljava/lang/Object;
astore 5
start local 5 28: goto 32
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
29: astore 6
start local 6 30: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
31: 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 32: StackMap locals: java.lang.Object
StackMap stack:
aload 4
ifnull 33
aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
aload 4
invokevirtual sun.print.Win32PrintService.isDocFlavorSupported:(Ljavax/print/DocFlavor;)Z
ifne 35
33: StackMap locals:
StackMap stack:
aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
34: new sun.print.PrintJobFlavorException
dup
ldc "invalid flavor"
aload 4
invokespecial sun.print.PrintJobFlavorException.<init>:(Ljava/lang/String;Ljavax/print/DocFlavor;)V
athrow
35: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.print.Win32PrintJob.initializeAttributeSets:(Ljavax/print/Doc;Ljavax/print/attribute/PrintRequestAttributeSet;)V
36: aload 0
aload 4
invokevirtual sun.print.Win32PrintJob.getAttributeValues:(Ljavax/print/DocFlavor;)V
37: aload 4
invokevirtual javax.print.DocFlavor.getRepresentationClassName:()Ljava/lang/String;
astore 6
start local 6 38: aload 4
getstatic javax.print.DocFlavor$INPUT_STREAM.GIF:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 44
39: aload 4
getstatic javax.print.DocFlavor$INPUT_STREAM.JPEG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 44
40: aload 4
getstatic javax.print.DocFlavor$INPUT_STREAM.PNG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 44
41: aload 4
getstatic javax.print.DocFlavor$BYTE_ARRAY.GIF:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 44
42: aload 4
getstatic javax.print.DocFlavor$BYTE_ARRAY.JPEG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 44
43: aload 4
getstatic javax.print.DocFlavor$BYTE_ARRAY.PNG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 57
44: 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;
45: aload 0
getfield sun.print.Win32PrintJob.instream:Ljava/io/InputStream;
ifnonnull 48
46: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
47: new javax.print.PrintException
dup
ldc "No stream for data"
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
48: 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
49: aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
invokevirtual sun.print.Win32PrintService.wakeNotifier:()V
50: return
51: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 7
start local 7 52: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
53: new javax.print.PrintException
dup
aload 7
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 54: StackMap locals:
StackMap stack: java.io.IOException
astore 7
start local 7 55: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
56: new javax.print.PrintException
dup
aload 7
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 57: 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 60
58: aload 4
getstatic javax.print.DocFlavor$URL.JPEG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 60
59: aload 4
getstatic javax.print.DocFlavor$URL.PNG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 66
60: 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
61: aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
invokevirtual sun.print.Win32PrintService.wakeNotifier:()V
62: return
63: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 7
start local 7 64: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
65: new javax.print.PrintException
dup
aload 7
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 66: StackMap locals:
StackMap stack:
aload 6
ldc "java.awt.print.Pageable"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 76
67: 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
68: aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
invokevirtual sun.print.Win32PrintService.wakeNotifier:()V
69: return
70: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 7
start local 7 71: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
72: new javax.print.PrintException
dup
aload 7
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 73: StackMap locals:
StackMap stack: java.io.IOException
astore 7
start local 7 74: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
75: new javax.print.PrintException
dup
aload 7
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 76: StackMap locals:
StackMap stack:
aload 6
ldc "java.awt.print.Printable"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 86
77: 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
78: aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
invokevirtual sun.print.Win32PrintService.wakeNotifier:()V
79: return
80: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 7
start local 7 81: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
82: new javax.print.PrintException
dup
aload 7
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 83: StackMap locals:
StackMap stack: java.io.IOException
astore 7
start local 7 84: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
85: new javax.print.PrintException
dup
aload 7
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 86: StackMap locals:
StackMap stack:
aload 6
ldc "[B"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 89
87: aload 6
ldc "java.io.InputStream"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 89
88: aload 6
ldc "java.net.URL"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 150
89: StackMap locals:
StackMap stack:
aload 6
ldc "java.net.URL"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 96
90: aload 5
checkcast java.net.URL
astore 7
start local 7 91: aload 0
aload 7
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
putfield sun.print.Win32PrintJob.instream:Ljava/io/InputStream;
92: goto 101
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
93: astore 8
start local 8 94: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
95: 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 96: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface javax.print.Doc.getStreamForBytes:()Ljava/io/InputStream;
putfield sun.print.Win32PrintJob.instream:Ljava/io/InputStream;
97: goto 101
StackMap locals:
StackMap stack: java.io.IOException
98: astore 7
start local 7 99: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
100: 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 101: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.instream:Ljava/io/InputStream;
ifnonnull 104
102: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
103: new javax.print.PrintException
dup
ldc "No stream for data"
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
104: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.mDestination:Ljava/lang/String;
ifnull 124
105: 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 106: sipush 1024
newarray 8
astore 8
start local 8 107: goto 109
start local 9 108: 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 109: 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 110: ifge 108
111: aload 7
invokevirtual java.io.FileOutputStream.flush:()V
112: aload 7
invokevirtual java.io.FileOutputStream.close:()V
end local 9 end local 8 end local 7 113: goto 120
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
114: astore 7
start local 7 115: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
116: 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 117: StackMap locals:
StackMap stack: java.io.IOException
astore 7
start local 7 118: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
119: 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 120: StackMap locals:
StackMap stack:
aload 0
bipush 106
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
121: aload 0
bipush 102
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
122: aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
invokevirtual sun.print.Win32PrintService.wakeNotifier:()V
123: return
124: 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 127
125: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
126: new javax.print.PrintException
dup
ldc "Print job failed to start."
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
127: 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 128: iconst_0
istore 8
start local 8 129: sipush 8192
newarray 8
astore 9
start local 9 130: goto 135
131: StackMap locals: java.io.BufferedInputStream int byte[]
StackMap stack:
aload 0
aload 9
iload 8
invokevirtual sun.print.Win32PrintJob.printRawData:([BI)Z
ifne 135
132: aload 7
invokevirtual java.io.BufferedInputStream.close:()V
133: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
134: new javax.print.PrintException
dup
ldc "Problem while spooling data"
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
135: StackMap locals:
StackMap stack:
aload 7
aload 9
iconst_0
sipush 8192
invokevirtual java.io.BufferedInputStream.read:([BII)I
dup
istore 8
ifge 131
136: aload 7
invokevirtual java.io.BufferedInputStream.close:()V
137: aload 0
invokevirtual sun.print.Win32PrintJob.endPrintRawData:()Z
ifne 140
138: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
139: new javax.print.PrintException
dup
ldc "Print job failed to close properly."
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
140: StackMap locals:
StackMap stack:
aload 0
bipush 106
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
end local 9 141: goto 148
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
142: astore 9
start local 9 143: aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
144: 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 145: StackMap locals:
StackMap stack: java.lang.Throwable
astore 10
146: aload 0
bipush 105
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
147: aload 10
athrow
148: StackMap locals:
StackMap stack:
aload 0
bipush 105
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
end local 8 end local 7 149: goto 152
150: StackMap locals:
StackMap stack:
aload 0
bipush 103
invokevirtual sun.print.Win32PrintJob.notifyEvent:(I)V
151: 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
152: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintJob.service:Lsun/print/Win32PrintService;
invokevirtual sun.print.Win32PrintService.wakeNotifier:()V
153: 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 154 0 this Lsun/print/Win32PrintJob;
0 154 1 doc Ljavax/print/Doc;
0 154 2 attributes Ljavax/print/attribute/PrintRequestAttributeSet;
11 154 3 prnState Ljavax/print/attribute/standard/PrinterState;
16 19 4 prnStateReasons Ljavax/print/attribute/standard/PrinterStateReasons;
27 154 4 flavor Ljavax/print/DocFlavor;
28 29 5 data Ljava/lang/Object;
32 154 5 data Ljava/lang/Object;
30 32 6 e Ljava/io/IOException;
38 154 6 repClassName Ljava/lang/String;
52 54 7 cce Ljava/lang/ClassCastException;
55 57 7 ioe Ljava/io/IOException;
64 66 7 cce Ljava/lang/ClassCastException;
71 73 7 cce Ljava/lang/ClassCastException;
74 76 7 ioe Ljava/io/IOException;
81 83 7 cce Ljava/lang/ClassCastException;
84 86 7 ioe Ljava/io/IOException;
91 96 7 url Ljava/net/URL;
94 96 8 e Ljava/io/IOException;
99 101 7 ioe Ljava/io/IOException;
106 113 7 fos Ljava/io/FileOutputStream;
107 113 8 buffer [B
108 109 9 cread I
110 113 9 cread I
115 117 7 fnfe Ljava/io/FileNotFoundException;
118 120 7 ioe Ljava/io/IOException;
128 149 7 bin Ljava/io/BufferedInputStream;
129 149 8 bread I
130 141 9 buffer [B
143 145 9 e Ljava/io/IOException;
Exception table:
from to target type
1 5 6 any
6 7 6 any
27 28 29 Class java.io.IOException
44 50 51 Class java.lang.ClassCastException
44 50 54 Class java.io.IOException
60 62 63 Class java.lang.ClassCastException
67 69 70 Class java.lang.ClassCastException
67 69 73 Class java.io.IOException
77 79 80 Class java.lang.ClassCastException
77 79 83 Class java.io.IOException
91 92 93 Class java.io.IOException
96 97 98 Class java.io.IOException
105 113 114 Class java.io.FileNotFoundException
105 113 117 Class java.io.IOException
129 141 142 Class java.io.IOException
129 145 145 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;
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