public class sun.print.UnixPrintJob implements javax.print.CancelablePrintJob
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.print.UnixPrintJob
super_class: java.lang.Object
{
private static java.lang.String debugPrefix;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
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 javax.print.PrintService service;
descriptor: Ljavax/print/PrintService;
flags: (0x0002) ACC_PRIVATE
private boolean fidelity;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean printing;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean printReturned;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.PrintRequestAttributeSet reqAttrSet;
descriptor: Ljavax/print/attribute/PrintRequestAttributeSet;
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.PrintJobAttributeSet jobAttrSet;
descriptor: Ljavax/print/attribute/PrintJobAttributeSet;
flags: (0x0002) ACC_PRIVATE
private java.awt.print.PrinterJob job;
descriptor: Ljava/awt/print/PrinterJob;
flags: (0x0002) ACC_PRIVATE
private javax.print.Doc doc;
descriptor: Ljavax/print/Doc;
flags: (0x0002) ACC_PRIVATE
private java.io.InputStream instream;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
private java.io.Reader reader;
descriptor: Ljava/io/Reader;
flags: (0x0002) ACC_PRIVATE
private java.lang.String jobName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int copies;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.standard.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 sun.print.CustomMediaTray customTray;
descriptor: Lsun/print/CustomMediaTray;
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.standard.OrientationRequested orient;
descriptor: Ljavax/print/attribute/standard/OrientationRequested;
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.standard.NumberUp nUp;
descriptor: Ljavax/print/attribute/standard/NumberUp;
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.standard.Sides sides;
descriptor: Ljavax/print/attribute/standard/Sides;
flags: (0x0002) ACC_PRIVATE
private static int DESTPRINTER;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int DESTFILE;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private int mDestType;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.io.File spoolFile;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
private java.lang.String mDestination;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String mOptions;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean mNoJobSheet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "UnixPrintJob>> "
putstatic sun.print.UnixPrintJob.debugPrefix:Ljava/lang/String;
1: iconst_1
putstatic sun.print.UnixPrintJob.DESTPRINTER:I
2: iconst_2
putstatic sun.print.UnixPrintJob.DESTFILE:I
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(javax.print.PrintService);
descriptor: (Ljavax/print/PrintService;)V
flags: (0x0000)
Code:
stack=2, locals=3, 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.UnixPrintJob.printing:Z
2: aload 0
iconst_0
putfield sun.print.UnixPrintJob.printReturned:Z
3: aload 0
aconst_null
putfield sun.print.UnixPrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
4: aload 0
aconst_null
putfield sun.print.UnixPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
5: aload 0
aconst_null
putfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
6: aload 0
aconst_null
putfield sun.print.UnixPrintJob.reader:Ljava/io/Reader;
7: aload 0
ldc "Java Printing"
putfield sun.print.UnixPrintJob.jobName:Ljava/lang/String;
8: aload 0
iconst_1
putfield sun.print.UnixPrintJob.copies:I
9: aload 0
getstatic javax.print.attribute.standard.MediaSizeName.NA_LETTER:Ljavax/print/attribute/standard/MediaSizeName;
putfield sun.print.UnixPrintJob.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
10: aload 0
getstatic javax.print.attribute.standard.MediaSize$NA.LETTER:Ljavax/print/attribute/standard/MediaSize;
putfield sun.print.UnixPrintJob.mediaSize:Ljavax/print/attribute/standard/MediaSize;
11: aload 0
aconst_null
putfield sun.print.UnixPrintJob.customTray:Lsun/print/CustomMediaTray;
12: aload 0
getstatic javax.print.attribute.standard.OrientationRequested.PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
putfield sun.print.UnixPrintJob.orient:Ljavax/print/attribute/standard/OrientationRequested;
13: aload 0
aconst_null
putfield sun.print.UnixPrintJob.nUp:Ljavax/print/attribute/standard/NumberUp;
14: aload 0
aconst_null
putfield sun.print.UnixPrintJob.sides:Ljavax/print/attribute/standard/Sides;
15: aload 0
getstatic sun.print.UnixPrintJob.DESTPRINTER:I
putfield sun.print.UnixPrintJob.mDestType:I
16: aload 0
ldc ""
putfield sun.print.UnixPrintJob.mOptions:Ljava/lang/String;
17: aload 0
iconst_0
putfield sun.print.UnixPrintJob.mNoJobSheet:Z
18: aload 0
aload 1
putfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
19: aload 0
aload 1
invokeinterface javax.print.PrintService.getName:()Ljava/lang/String;
putfield sun.print.UnixPrintJob.mDestination:Ljava/lang/String;
20: invokestatic sun.print.PrintServiceLookupProvider.isMac:()Z
ifeq 22
21: aload 0
aload 1
checkcast sun.print.IPPPrintService
invokevirtual sun.print.IPPPrintService.getDest:()Ljava/lang/String;
putfield sun.print.UnixPrintJob.mDestination:Ljava/lang/String;
22: StackMap locals: sun.print.UnixPrintJob javax.print.PrintService
StackMap stack:
aload 0
getstatic sun.print.UnixPrintJob.DESTPRINTER:I
putfield sun.print.UnixPrintJob.mDestType:I
23: aload 1
24: ldc Ljavax/print/attribute/standard/JobSheets;
invokeinterface javax.print.PrintService.getDefaultAttributeValue:(Ljava/lang/Class;)Ljava/lang/Object;
25: checkcast javax.print.attribute.standard.JobSheets
astore 2
start local 2 26: aload 2
ifnull 28
aload 2
getstatic javax.print.attribute.standard.JobSheets.NONE:Ljavax/print/attribute/standard/JobSheets;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 28
27: aload 0
iconst_1
putfield sun.print.UnixPrintJob.mNoJobSheet:Z
28: StackMap locals: javax.print.attribute.standard.JobSheets
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lsun/print/UnixPrintJob;
0 29 1 service Ljavax/print/PrintService;
26 29 2 js Ljavax/print/attribute/standard/JobSheets;
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.UnixPrintJob.service:Ljavax/print/PrintService;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/UnixPrintJob;
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.UnixPrintJob.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.UnixPrintJob
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.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/UnixPrintJob;
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.UnixPrintJob
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.jobListeners:Ljava/util/Vector;
ifnonnull 6
5: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.print.UnixPrintJob.jobListeners:Ljava/util/Vector;
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.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/UnixPrintJob;
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.UnixPrintJob.jobListeners:Ljava/util/Vector;
ifnonnull 4
2: StackMap locals: sun.print.UnixPrintJob
StackMap stack:
aload 2
monitorexit
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.jobListeners:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.remove:(Ljava/lang/Object;)Z
pop
5: aload 0
getfield sun.print.UnixPrintJob.jobListeners:Ljava/util/Vector;
invokevirtual java.util.Vector.isEmpty:()Z
ifeq 7
6: aload 0
aconst_null
putfield sun.print.UnixPrintJob.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/UnixPrintJob;
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.UnixPrintJob.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.UnixPrintJob.doc:Ljavax/print/Doc;
invokeinterface javax.print.Doc.getPrintData:()Ljava/lang/Object;
astore 1
4: goto 7
StackMap locals: sun.print.UnixPrintJob java.lang.Object
StackMap stack: java.io.IOException
5: pop
6: return
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
ifnull 17
8: aload 0
getfield sun.print.UnixPrintJob.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.UnixPrintJob.instream:Ljava/io/InputStream;
goto 36
12: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
13: aload 0
aconst_null
putfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
14: aload 2
athrow
15: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
16: goto 36
17: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.reader:Ljava/io/Reader;
ifnull 27
18: aload 0
getfield sun.print.UnixPrintJob.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.UnixPrintJob.reader:Ljava/io/Reader;
goto 36
22: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
23: aload 0
aconst_null
putfield sun.print.UnixPrintJob.reader:Ljava/io/Reader;
24: aload 2
athrow
25: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.print.UnixPrintJob.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/UnixPrintJob;
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.UnixPrintJob.closeDataStreams:()V
2: StackMap locals:
StackMap stack:
aload 0
dup
astore 2
monitorenter
3: aload 0
getfield sun.print.UnixPrintJob.jobListeners:Ljava/util/Vector;
ifnull 19
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 18
7: StackMap locals: sun.print.UnixPrintJob int sun.print.UnixPrintJob top javax.print.event.PrintJobEvent int
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.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: 9
102: 17
103: 11
104: 17
105: 15
106: 13
default: 17
}
9: StackMap locals: sun.print.UnixPrintJob int sun.print.UnixPrintJob javax.print.event.PrintJobListener javax.print.event.PrintJobEvent int
StackMap stack:
aload 3
aload 4
invokeinterface javax.print.event.PrintJobListener.printJobCanceled:(Ljavax/print/event/PrintJobEvent;)V
10: goto 17
11: StackMap locals:
StackMap stack:
aload 3
aload 4
invokeinterface javax.print.event.PrintJobListener.printJobFailed:(Ljavax/print/event/PrintJobEvent;)V
12: goto 17
13: StackMap locals:
StackMap stack:
aload 3
aload 4
invokeinterface javax.print.event.PrintJobListener.printDataTransferCompleted:(Ljavax/print/event/PrintJobEvent;)V
14: goto 17
15: StackMap locals:
StackMap stack:
aload 3
aload 4
invokeinterface javax.print.event.PrintJobListener.printJobNoMoreEvents:(Ljavax/print/event/PrintJobEvent;)V
16: goto 17
17: StackMap locals:
StackMap stack:
iinc 5 1
end local 3 StackMap locals: sun.print.UnixPrintJob int sun.print.UnixPrintJob top javax.print.event.PrintJobEvent int
StackMap stack:
18: iload 5
aload 0
getfield sun.print.UnixPrintJob.jobListeners:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 7
end local 5 end local 4 19: StackMap locals: sun.print.UnixPrintJob int sun.print.UnixPrintJob
StackMap stack:
aload 2
monitorexit
20: goto 23
StackMap locals:
StackMap stack: java.lang.Throwable
21: aload 2
monitorexit
22: athrow
23: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/print/UnixPrintJob;
0 24 1 reason I
8 18 3 listener Ljavax/print/event/PrintJobListener;
5 19 4 event Ljavax/print/event/PrintJobEvent;
6 19 5 i I
Exception table:
from to target type
3 20 21 any
21 22 21 any
MethodParameters:
Name Flags
reason
public void addPrintJobAttributeListener(javax.print.event.PrintJobAttributeListener, javax.print.attribute.PrintJobAttributeSet);
descriptor: (Ljavax/print/event/PrintJobAttributeListener;Ljavax/print/attribute/PrintJobAttributeSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
astore 3
monitorenter
1: aload 1
ifnonnull 4
2: aload 3
monitorexit
3: return
4: StackMap locals: sun.print.UnixPrintJob
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.attrListeners:Ljava/util/Vector;
ifnonnull 7
5: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.print.UnixPrintJob.attrListeners:Ljava/util/Vector;
6: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.print.UnixPrintJob.listenedAttributeSets:Ljava/util/Vector;
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.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.UnixPrintJob.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/UnixPrintJob;
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.UnixPrintJob.attrListeners:Ljava/util/Vector;
ifnonnull 4
2: StackMap locals: sun.print.UnixPrintJob
StackMap stack:
aload 2
monitorexit
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.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.UnixPrintJob.attrListeners:Ljava/util/Vector;
iload 3
invokevirtual java.util.Vector.remove:(I)Ljava/lang/Object;
pop
9: aload 0
getfield sun.print.UnixPrintJob.listenedAttributeSets:Ljava/util/Vector;
iload 3
invokevirtual java.util.Vector.remove:(I)Ljava/lang/Object;
pop
10: aload 0
getfield sun.print.UnixPrintJob.attrListeners:Ljava/util/Vector;
invokevirtual java.util.Vector.isEmpty:()Z
ifeq 13
11: aload 0
aconst_null
putfield sun.print.UnixPrintJob.attrListeners:Ljava/util/Vector;
12: aload 0
aconst_null
putfield sun.print.UnixPrintJob.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/UnixPrintJob;
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=17, 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.UnixPrintJob.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.UnixPrintJob
StackMap stack:
aload 0
iconst_1
putfield sun.print.UnixPrintJob.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.UnixPrintJob.service:Ljavax/print/PrintService;
ldc Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
invokeinterface javax.print.PrintService.getAttribute:(Ljava/lang/Class;)Ljavax/print/attribute/PrintServiceAttribute;
9: getstatic javax.print.attribute.standard.PrinterIsAcceptingJobs.NOT_ACCEPTING_JOBS:Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
10: if_acmpne 12
11: new javax.print.PrintException
dup
ldc "Printer is not accepting job."
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.print.UnixPrintJob.doc:Ljavax/print/Doc;
13: aload 1
invokeinterface javax.print.Doc.getDocFlavor:()Ljavax/print/DocFlavor;
astore 3
start local 3 14: aload 1
invokeinterface javax.print.Doc.getPrintData:()Ljava/lang/Object;
astore 4
start local 4 15: goto 19
end local 4 StackMap locals: sun.print.UnixPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet javax.print.DocFlavor
StackMap stack: java.io.IOException
16: astore 5
start local 5 17: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
18: new javax.print.PrintException
dup
new java.lang.StringBuilder
dup
ldc "can't get print data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
end local 5 start local 4 19: StackMap locals: java.lang.Object
StackMap stack:
aload 4
ifnonnull 21
20: new javax.print.PrintException
dup
ldc "Null print data."
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
aload 3
ifnull 22
aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
aload 3
invokeinterface javax.print.PrintService.isDocFlavorSupported:(Ljavax/print/DocFlavor;)Z
ifne 24
22: StackMap locals:
StackMap stack:
aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
23: new sun.print.PrintJobFlavorException
dup
ldc "invalid flavor"
aload 3
invokespecial sun.print.PrintJobFlavorException.<init>:(Ljava/lang/String;Ljavax/print/DocFlavor;)V
athrow
24: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.print.UnixPrintJob.initializeAttributeSets:(Ljavax/print/Doc;Ljavax/print/attribute/PrintRequestAttributeSet;)V
25: aload 0
aload 3
invokevirtual sun.print.UnixPrintJob.getAttributeValues:(Ljavax/print/DocFlavor;)V
26: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
instanceof sun.print.IPPPrintService
ifeq 49
27: invokestatic sun.print.CUPSPrinter.isCupsRunning:()Z
ifeq 49
28: new java.lang.StringBuilder
dup
getstatic sun.print.UnixPrintJob.debugPrefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
29: ldc "instanceof IPPPrintService"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
30: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
31: aload 0
getfield sun.print.UnixPrintJob.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
ifnull 36
32: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.IPPPrintService
aload 0
getfield sun.print.UnixPrintJob.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
invokevirtual sun.print.IPPPrintService.findCustomMedia:(Ljavax/print/attribute/standard/MediaSizeName;)Lsun/print/CustomMediaSizeName;
33: astore 5
start local 5 34: aload 5
ifnull 36
35: aload 0
new java.lang.StringBuilder
dup
ldc " media="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual sun.print.CustomMediaSizeName.getChoiceName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield sun.print.UnixPrintJob.mOptions:Ljava/lang/String;
end local 5 36: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.customTray:Lsun/print/CustomMediaTray;
ifnull 41
37: aload 0
getfield sun.print.UnixPrintJob.customTray:Lsun/print/CustomMediaTray;
instanceof sun.print.CustomMediaTray
ifeq 41
38: aload 0
getfield sun.print.UnixPrintJob.customTray:Lsun/print/CustomMediaTray;
invokevirtual sun.print.CustomMediaTray.getChoiceName:()Ljava/lang/String;
astore 5
start local 5 39: aload 5
ifnull 41
40: aload 0
dup
getfield sun.print.UnixPrintJob.mOptions:Ljava/lang/String;
new java.lang.StringBuilder
dup_x1
swap
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " InputSlot="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield sun.print.UnixPrintJob.mOptions:Ljava/lang/String;
end local 5 41: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.nUp:Ljavax/print/attribute/standard/NumberUp;
ifnull 43
42: aload 0
dup
getfield sun.print.UnixPrintJob.mOptions:Ljava/lang/String;
new java.lang.StringBuilder
dup_x1
swap
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " number-up="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.print.UnixPrintJob.nUp:Ljavax/print/attribute/standard/NumberUp;
invokevirtual javax.print.attribute.standard.NumberUp.getValue:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield sun.print.UnixPrintJob.mOptions:Ljava/lang/String;
43: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.orient:Ljavax/print/attribute/standard/OrientationRequested;
getstatic javax.print.attribute.standard.OrientationRequested.PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
if_acmpeq 47
44: aload 3
ifnull 47
45: aload 3
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 47
46: aload 0
dup
getfield sun.print.UnixPrintJob.mOptions:Ljava/lang/String;
new java.lang.StringBuilder
dup_x1
swap
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " orientation-requested="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.print.UnixPrintJob.orient:Ljavax/print/attribute/standard/OrientationRequested;
invokevirtual javax.print.attribute.standard.OrientationRequested.getValue:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield sun.print.UnixPrintJob.mOptions:Ljava/lang/String;
47: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.sides:Ljavax/print/attribute/standard/Sides;
ifnull 49
48: aload 0
dup
getfield sun.print.UnixPrintJob.mOptions:Ljava/lang/String;
new java.lang.StringBuilder
dup_x1
swap
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " sides="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.print.UnixPrintJob.sides:Ljavax/print/attribute/standard/Sides;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield sun.print.UnixPrintJob.mOptions:Ljava/lang/String;
49: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
getstatic sun.print.UnixPrintJob.debugPrefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "mOptions "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.print.UnixPrintJob.mOptions:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
50: aload 3
invokevirtual javax.print.DocFlavor.getRepresentationClassName:()Ljava/lang/String;
astore 5
start local 5 51: aload 3
ldc "charset"
invokevirtual javax.print.DocFlavor.getParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 52: ldc "us-ascii"
astore 7
start local 7 53: aload 6
ifnull 55
aload 6
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 55
54: aload 6
astore 7
55: StackMap locals: java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 3
getstatic javax.print.DocFlavor$INPUT_STREAM.GIF:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 61
56: aload 3
getstatic javax.print.DocFlavor$INPUT_STREAM.JPEG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 61
57: aload 3
getstatic javax.print.DocFlavor$INPUT_STREAM.PNG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 61
58: aload 3
getstatic javax.print.DocFlavor$BYTE_ARRAY.GIF:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 61
59: aload 3
getstatic javax.print.DocFlavor$BYTE_ARRAY.JPEG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 61
60: aload 3
getstatic javax.print.DocFlavor$BYTE_ARRAY.PNG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 82
61: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface javax.print.Doc.getStreamForBytes:()Ljava/io/InputStream;
putfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
62: aload 0
getfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
ifnonnull 65
63: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
64: new javax.print.PrintException
dup
ldc "No stream for data"
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
65: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
instanceof sun.print.IPPPrintService
ifeq 70
66: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.IPPPrintService
67: aload 3
invokevirtual javax.print.DocFlavor.getMimeType:()Ljava/lang/String;
68: invokevirtual sun.print.IPPPrintService.isIPPSupportedImages:(Ljava/lang/String;)Z
69: ifne 159
70: StackMap locals:
StackMap stack:
aload 0
new sun.print.ImagePrinter
dup
aload 0
getfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
invokespecial sun.print.ImagePrinter.<init>:(Ljava/io/InputStream;)V
invokevirtual sun.print.UnixPrintJob.printableJob:(Ljava/awt/print/Printable;)V
71: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
instanceof sun.print.IPPPrintService
ifeq 74
72: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.IPPPrintService
invokevirtual sun.print.IPPPrintService.wakeNotifier:()V
73: goto 75
74: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.UnixPrintService
invokevirtual sun.print.UnixPrintService.wakeNotifier:()V
75: StackMap locals:
StackMap stack:
return
76: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 8
start local 8 77: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
78: new javax.print.PrintException
dup
aload 8
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 8 79: StackMap locals:
StackMap stack: java.io.IOException
astore 8
start local 8 80: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
81: new javax.print.PrintException
dup
aload 8
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 8 82: StackMap locals:
StackMap stack:
aload 3
getstatic javax.print.DocFlavor$URL.GIF:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 85
83: aload 3
getstatic javax.print.DocFlavor$URL.JPEG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 85
84: aload 3
getstatic javax.print.DocFlavor$URL.PNG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 105
85: StackMap locals:
StackMap stack:
aload 4
checkcast java.net.URL
astore 8
start local 8 86: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
instanceof sun.print.IPPPrintService
ifeq 93
87: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.IPPPrintService
88: aload 3
invokevirtual javax.print.DocFlavor.getMimeType:()Ljava/lang/String;
89: invokevirtual sun.print.IPPPrintService.isIPPSupportedImages:(Ljava/lang/String;)Z
90: ifeq 93
91: aload 0
aload 8
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
putfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
92: goto 159
93: StackMap locals: java.net.URL
StackMap stack:
aload 0
new sun.print.ImagePrinter
dup
aload 8
invokespecial sun.print.ImagePrinter.<init>:(Ljava/net/URL;)V
invokevirtual sun.print.UnixPrintJob.printableJob:(Ljava/awt/print/Printable;)V
94: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
instanceof sun.print.IPPPrintService
ifeq 97
95: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.IPPPrintService
invokevirtual sun.print.IPPPrintService.wakeNotifier:()V
96: goto 98
97: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.UnixPrintService
invokevirtual sun.print.UnixPrintService.wakeNotifier:()V
98: StackMap locals:
StackMap stack:
return
end local 8 99: StackMap locals: sun.print.UnixPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet javax.print.DocFlavor java.lang.Object java.lang.String java.lang.String java.lang.String
StackMap stack: java.lang.ClassCastException
astore 8
start local 8 100: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
101: new javax.print.PrintException
dup
aload 8
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 8 102: StackMap locals:
StackMap stack: java.io.IOException
astore 8
start local 8 103: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
104: 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 105: StackMap locals:
StackMap stack:
aload 3
getstatic javax.print.DocFlavor$CHAR_ARRAY.TEXT_PLAIN:Ljavax/print/DocFlavor$CHAR_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 108
106: aload 3
getstatic javax.print.DocFlavor$READER.TEXT_PLAIN:Ljavax/print/DocFlavor$READER;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 108
107: aload 3
getstatic javax.print.DocFlavor$STRING.TEXT_PLAIN:Ljavax/print/DocFlavor$STRING;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 115
108: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface javax.print.Doc.getReaderForText:()Ljava/io/Reader;
putfield sun.print.UnixPrintJob.reader:Ljava/io/Reader;
109: aload 0
getfield sun.print.UnixPrintJob.reader:Ljava/io/Reader;
ifnonnull 159
110: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
111: new javax.print.PrintException
dup
ldc "No reader for data"
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
112: StackMap locals:
StackMap stack: java.io.IOException
astore 8
start local 8 113: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
114: 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 115: StackMap locals:
StackMap stack:
aload 5
ldc "[B"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 117
116: aload 5
ldc "java.io.InputStream"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 124
117: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface javax.print.Doc.getStreamForBytes:()Ljava/io/InputStream;
putfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
118: aload 0
getfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
ifnonnull 159
119: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
120: new javax.print.PrintException
dup
ldc "No stream for data"
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
121: StackMap locals:
StackMap stack: java.io.IOException
astore 8
start local 8 122: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
123: 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 124: StackMap locals:
StackMap stack:
aload 5
ldc "java.net.URL"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 131
125: aload 4
checkcast java.net.URL
astore 8
start local 8 126: aload 0
aload 8
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
putfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
127: goto 159
StackMap locals: sun.print.UnixPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet javax.print.DocFlavor java.lang.Object java.lang.String java.lang.String java.lang.String java.net.URL
StackMap stack: java.io.IOException
128: astore 9
start local 9 129: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
130: 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 end local 8 131: StackMap locals:
StackMap stack:
aload 5
ldc "java.awt.print.Pageable"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 144
132: aload 0
aload 1
invokeinterface javax.print.Doc.getPrintData:()Ljava/lang/Object;
checkcast java.awt.print.Pageable
invokevirtual sun.print.UnixPrintJob.pageableJob:(Ljava/awt/print/Pageable;)V
133: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
instanceof sun.print.IPPPrintService
ifeq 136
134: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.IPPPrintService
invokevirtual sun.print.IPPPrintService.wakeNotifier:()V
135: goto 137
136: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.UnixPrintService
invokevirtual sun.print.UnixPrintService.wakeNotifier:()V
137: StackMap locals:
StackMap stack:
return
138: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 8
start local 8 139: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
140: new javax.print.PrintException
dup
aload 8
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 8 141: StackMap locals:
StackMap stack: java.io.IOException
astore 8
start local 8 142: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
143: new javax.print.PrintException
dup
aload 8
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 8 144: StackMap locals:
StackMap stack:
aload 5
ldc "java.awt.print.Printable"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 157
145: aload 0
aload 1
invokeinterface javax.print.Doc.getPrintData:()Ljava/lang/Object;
checkcast java.awt.print.Printable
invokevirtual sun.print.UnixPrintJob.printableJob:(Ljava/awt/print/Printable;)V
146: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
instanceof sun.print.IPPPrintService
ifeq 149
147: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.IPPPrintService
invokevirtual sun.print.IPPPrintService.wakeNotifier:()V
148: goto 150
149: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.UnixPrintService
invokevirtual sun.print.UnixPrintService.wakeNotifier:()V
150: StackMap locals:
StackMap stack:
return
151: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 8
start local 8 152: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
153: new javax.print.PrintException
dup
aload 8
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 8 154: StackMap locals:
StackMap stack: java.io.IOException
astore 8
start local 8 155: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
156: new javax.print.PrintException
dup
aload 8
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 8 157: StackMap locals:
StackMap stack:
aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
158: new javax.print.PrintException
dup
new java.lang.StringBuilder
dup
ldc "unrecognized class: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
159: StackMap locals:
StackMap stack:
new sun.print.UnixPrintJob$PrinterOpener
dup
aload 0
invokespecial sun.print.UnixPrintJob$PrinterOpener.<init>:(Lsun/print/UnixPrintJob;)V
astore 8
start local 8 160: aload 8
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
161: aload 8
getfield sun.print.UnixPrintJob$PrinterOpener.pex:Ljavax/print/PrintException;
ifnull 163
162: aload 8
getfield sun.print.UnixPrintJob$PrinterOpener.pex:Ljavax/print/PrintException;
athrow
163: StackMap locals: sun.print.UnixPrintJob$PrinterOpener
StackMap stack:
aload 8
getfield sun.print.UnixPrintJob$PrinterOpener.result:Ljava/io/OutputStream;
astore 9
start local 9 164: aconst_null
astore 10
start local 10 165: aload 0
getfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
ifnonnull 181
aload 0
getfield sun.print.UnixPrintJob.reader:Ljava/io/Reader;
ifnull 181
166: new java.io.BufferedReader
dup
aload 0
getfield sun.print.UnixPrintJob.reader:Ljava/io/Reader;
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 11
start local 11 167: new java.io.OutputStreamWriter
dup
aload 9
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
astore 12
start local 12 168: new java.io.BufferedWriter
dup
aload 12
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
astore 10
169: sipush 1024
newarray 5
astore 13
start local 13 170: goto 172
start local 14 171: StackMap locals: sun.print.UnixPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet javax.print.DocFlavor java.lang.Object java.lang.String java.lang.String java.lang.String sun.print.UnixPrintJob$PrinterOpener java.io.OutputStream java.io.BufferedWriter java.io.BufferedReader java.io.OutputStreamWriter char[] int
StackMap stack:
aload 10
aload 13
iconst_0
iload 14
invokevirtual java.io.BufferedWriter.write:([CII)V
end local 14 172: StackMap locals:
StackMap stack:
aload 11
aload 13
iconst_0
aload 13
arraylength
invokevirtual java.io.BufferedReader.read:([CII)I
dup
istore 14
start local 14 173: ifge 171
174: aload 11
invokevirtual java.io.BufferedReader.close:()V
175: aload 10
invokevirtual java.io.BufferedWriter.flush:()V
176: aload 10
invokevirtual java.io.BufferedWriter.close:()V
177: goto 225
end local 14 StackMap locals:
StackMap stack: java.io.IOException
178: astore 15
start local 15 179: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
180: new javax.print.PrintException
dup
aload 15
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 15 end local 13 end local 12 end local 11 181: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
ifnull 210
182: aload 3
invokevirtual javax.print.DocFlavor.getMediaType:()Ljava/lang/String;
ldc "text"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 210
183: new java.io.InputStreamReader
dup
aload 0
getfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
184: aload 7
185: invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
astore 11
start local 11 186: new java.io.BufferedReader
dup
aload 11
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 12
start local 12 187: new java.io.OutputStreamWriter
dup
aload 9
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
astore 13
start local 13 188: new java.io.BufferedWriter
dup
aload 13
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
astore 10
189: sipush 1024
newarray 5
astore 14
start local 14 190: goto 192
start local 15 191: StackMap locals: sun.print.UnixPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet javax.print.DocFlavor java.lang.Object java.lang.String java.lang.String java.lang.String sun.print.UnixPrintJob$PrinterOpener java.io.OutputStream java.io.BufferedWriter java.io.InputStreamReader java.io.BufferedReader java.io.OutputStreamWriter char[] int
StackMap stack:
aload 10
aload 14
iconst_0
iload 15
invokevirtual java.io.BufferedWriter.write:([CII)V
end local 15 192: StackMap locals:
StackMap stack:
aload 12
aload 14
iconst_0
aload 14
arraylength
invokevirtual java.io.BufferedReader.read:([CII)I
dup
istore 15
start local 15 193: ifge 191
194: aload 10
invokevirtual java.io.BufferedWriter.flush:()V
end local 15 end local 14 end local 13 end local 12 end local 11 195: goto 205
StackMap locals: sun.print.UnixPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet javax.print.DocFlavor java.lang.Object java.lang.String java.lang.String java.lang.String sun.print.UnixPrintJob$PrinterOpener java.io.OutputStream java.io.BufferedWriter
StackMap stack: java.io.IOException
196: astore 11
start local 11 197: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
198: new javax.print.PrintException
dup
aload 11
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 11 199: StackMap locals:
StackMap stack: java.lang.Throwable
astore 16
200: aload 10
ifnull 204
201: aload 10
invokevirtual java.io.BufferedWriter.close:()V
202: goto 204
StackMap locals: sun.print.UnixPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet javax.print.DocFlavor java.lang.Object java.lang.String java.lang.String java.lang.String sun.print.UnixPrintJob$PrinterOpener java.io.OutputStream java.io.BufferedWriter top top top top top java.lang.Throwable
StackMap stack: java.io.IOException
203: pop
204: StackMap locals:
StackMap stack:
aload 16
athrow
205: StackMap locals: sun.print.UnixPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet javax.print.DocFlavor java.lang.Object java.lang.String java.lang.String java.lang.String sun.print.UnixPrintJob$PrinterOpener java.io.OutputStream java.io.BufferedWriter
StackMap stack:
aload 10
ifnull 225
206: aload 10
invokevirtual java.io.BufferedWriter.close:()V
207: goto 225
StackMap locals:
StackMap stack: java.io.IOException
208: pop
209: goto 225
StackMap locals:
StackMap stack:
210: aload 0
getfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
ifnull 225
211: new java.io.BufferedInputStream
dup
aload 0
getfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 11
start local 11 212: new java.io.BufferedOutputStream
dup
aload 9
invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 12
start local 12 213: sipush 1024
newarray 8
astore 13
start local 13 214: iconst_0
istore 14
start local 14 215: goto 217
216: StackMap locals: sun.print.UnixPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet javax.print.DocFlavor java.lang.Object java.lang.String java.lang.String java.lang.String sun.print.UnixPrintJob$PrinterOpener java.io.OutputStream java.io.BufferedWriter java.io.BufferedInputStream java.io.BufferedOutputStream byte[] int
StackMap stack:
aload 12
aload 13
iconst_0
iload 14
invokevirtual java.io.BufferedOutputStream.write:([BII)V
217: StackMap locals:
StackMap stack:
aload 11
aload 13
invokevirtual java.io.BufferedInputStream.read:([B)I
dup
istore 14
ifge 216
218: aload 11
invokevirtual java.io.BufferedInputStream.close:()V
219: aload 12
invokevirtual java.io.BufferedOutputStream.flush:()V
220: aload 12
invokevirtual java.io.BufferedOutputStream.close:()V
221: goto 225
StackMap locals:
StackMap stack: java.io.IOException
222: astore 15
start local 15 223: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
224: new javax.print.PrintException
dup
aload 15
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 15 end local 14 end local 13 end local 12 end local 11 225: StackMap locals: sun.print.UnixPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet javax.print.DocFlavor java.lang.Object java.lang.String java.lang.String java.lang.String sun.print.UnixPrintJob$PrinterOpener java.io.OutputStream java.io.BufferedWriter
StackMap stack:
aload 0
bipush 106
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
226: aload 0
getfield sun.print.UnixPrintJob.mDestType:I
getstatic sun.print.UnixPrintJob.DESTPRINTER:I
if_icmpne 231
227: new sun.print.UnixPrintJob$PrinterSpooler
dup
aload 0
invokespecial sun.print.UnixPrintJob$PrinterSpooler.<init>:(Lsun/print/UnixPrintJob;)V
astore 11
start local 11 228: aload 11
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
229: aload 11
getfield sun.print.UnixPrintJob$PrinterSpooler.pex:Ljavax/print/PrintException;
ifnull 231
230: aload 11
getfield sun.print.UnixPrintJob$PrinterSpooler.pex:Ljavax/print/PrintException;
athrow
end local 11 231: StackMap locals:
StackMap stack:
aload 0
bipush 105
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
232: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
instanceof sun.print.IPPPrintService
ifeq 235
233: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.IPPPrintService
invokevirtual sun.print.IPPPrintService.wakeNotifier:()V
234: goto 236
235: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.UnixPrintService
invokevirtual sun.print.UnixPrintService.wakeNotifier:()V
236: StackMap locals:
StackMap stack:
return
end local 10 end local 9 end local 8 end local 7 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 237 0 this Lsun/print/UnixPrintJob;
0 237 1 doc Ljavax/print/Doc;
0 237 2 attributes Ljavax/print/attribute/PrintRequestAttributeSet;
14 237 3 flavor Ljavax/print/DocFlavor;
15 16 4 data Ljava/lang/Object;
19 237 4 data Ljava/lang/Object;
17 19 5 e Ljava/io/IOException;
34 36 5 customMedia Lsun/print/CustomMediaSizeName;
39 41 5 choice Ljava/lang/String;
51 237 5 repClassName Ljava/lang/String;
52 237 6 val Ljava/lang/String;
53 237 7 encoding Ljava/lang/String;
77 79 8 cce Ljava/lang/ClassCastException;
80 82 8 ioe Ljava/io/IOException;
86 99 8 url Ljava/net/URL;
100 102 8 cce Ljava/lang/ClassCastException;
103 105 8 e Ljava/io/IOException;
113 115 8 ioe Ljava/io/IOException;
122 124 8 ioe Ljava/io/IOException;
126 131 8 url Ljava/net/URL;
129 131 9 e Ljava/io/IOException;
139 141 8 cce Ljava/lang/ClassCastException;
142 144 8 ioe Ljava/io/IOException;
152 154 8 cce Ljava/lang/ClassCastException;
155 157 8 ioe Ljava/io/IOException;
160 237 8 po Lsun/print/UnixPrintJob$PrinterOpener;
164 237 9 output Ljava/io/OutputStream;
165 237 10 bw Ljava/io/BufferedWriter;
167 181 11 br Ljava/io/BufferedReader;
168 181 12 osw Ljava/io/OutputStreamWriter;
170 181 13 buffer [C
171 172 14 cread I
173 178 14 cread I
179 181 15 e Ljava/io/IOException;
186 195 11 isr Ljava/io/InputStreamReader;
187 195 12 br Ljava/io/BufferedReader;
188 195 13 osw Ljava/io/OutputStreamWriter;
190 195 14 buffer [C
191 192 15 cread I
193 195 15 cread I
197 199 11 e Ljava/io/IOException;
212 225 11 bin Ljava/io/BufferedInputStream;
213 225 12 bout Ljava/io/BufferedOutputStream;
214 225 13 buffer [B
215 225 14 bread I
223 225 15 e Ljava/io/IOException;
228 231 11 spooler Lsun/print/UnixPrintJob$PrinterSpooler;
Exception table:
from to target type
1 5 6 any
6 7 6 any
14 15 16 Class java.io.IOException
61 75 76 Class java.lang.ClassCastException
61 75 79 Class java.io.IOException
85 98 99 Class java.lang.ClassCastException
85 98 102 Class java.io.IOException
108 112 112 Class java.io.IOException
117 121 121 Class java.io.IOException
126 127 128 Class java.io.IOException
132 137 138 Class java.lang.ClassCastException
132 137 141 Class java.io.IOException
145 150 151 Class java.lang.ClassCastException
145 150 154 Class java.io.IOException
170 177 178 Class java.io.IOException
183 195 196 Class java.io.IOException
183 199 199 any
200 202 203 Class java.io.IOException
205 207 208 Class java.io.IOException
215 221 222 Class java.io.IOException
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=5, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield sun.print.UnixPrintJob.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.UnixPrintJob
StackMap stack:
aload 0
new sun.print.PSPrinterJob
dup
invokespecial sun.print.PSPrinterJob.<init>:()V
putfield sun.print.UnixPrintJob.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
getfield sun.print.UnixPrintJob.job:Ljava/awt/print/PrinterJob;
aload 0
invokevirtual sun.print.UnixPrintJob.getPrintService:()Ljavax/print/PrintService;
invokevirtual java.awt.print.PrinterJob.setPrintService:(Ljavax/print/PrintService;)V
9: aload 0
getfield sun.print.UnixPrintJob.job:Ljava/awt/print/PrinterJob;
aload 0
getfield sun.print.UnixPrintJob.copies:I
invokevirtual java.awt.print.PrinterJob.setCopies:(I)V
10: aload 0
getfield sun.print.UnixPrintJob.job:Ljava/awt/print/PrinterJob;
aload 0
getfield sun.print.UnixPrintJob.jobName:Ljava/lang/String;
invokevirtual java.awt.print.PrinterJob.setJobName:(Ljava/lang/String;)V
11: new java.awt.print.PageFormat
dup
invokespecial java.awt.print.PageFormat.<init>:()V
astore 2
start local 2 12: aload 0
getfield sun.print.UnixPrintJob.mediaSize:Ljavax/print/attribute/standard/MediaSize;
ifnull 21
13: new java.awt.print.Paper
dup
invokespecial java.awt.print.Paper.<init>:()V
astore 3
start local 3 14: aload 3
aload 0
getfield sun.print.UnixPrintJob.mediaSize:Ljavax/print/attribute/standard/MediaSize;
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
f2d
ldc 72.0
dmul
15: aload 0
getfield sun.print.UnixPrintJob.mediaSize:Ljavax/print/attribute/standard/MediaSize;
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
f2d
ldc 72.0
dmul
16: invokevirtual java.awt.print.Paper.setSize:(DD)V
17: aload 3
ldc 72.0
ldc 72.0
aload 3
invokevirtual java.awt.print.Paper.getWidth:()D
ldc 144.0
dsub
18: aload 3
invokevirtual java.awt.print.Paper.getHeight:()D
ldc 144.0
dsub
19: invokevirtual java.awt.print.Paper.setImageableArea:(DDDD)V
20: aload 2
aload 3
invokevirtual java.awt.print.PageFormat.setPaper:(Ljava/awt/print/Paper;)V
end local 3 21: StackMap locals: java.awt.print.PageFormat
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.orient:Ljavax/print/attribute/standard/OrientationRequested;
getstatic javax.print.attribute.standard.OrientationRequested.REVERSE_LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 24
22: aload 2
iconst_2
invokevirtual java.awt.print.PageFormat.setOrientation:(I)V
23: goto 26
StackMap locals:
StackMap stack:
24: aload 0
getfield sun.print.UnixPrintJob.orient:Ljavax/print/attribute/standard/OrientationRequested;
getstatic javax.print.attribute.standard.OrientationRequested.LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 26
25: aload 2
iconst_0
invokevirtual java.awt.print.PageFormat.setOrientation:(I)V
26: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.job:Ljava/awt/print/PrinterJob;
aload 1
aload 2
invokevirtual java.awt.print.PrinterJob.setPrintable:(Ljava/awt/print/Printable;Ljava/awt/print/PageFormat;)V
27: aload 0
getfield sun.print.UnixPrintJob.job:Ljava/awt/print/PrinterJob;
aload 0
getfield sun.print.UnixPrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
invokevirtual java.awt.print.PrinterJob.print:(Ljavax/print/attribute/PrintRequestAttributeSet;)V
28: aload 0
bipush 106
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
29: aload 0
iconst_1
putfield sun.print.UnixPrintJob.printReturned:Z
30: aload 0
bipush 105
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
31: return
end local 2 32: StackMap locals: sun.print.UnixPrintJob java.awt.print.Printable
StackMap stack: java.awt.print.PrinterException
astore 2
start local 2 33: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
34: new javax.print.PrintException
dup
aload 2
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 35: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
36: aload 0
iconst_1
putfield sun.print.UnixPrintJob.printReturned:Z
37: aload 0
bipush 105
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
38: aload 4
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lsun/print/UnixPrintJob;
0 39 1 printable Ljava/awt/print/Printable;
12 32 2 pf Ljava/awt/print/PageFormat;
14 21 3 p Ljava/awt/print/Paper;
33 35 2 pe Ljava/awt/print/PrinterException;
Exception table:
from to target type
1 5 6 any
6 7 6 any
0 29 32 Class java.awt.print.PrinterException
0 29 35 any
32 35 35 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=4, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield sun.print.UnixPrintJob.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.UnixPrintJob
StackMap stack:
aload 0
new sun.print.PSPrinterJob
dup
invokespecial sun.print.PSPrinterJob.<init>:()V
putfield sun.print.UnixPrintJob.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
getfield sun.print.UnixPrintJob.job:Ljava/awt/print/PrinterJob;
aload 0
invokevirtual sun.print.UnixPrintJob.getPrintService:()Ljavax/print/PrintService;
invokevirtual java.awt.print.PrinterJob.setPrintService:(Ljavax/print/PrintService;)V
9: aload 0
getfield sun.print.UnixPrintJob.job:Ljava/awt/print/PrinterJob;
aload 0
getfield sun.print.UnixPrintJob.copies:I
invokevirtual java.awt.print.PrinterJob.setCopies:(I)V
10: aload 0
getfield sun.print.UnixPrintJob.job:Ljava/awt/print/PrinterJob;
aload 0
getfield sun.print.UnixPrintJob.jobName:Ljava/lang/String;
invokevirtual java.awt.print.PrinterJob.setJobName:(Ljava/lang/String;)V
11: aload 0
getfield sun.print.UnixPrintJob.job:Ljava/awt/print/PrinterJob;
aload 1
invokevirtual java.awt.print.PrinterJob.setPageable:(Ljava/awt/print/Pageable;)V
12: aload 0
getfield sun.print.UnixPrintJob.job:Ljava/awt/print/PrinterJob;
aload 0
getfield sun.print.UnixPrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
invokevirtual java.awt.print.PrinterJob.print:(Ljavax/print/attribute/PrintRequestAttributeSet;)V
13: aload 0
bipush 106
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
14: aload 0
iconst_1
putfield sun.print.UnixPrintJob.printReturned:Z
15: aload 0
bipush 105
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
16: return
17: StackMap locals:
StackMap stack: java.awt.print.PrinterException
astore 2
start local 2 18: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
19: new javax.print.PrintException
dup
aload 2
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 20: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
21: aload 0
iconst_1
putfield sun.print.UnixPrintJob.printReturned:Z
22: aload 0
bipush 105
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
23: aload 3
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/print/UnixPrintJob;
0 24 1 pageable Ljava/awt/print/Pageable;
18 20 2 pe Ljava/awt/print/PrinterException;
Exception table:
from to target type
1 5 6 any
6 7 6 any
0 14 17 Class java.awt.print.PrinterException
0 14 20 any
17 20 20 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.UnixPrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
1: aload 0
new javax.print.attribute.HashPrintJobAttributeSet
dup
invokespecial javax.print.attribute.HashPrintJobAttributeSet.<init>:()V
putfield sun.print.UnixPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
2: aload 2
ifnull 11
3: aload 0
getfield sun.print.UnixPrintJob.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.UnixPrintJob.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.UnixPrintJob.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.UnixPrintJob.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.UnixPrintJob 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.UnixPrintJob 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.UnixPrintJob.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.UnixPrintJob.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.UnixPrintJob.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.UnixPrintJob.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.UnixPrintJob.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.UnixPrintJob 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.UnixPrintJob.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.UnixPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet top javax.print.attribute.DocAttributeSet java.lang.String
StackMap stack:
aload 0
aload 0
getfield sun.print.UnixPrintJob.jobAttrSet:Ljavax/print/attribute/PrintJobAttributeSet;
invokestatic javax.print.attribute.AttributeSetUtilities.unmodifiableView:(Ljavax/print/attribute/PrintJobAttributeSet;)Ljavax/print/attribute/PrintJobAttributeSet;
putfield sun.print.UnixPrintJob.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/UnixPrintJob;
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.UnixPrintJob.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.UnixPrintJob.fidelity:Z
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.print.UnixPrintJob.fidelity:Z
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.reqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.toArray:()[Ljavax/print/attribute/Attribute;
astore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 68
7: StackMap locals: sun.print.UnixPrintJob javax.print.DocFlavor top top javax.print.attribute.Attribute[] int
StackMap stack:
aload 4
iload 5
aaload
astore 2
start local 2 8: aload 2
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
astore 3
start local 3 9: aload 0
getfield sun.print.UnixPrintJob.fidelity:Z
ifeq 20
10: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
aload 3
invokeinterface javax.print.PrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 15
11: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
12: new sun.print.PrintJobAttributeException
dup
13: new java.lang.StringBuilder
dup
ldc "unsupported category: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
aconst_null
14: invokespecial sun.print.PrintJobAttributeException.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljavax/print/attribute/Attribute;)V
athrow
15: StackMap locals: sun.print.UnixPrintJob javax.print.DocFlavor javax.print.attribute.Attribute java.lang.Class javax.print.attribute.Attribute[] int
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
aload 2
aload 1
aconst_null
invokeinterface javax.print.PrintService.isAttributeValueSupported:(Ljavax/print/attribute/Attribute;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
ifne 20
16: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
17: new sun.print.PrintJobAttributeException
dup
18: new java.lang.StringBuilder
dup
ldc "unsupported attribute: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
aload 2
19: invokespecial sun.print.PrintJobAttributeException.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljavax/print/attribute/Attribute;)V
athrow
20: StackMap locals:
StackMap stack:
aload 3
ldc Ljavax/print/attribute/standard/Destination;
if_acmpne 37
21: aload 2
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.UnixPrintJob.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
getstatic sun.print.UnixPrintJob.DESTFILE:I
putfield sun.print.UnixPrintJob.mDestType:I
26: 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.UnixPrintJob.mDestination:Ljava/lang/String;
27: goto 30
StackMap locals:
StackMap stack: java.lang.Exception
28: astore 7
start local 7 29: new javax.print.PrintException
dup
aload 7
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 30: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 7
start local 7 31: aload 7
ifnull 67
32: aload 7
aload 0
getfield sun.print.UnixPrintJob.mDestination:Ljava/lang/String;
invokevirtual java.lang.SecurityManager.checkWrite:(Ljava/lang/String;)V
33: goto 67
StackMap locals: sun.print.UnixPrintJob javax.print.DocFlavor javax.print.attribute.Attribute java.lang.Class javax.print.attribute.Attribute[] int java.net.URI java.lang.SecurityManager
StackMap stack: java.lang.SecurityException
34: astore 8
start local 8 35: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
36: 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 37: StackMap locals:
StackMap stack:
aload 3
ldc Ljavax/print/attribute/standard/JobSheets;
if_acmpne 41
38: aload 2
checkcast javax.print.attribute.standard.JobSheets
getstatic javax.print.attribute.standard.JobSheets.NONE:Ljavax/print/attribute/standard/JobSheets;
if_acmpne 67
39: aload 0
iconst_1
putfield sun.print.UnixPrintJob.mNoJobSheet:Z
40: goto 67
StackMap locals:
StackMap stack:
41: aload 3
ldc Ljavax/print/attribute/standard/JobName;
if_acmpne 44
42: aload 0
aload 2
checkcast javax.print.attribute.standard.JobName
invokevirtual javax.print.attribute.standard.JobName.getValue:()Ljava/lang/String;
putfield sun.print.UnixPrintJob.jobName:Ljava/lang/String;
43: goto 67
StackMap locals:
StackMap stack:
44: aload 3
ldc Ljavax/print/attribute/standard/Copies;
if_acmpne 47
45: aload 0
aload 2
checkcast javax.print.attribute.standard.Copies
invokevirtual javax.print.attribute.standard.Copies.getValue:()I
putfield sun.print.UnixPrintJob.copies:I
46: goto 67
StackMap locals:
StackMap stack:
47: aload 3
ldc Ljavax/print/attribute/standard/Media;
if_acmpne 59
48: aload 2
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 56
49: aload 0
aload 2
checkcast javax.print.attribute.standard.MediaSizeName
putfield sun.print.UnixPrintJob.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
50: new java.lang.StringBuilder
dup
getstatic sun.print.UnixPrintJob.debugPrefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
51: ldc "mediaName "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.print.UnixPrintJob.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
52: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
53: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
aload 2
aconst_null
aconst_null
invokeinterface javax.print.PrintService.isAttributeValueSupported:(Ljavax/print/attribute/Attribute;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
ifne 67
54: aload 0
aload 0
getfield sun.print.UnixPrintJob.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.UnixPrintJob.mediaSize:Ljavax/print/attribute/standard/MediaSize;
55: goto 67
StackMap locals:
StackMap stack:
56: aload 2
instanceof sun.print.CustomMediaTray
ifeq 67
57: aload 0
aload 2
checkcast sun.print.CustomMediaTray
putfield sun.print.UnixPrintJob.customTray:Lsun/print/CustomMediaTray;
58: goto 67
StackMap locals:
StackMap stack:
59: aload 3
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 62
60: aload 0
aload 2
checkcast javax.print.attribute.standard.OrientationRequested
putfield sun.print.UnixPrintJob.orient:Ljavax/print/attribute/standard/OrientationRequested;
61: goto 67
StackMap locals:
StackMap stack:
62: aload 3
ldc Ljavax/print/attribute/standard/NumberUp;
if_acmpne 65
63: aload 0
aload 2
checkcast javax.print.attribute.standard.NumberUp
putfield sun.print.UnixPrintJob.nUp:Ljavax/print/attribute/standard/NumberUp;
64: goto 67
StackMap locals:
StackMap stack:
65: aload 3
ldc Ljavax/print/attribute/standard/Sides;
if_acmpne 67
66: aload 0
aload 2
checkcast javax.print.attribute.standard.Sides
putfield sun.print.UnixPrintJob.sides:Ljavax/print/attribute/standard/Sides;
67: StackMap locals:
StackMap stack:
iinc 5 1
end local 3 end local 2 StackMap locals: sun.print.UnixPrintJob javax.print.DocFlavor top top javax.print.attribute.Attribute[] int
StackMap stack:
68: iload 5
aload 4
arraylength
if_icmplt 7
end local 5 69: return
end local 4 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 70 0 this Lsun/print/UnixPrintJob;
0 70 1 flavor Ljavax/print/DocFlavor;
8 68 2 attr Ljavax/print/attribute/Attribute;
9 68 3 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
5 70 4 attrs [Ljavax/print/attribute/Attribute;
6 69 5 i I
22 37 6 uri Ljava/net/URI;
29 30 7 e Ljava/lang/Exception;
31 37 7 security Ljava/lang/SecurityManager;
35 37 8 se Ljava/lang/SecurityException;
Exception table:
from to target type
25 27 28 Class java.lang.Exception
32 33 34 Class java.lang.SecurityException
Exceptions:
throws javax.print.PrintException
MethodParameters:
Name Flags
flavor
private java.lang.String[] printExecCmd(java.lang.String, java.lang.String, boolean, java.lang.String, int, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;ILjava/lang/String;)[Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=17, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: iconst_1
istore 7
start local 7 1: iconst_2
istore 8
start local 8 2: iconst_4
istore 9
start local 9 3: bipush 8
istore 10
start local 10 4: bipush 16
istore 11
start local 11 5: iconst_0
istore 12
start local 12 6: iconst_2
istore 14
start local 14 7: iconst_0
istore 15
start local 15 8: aload 1
ifnull 11
aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
aload 1
ldc "lp"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
9: iload 12
iload 7
ior
istore 12
10: iinc 14 1
11: StackMap locals: sun.print.UnixPrintJob java.lang.String java.lang.String int java.lang.String int java.lang.String int int int int int int top int int
StackMap stack:
aload 2
ifnull 14
aload 2
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
12: iload 12
iload 8
ior
istore 12
13: iinc 14 1
14: StackMap locals:
StackMap stack:
aload 4
ifnull 17
aload 4
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
15: iload 12
iload 9
ior
istore 12
16: iinc 14 1
17: StackMap locals:
StackMap stack:
iload 5
iconst_1
if_icmple 20
18: iload 12
iload 10
ior
istore 12
19: iinc 14 1
20: StackMap locals:
StackMap stack:
iload 3
ifeq 24
21: iload 12
iload 11
ior
istore 12
22: iinc 14 1
23: goto 27
StackMap locals:
StackMap stack:
24: aload 0
invokevirtual sun.print.UnixPrintJob.getPrintService:()Ljavax/print/PrintService;
25: ldc Ljavax/print/attribute/standard/JobSheets;
invokeinterface javax.print.PrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifeq 27
26: iinc 14 1
27: StackMap locals:
StackMap stack:
getstatic sun.print.PrintServiceLookupProvider.osname:Ljava/lang/String;
ldc "SunOS"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 48
28: iinc 14 1
29: iload 14
anewarray java.lang.String
astore 13
start local 13 30: aload 13
iload 15
iinc 15 1
ldc "/usr/bin/lp"
aastore
31: aload 13
iload 15
iinc 15 1
ldc "-c"
aastore
32: iload 12
iload 7
iand
ifeq 34
33: aload 13
iload 15
iinc 15 1
new java.lang.StringBuilder
dup
ldc "-d"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
34: StackMap locals: sun.print.UnixPrintJob java.lang.String java.lang.String int java.lang.String int java.lang.String int int int int int int java.lang.String[] int int
StackMap stack:
iload 12
iload 9
iand
ifeq 37
35: ldc "\""
astore 16
start local 16 36: aload 13
iload 15
iinc 15 1
new java.lang.StringBuilder
dup
ldc "-t "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 16
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 16
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
end local 16 37: StackMap locals:
StackMap stack:
iload 12
iload 10
iand
ifeq 39
38: aload 13
iload 15
iinc 15 1
new java.lang.StringBuilder
dup
ldc "-n "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
39: StackMap locals:
StackMap stack:
iload 12
iload 11
iand
ifeq 42
40: aload 13
iload 15
iinc 15 1
ldc "-o nobanner"
aastore
41: goto 45
StackMap locals:
StackMap stack:
42: aload 0
invokevirtual sun.print.UnixPrintJob.getPrintService:()Ljavax/print/PrintService;
43: ldc Ljavax/print/attribute/standard/JobSheets;
invokeinterface javax.print.PrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifeq 45
44: aload 13
iload 15
iinc 15 1
ldc "-o job-sheets=standard"
aastore
45: StackMap locals:
StackMap stack:
iload 12
iload 8
iand
ifeq 64
46: aload 13
iload 15
iinc 15 1
new java.lang.StringBuilder
dup
ldc "-o "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
47: goto 64
end local 13 48: StackMap locals: sun.print.UnixPrintJob java.lang.String java.lang.String int java.lang.String int java.lang.String int int int int int int top int int
StackMap stack:
iload 14
anewarray java.lang.String
astore 13
start local 13 49: aload 13
iload 15
iinc 15 1
ldc "/usr/bin/lpr"
aastore
50: iload 12
iload 7
iand
ifeq 52
51: aload 13
iload 15
iinc 15 1
new java.lang.StringBuilder
dup
ldc "-P"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
52: StackMap locals: sun.print.UnixPrintJob java.lang.String java.lang.String int java.lang.String int java.lang.String int int int int int int java.lang.String[] int int
StackMap stack:
iload 12
iload 9
iand
ifeq 54
53: aload 13
iload 15
iinc 15 1
new java.lang.StringBuilder
dup
ldc "-J "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
54: StackMap locals:
StackMap stack:
iload 12
iload 10
iand
ifeq 56
55: aload 13
iload 15
iinc 15 1
new java.lang.StringBuilder
dup
ldc "-#"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
56: StackMap locals:
StackMap stack:
iload 12
iload 11
iand
ifeq 59
57: aload 13
iload 15
iinc 15 1
ldc "-h"
aastore
58: goto 62
StackMap locals:
StackMap stack:
59: aload 0
invokevirtual sun.print.UnixPrintJob.getPrintService:()Ljavax/print/PrintService;
60: ldc Ljavax/print/attribute/standard/JobSheets;
invokeinterface javax.print.PrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifeq 62
61: aload 13
iload 15
iinc 15 1
ldc "-o job-sheets=standard"
aastore
62: StackMap locals:
StackMap stack:
iload 12
iload 8
iand
ifeq 64
63: aload 13
iload 15
iinc 15 1
new java.lang.StringBuilder
dup
ldc "-o"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
64: StackMap locals:
StackMap stack:
aload 13
iload 15
iinc 15 1
aload 6
aastore
65: getstatic sun.print.IPPPrintService.debugPrint:Z
ifeq 73
66: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "UnixPrintJob>> execCmd"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
67: iconst_0
istore 16
start local 16 68: goto 71
69: StackMap locals: int
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 13
iload 16
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
70: iinc 16 1
StackMap locals:
StackMap stack:
71: iload 16
aload 13
arraylength
if_icmplt 69
end local 16 72: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
73: StackMap locals:
StackMap stack:
aload 13
areturn
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 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 74 0 this Lsun/print/UnixPrintJob;
0 74 1 printer Ljava/lang/String;
0 74 2 options Ljava/lang/String;
0 74 3 noJobSheet Z
0 74 4 jobTitle Ljava/lang/String;
0 74 5 copies I
0 74 6 spoolFile Ljava/lang/String;
1 74 7 PRINTER I
2 74 8 OPTIONS I
3 74 9 JOBTITLE I
4 74 10 COPIES I
5 74 11 NOSHEET I
6 74 12 pFlags I
30 48 13 execCmd [Ljava/lang/String;
49 74 13 execCmd [Ljava/lang/String;
7 74 14 ncomps I
8 74 15 n I
36 37 16 quoteChar Ljava/lang/String;
68 72 16 i I
MethodParameters:
Name Flags
printer
options
noJobSheet
jobTitle
copies
spoolFile
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.UnixPrintJob.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.UnixPrintJob
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.job:Ljava/awt/print/PrinterJob;
ifnull 8
aload 0
getfield sun.print.UnixPrintJob.printReturned:Z
ifne 8
4: aload 0
getfield sun.print.UnixPrintJob.job:Ljava/awt/print/PrinterJob;
invokevirtual java.awt.print.PrinterJob.cancel:()V
5: aload 0
bipush 101
invokevirtual sun.print.UnixPrintJob.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/UnixPrintJob;
Exception table:
from to target type
1 7 9 any
8 10 9 any
Exceptions:
throws javax.print.PrintException
}
SourceFile: "UnixPrintJob.java"
NestMembers:
sun.print.UnixPrintJob$PrinterOpener sun.print.UnixPrintJob$PrinterSpooler
InnerClasses:
public BYTE_ARRAY = javax.print.DocFlavor$BYTE_ARRAY of javax.print.DocFlavor
public CHAR_ARRAY = javax.print.DocFlavor$CHAR_ARRAY of javax.print.DocFlavor
public INPUT_STREAM = javax.print.DocFlavor$INPUT_STREAM of javax.print.DocFlavor
public READER = javax.print.DocFlavor$READER of javax.print.DocFlavor
public SERVICE_FORMATTED = javax.print.DocFlavor$SERVICE_FORMATTED of javax.print.DocFlavor
public STRING = javax.print.DocFlavor$STRING of javax.print.DocFlavor
public URL = javax.print.DocFlavor$URL of javax.print.DocFlavor
public final NA = javax.print.attribute.standard.MediaSize$NA of javax.print.attribute.standard.MediaSize
private PrinterOpener = sun.print.UnixPrintJob$PrinterOpener of sun.print.UnixPrintJob
private PrinterSpooler = sun.print.UnixPrintJob$PrinterSpooler of sun.print.UnixPrintJob