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 jobListeners;
descriptor: Ljava/util/Vector;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.util.Vector attrListeners;
descriptor: Ljava/util/Vector;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.util.Vector listenedAttributeSets;
descriptor: Ljava/util/Vector;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private 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=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.print.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: aload 0
getstatic sun.print.UnixPrintJob.DESTPRINTER:I
putfield sun.print.UnixPrintJob.mDestType:I
21: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/print/UnixPrintJob;
0 22 1 service Ljavax/print/PrintService;
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;
9: ldc Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
10: invokeinterface javax.print.PrintService.getAttribute:(Ljava/lang/Class;)Ljavax/print/attribute/PrintServiceAttribute;
checkcast javax.print.attribute.standard.PrinterIsAcceptingJobs
11: getstatic javax.print.attribute.standard.PrinterIsAcceptingJobs.NOT_ACCEPTING_JOBS:Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
12: if_acmpne 14
13: new javax.print.PrintException
dup
ldc "Printer is not accepting job."
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.print.UnixPrintJob.doc:Ljavax/print/Doc;
15: aload 1
invokeinterface javax.print.Doc.getDocFlavor:()Ljavax/print/DocFlavor;
astore 3
start local 3 16: aload 1
invokeinterface javax.print.Doc.getPrintData:()Ljava/lang/Object;
astore 4
start local 4 17: goto 21
end local 4 StackMap locals: sun.print.UnixPrintJob javax.print.Doc javax.print.attribute.PrintRequestAttributeSet javax.print.DocFlavor
StackMap stack: java.io.IOException
18: astore 5
start local 5 19: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
20: 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 21: StackMap locals: java.lang.Object
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 " media="
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 79
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 153
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;
checkcast sun.print.UnixPrintService
invokevirtual sun.print.UnixPrintService.wakeNotifier:()V
72: return
73: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 8
start local 8 74: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
75: new javax.print.PrintException
dup
aload 8
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 8 76: StackMap locals:
StackMap stack: java.io.IOException
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:
aload 3
getstatic javax.print.DocFlavor$URL.GIF:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 82
80: aload 3
getstatic javax.print.DocFlavor$URL.JPEG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 82
81: aload 3
getstatic javax.print.DocFlavor$URL.PNG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 99
82: StackMap locals:
StackMap stack:
aload 4
checkcast java.net.URL
astore 8
start local 8 83: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
instanceof sun.print.IPPPrintService
ifeq 90
84: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.IPPPrintService
85: aload 3
invokevirtual javax.print.DocFlavor.getMimeType:()Ljava/lang/String;
86: invokevirtual sun.print.IPPPrintService.isIPPSupportedImages:(Ljava/lang/String;)Z
87: ifeq 90
88: aload 0
aload 8
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
putfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
89: goto 153
90: 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
91: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.UnixPrintService
invokevirtual sun.print.UnixPrintService.wakeNotifier:()V
92: return
end local 8 93: 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 94: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
95: new javax.print.PrintException
dup
aload 8
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 8 96: StackMap locals:
StackMap stack: java.io.IOException
astore 8
start local 8 97: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
98: 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 99: 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 102
100: aload 3
getstatic javax.print.DocFlavor$READER.TEXT_PLAIN:Ljavax/print/DocFlavor$READER;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 102
101: aload 3
getstatic javax.print.DocFlavor$STRING.TEXT_PLAIN:Ljavax/print/DocFlavor$STRING;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 109
102: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface javax.print.Doc.getReaderForText:()Ljava/io/Reader;
putfield sun.print.UnixPrintJob.reader:Ljava/io/Reader;
103: aload 0
getfield sun.print.UnixPrintJob.reader:Ljava/io/Reader;
ifnonnull 153
104: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
105: new javax.print.PrintException
dup
ldc "No reader for data"
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
106: StackMap locals:
StackMap stack: java.io.IOException
astore 8
start local 8 107: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
108: 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 109: StackMap locals:
StackMap stack:
aload 5
ldc "[B"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 111
110: aload 5
ldc "java.io.InputStream"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 118
111: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface javax.print.Doc.getStreamForBytes:()Ljava/io/InputStream;
putfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
112: aload 0
getfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
ifnonnull 153
113: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
114: new javax.print.PrintException
dup
ldc "No stream for data"
invokespecial javax.print.PrintException.<init>:(Ljava/lang/String;)V
athrow
115: StackMap locals:
StackMap stack: java.io.IOException
astore 8
start local 8 116: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
117: 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 118: StackMap locals:
StackMap stack:
aload 5
ldc "java.net.URL"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 125
119: aload 4
checkcast java.net.URL
astore 8
start local 8 120: aload 0
aload 8
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
putfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
121: goto 153
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
122: astore 9
start local 9 123: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
124: 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 125: StackMap locals:
StackMap stack:
aload 5
ldc "java.awt.print.Pageable"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 138
126: 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
127: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
instanceof sun.print.IPPPrintService
ifeq 130
128: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.IPPPrintService
invokevirtual sun.print.IPPPrintService.wakeNotifier:()V
129: goto 131
130: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.UnixPrintService
invokevirtual sun.print.UnixPrintService.wakeNotifier:()V
131: StackMap locals:
StackMap stack:
return
132: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 8
start local 8 133: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
134: new javax.print.PrintException
dup
aload 8
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 8 135: StackMap locals:
StackMap stack: java.io.IOException
astore 8
start local 8 136: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
137: new javax.print.PrintException
dup
aload 8
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 8 138: StackMap locals:
StackMap stack:
aload 5
ldc "java.awt.print.Printable"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 151
139: 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
140: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
instanceof sun.print.IPPPrintService
ifeq 143
141: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.IPPPrintService
invokevirtual sun.print.IPPPrintService.wakeNotifier:()V
142: goto 144
143: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.UnixPrintService
invokevirtual sun.print.UnixPrintService.wakeNotifier:()V
144: StackMap locals:
StackMap stack:
return
145: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 8
start local 8 146: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
147: new javax.print.PrintException
dup
aload 8
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 8 148: StackMap locals:
StackMap stack: java.io.IOException
astore 8
start local 8 149: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
150: new javax.print.PrintException
dup
aload 8
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 8 151: StackMap locals:
StackMap stack:
aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
152: 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
153: 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 154: aload 8
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
155: aload 8
getfield sun.print.UnixPrintJob$PrinterOpener.pex:Ljavax/print/PrintException;
ifnull 157
156: aload 8
getfield sun.print.UnixPrintJob$PrinterOpener.pex:Ljavax/print/PrintException;
athrow
157: StackMap locals: sun.print.UnixPrintJob$PrinterOpener
StackMap stack:
aload 8
getfield sun.print.UnixPrintJob$PrinterOpener.result:Ljava/io/OutputStream;
astore 9
start local 9 158: aconst_null
astore 10
start local 10 159: aload 0
getfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
ifnonnull 175
aload 0
getfield sun.print.UnixPrintJob.reader:Ljava/io/Reader;
ifnull 175
160: 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 161: new java.io.OutputStreamWriter
dup
aload 9
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
astore 12
start local 12 162: new java.io.BufferedWriter
dup
aload 12
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
astore 10
163: sipush 1024
newarray 5
astore 13
start local 13 164: goto 166
start local 14 165: 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 166: 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 167: ifge 165
168: aload 11
invokevirtual java.io.BufferedReader.close:()V
169: aload 10
invokevirtual java.io.BufferedWriter.flush:()V
170: aload 10
invokevirtual java.io.BufferedWriter.close:()V
171: goto 219
end local 14 StackMap locals:
StackMap stack: java.io.IOException
172: astore 15
start local 15 173: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
174: 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 175: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
ifnull 204
176: aload 3
invokevirtual javax.print.DocFlavor.getMediaType:()Ljava/lang/String;
ldc "text"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 204
177: new java.io.InputStreamReader
dup
aload 0
getfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
178: aload 7
179: invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
astore 11
start local 11 180: new java.io.BufferedReader
dup
aload 11
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 12
start local 12 181: new java.io.OutputStreamWriter
dup
aload 9
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
astore 13
start local 13 182: new java.io.BufferedWriter
dup
aload 13
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
astore 10
183: sipush 1024
newarray 5
astore 14
start local 14 184: goto 186
start local 15 185: 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 186: 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 187: ifge 185
188: aload 10
invokevirtual java.io.BufferedWriter.flush:()V
end local 15 end local 14 end local 13 end local 12 end local 11 189: goto 199
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
190: astore 11
start local 11 191: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
192: new javax.print.PrintException
dup
aload 11
invokespecial javax.print.PrintException.<init>:(Ljava/lang/Exception;)V
athrow
end local 11 193: StackMap locals:
StackMap stack: java.lang.Throwable
astore 16
194: aload 10
ifnull 198
195: aload 10
invokevirtual java.io.BufferedWriter.close:()V
196: goto 198
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
197: pop
198: StackMap locals:
StackMap stack:
aload 16
athrow
199: 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 219
200: aload 10
invokevirtual java.io.BufferedWriter.close:()V
201: goto 219
StackMap locals:
StackMap stack: java.io.IOException
202: pop
203: goto 219
StackMap locals:
StackMap stack:
204: aload 0
getfield sun.print.UnixPrintJob.instream:Ljava/io/InputStream;
ifnull 219
205: 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 206: new java.io.BufferedOutputStream
dup
aload 9
invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 12
start local 12 207: sipush 1024
newarray 8
astore 13
start local 13 208: iconst_0
istore 14
start local 14 209: goto 211
210: 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
211: StackMap locals:
StackMap stack:
aload 11
aload 13
invokevirtual java.io.BufferedInputStream.read:([B)I
dup
istore 14
ifge 210
212: aload 11
invokevirtual java.io.BufferedInputStream.close:()V
213: aload 12
invokevirtual java.io.BufferedOutputStream.flush:()V
214: aload 12
invokevirtual java.io.BufferedOutputStream.close:()V
215: goto 219
StackMap locals:
StackMap stack: java.io.IOException
216: astore 15
start local 15 217: aload 0
bipush 103
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
218: 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 219: 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
220: aload 0
getfield sun.print.UnixPrintJob.mDestType:I
getstatic sun.print.UnixPrintJob.DESTPRINTER:I
if_icmpne 225
221: new sun.print.UnixPrintJob$PrinterSpooler
dup
aload 0
invokespecial sun.print.UnixPrintJob$PrinterSpooler.<init>:(Lsun/print/UnixPrintJob;)V
astore 11
start local 11 222: aload 11
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
223: aload 11
getfield sun.print.UnixPrintJob$PrinterSpooler.pex:Ljavax/print/PrintException;
ifnull 225
224: aload 11
getfield sun.print.UnixPrintJob$PrinterSpooler.pex:Ljavax/print/PrintException;
athrow
end local 11 225: StackMap locals:
StackMap stack:
aload 0
bipush 105
invokevirtual sun.print.UnixPrintJob.notifyEvent:(I)V
226: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
instanceof sun.print.IPPPrintService
ifeq 229
227: aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.IPPPrintService
invokevirtual sun.print.IPPPrintService.wakeNotifier:()V
228: goto 230
229: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintJob.service:Ljavax/print/PrintService;
checkcast sun.print.UnixPrintService
invokevirtual sun.print.UnixPrintService.wakeNotifier:()V
230: 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 231 0 this Lsun/print/UnixPrintJob;
0 231 1 doc Ljavax/print/Doc;
0 231 2 attributes Ljavax/print/attribute/PrintRequestAttributeSet;
16 231 3 flavor Ljavax/print/DocFlavor;
17 18 4 data Ljava/lang/Object;
21 231 4 data Ljava/lang/Object;
19 21 5 e Ljava/io/IOException;
34 36 5 customMedia Lsun/print/CustomMediaSizeName;
39 41 5 choice Ljava/lang/String;
51 231 5 repClassName Ljava/lang/String;
52 231 6 val Ljava/lang/String;
53 231 7 encoding Ljava/lang/String;
74 76 8 cce Ljava/lang/ClassCastException;
77 79 8 ioe Ljava/io/IOException;
83 93 8 url Ljava/net/URL;
94 96 8 cce Ljava/lang/ClassCastException;
97 99 8 e Ljava/io/IOException;
107 109 8 ioe Ljava/io/IOException;
116 118 8 ioe Ljava/io/IOException;
120 125 8 url Ljava/net/URL;
123 125 9 e Ljava/io/IOException;
133 135 8 cce Ljava/lang/ClassCastException;
136 138 8 ioe Ljava/io/IOException;
146 148 8 cce Ljava/lang/ClassCastException;
149 151 8 ioe Ljava/io/IOException;
154 231 8 po Lsun/print/UnixPrintJob$PrinterOpener;
158 231 9 output Ljava/io/OutputStream;
159 231 10 bw Ljava/io/BufferedWriter;
161 175 11 br Ljava/io/BufferedReader;
162 175 12 osw Ljava/io/OutputStreamWriter;
164 175 13 buffer [C
165 166 14 cread I
167 172 14 cread I
173 175 15 e Ljava/io/IOException;
180 189 11 isr Ljava/io/InputStreamReader;
181 189 12 br Ljava/io/BufferedReader;
182 189 13 osw Ljava/io/OutputStreamWriter;
184 189 14 buffer [C
185 186 15 cread I
187 189 15 cread I
191 193 11 e Ljava/io/IOException;
206 219 11 bin Ljava/io/BufferedInputStream;
207 219 12 bout Ljava/io/BufferedOutputStream;
208 219 13 buffer [B
209 219 14 bread I
217 219 15 e Ljava/io/IOException;
222 225 11 spooler Lsun/print/UnixPrintJob$PrinterSpooler;
Exception table:
from to target type
1 5 6 any
6 7 6 any
16 17 18 Class java.io.IOException
61 72 73 Class java.lang.ClassCastException
61 72 76 Class java.io.IOException
82 92 93 Class java.lang.ClassCastException
82 92 96 Class java.io.IOException
102 106 106 Class java.io.IOException
111 115 115 Class java.io.IOException
120 121 122 Class java.io.IOException
126 131 132 Class java.lang.ClassCastException
126 131 135 Class java.io.IOException
139 144 145 Class java.lang.ClassCastException
139 144 148 Class java.io.IOException
164 171 172 Class java.io.IOException
177 189 190 Class java.io.IOException
177 193 193 any
194 196 197 Class java.io.IOException
199 201 202 Class java.io.IOException
209 215 216 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;
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 23
21: iload 12
iload 11
ior
istore 12
22: iinc 14 1
23: StackMap locals:
StackMap stack:
getstatic sun.print.UnixPrintServiceLookup.osname:Ljava/lang/String;
ldc "SunOS"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 40
24: iinc 14 1
25: iload 14
anewarray java.lang.String
astore 13
start local 13 26: aload 13
iload 15
iinc 15 1
ldc "/usr/bin/lp"
aastore
27: aload 13
iload 15
iinc 15 1
ldc "-c"
aastore
28: iload 12
iload 7
iand
ifeq 30
29: 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
30: 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 33
31: ldc "\""
astore 16
start local 16 32: 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 33: StackMap locals:
StackMap stack:
iload 12
iload 10
iand
ifeq 35
34: 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
35: StackMap locals:
StackMap stack:
iload 12
iload 11
iand
ifeq 37
36: aload 13
iload 15
iinc 15 1
ldc "-o nobanner"
aastore
37: StackMap locals:
StackMap stack:
iload 12
iload 8
iand
ifeq 52
38: 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
39: goto 52
end local 13 40: 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 41: aload 13
iload 15
iinc 15 1
ldc "/usr/bin/lpr"
aastore
42: iload 12
iload 7
iand
ifeq 44
43: 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
44: 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 46
45: 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
46: StackMap locals:
StackMap stack:
iload 12
iload 10
iand
ifeq 48
47: 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
48: StackMap locals:
StackMap stack:
iload 12
iload 11
iand
ifeq 50
49: aload 13
iload 15
iinc 15 1
ldc "-h"
aastore
50: StackMap locals:
StackMap stack:
iload 12
iload 8
iand
ifeq 52
51: 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
52: StackMap locals:
StackMap stack:
aload 13
iload 15
iinc 15 1
aload 6
aastore
53: getstatic sun.print.IPPPrintService.debugPrint:Z
ifeq 61
54: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "UnixPrintJob>> execCmd"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
55: iconst_0
istore 16
start local 16 56: goto 59
57: 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
58: iinc 16 1
StackMap locals:
StackMap stack:
59: iload 16
aload 13
arraylength
if_icmplt 57
end local 16 60: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
61: 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 62 0 this Lsun/print/UnixPrintJob;
0 62 1 printer Ljava/lang/String;
0 62 2 options Ljava/lang/String;
0 62 3 noJobSheet Z
0 62 4 banner Ljava/lang/String;
0 62 5 copies I
0 62 6 spoolFile Ljava/lang/String;
1 62 7 PRINTER I
2 62 8 OPTIONS I
3 62 9 BANNER I
4 62 10 COPIES I
5 62 11 NOSHEET I
6 62 12 pFlags I
26 40 13 execCmd [Ljava/lang/String;
41 62 13 execCmd [Ljava/lang/String;
7 62 14 ncomps I
8 62 15 n I
32 33 16 quoteChar Ljava/lang/String;
56 60 16 i I
MethodParameters:
Name Flags
printer
options
noJobSheet
banner
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