public final class sun.lwawt.macosx.CPrinterJob extends sun.print.RasterPrinterJob
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.lwawt.macosx.CPrinterJob
super_class: sun.print.RasterPrinterJob
{
private static java.lang.String sShouldNotReachHere;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private volatile java.awt.SecondaryLoop printingLoop;
descriptor: Ljava/awt/SecondaryLoop;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private boolean noDefaultPrinter;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static java.awt.Font defaultFont;
descriptor: Ljava/awt/Font;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private long fNSPrintInfo;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private java.lang.Object fNSPrintInfoLock;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
volatile boolean onEventThread;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "Should not reach here."
putstatic sun.lwawt.macosx.CPrinterJob.sShouldNotReachHere:Ljava/lang/String;
1: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
pop
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.print.RasterPrinterJob.<init>:()V
1: aload 0
iconst_0
putfield sun.lwawt.macosx.CPrinterJob.noDefaultPrinter:Z
2: aload 0
ldc -1
putfield sun.lwawt.macosx.CPrinterJob.fNSPrintInfo:J
3: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.lwawt.macosx.CPrinterJob.fNSPrintInfoLock:Ljava/lang/Object;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/macosx/CPrinterJob;
public boolean printDialog();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifeq 2
1: new java.awt.HeadlessException
dup
invokespecial java.awt.HeadlessException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CPrinterJob.noDefaultPrinter:Z
ifeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CPrinterJob.attributes:Ljavax/print/attribute/PrintRequestAttributeSet;
ifnonnull 6
5: aload 0
new javax.print.attribute.HashPrintRequestAttributeSet
dup
invokespecial javax.print.attribute.HashPrintRequestAttributeSet.<init>:()V
putfield sun.lwawt.macosx.CPrinterJob.attributes:Ljavax/print/attribute/PrintRequestAttributeSet;
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.lwawt.macosx.CPrinterJob.getPrintService:()Ljavax/print/PrintService;
instanceof javax.print.StreamPrintService
ifeq 8
7: aload 0
aload 0
getfield sun.lwawt.macosx.CPrinterJob.attributes:Ljavax/print/attribute/PrintRequestAttributeSet;
invokespecial sun.print.RasterPrinterJob.printDialog:(Ljavax/print/attribute/PrintRequestAttributeSet;)Z
ireturn
8: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual sun.lwawt.macosx.CPrinterJob.getPageable:()Ljava/awt/print/Pageable;
aload 0
invokevirtual sun.lwawt.macosx.CPrinterJob.checkAllowedToPrintToFile:()Z
invokevirtual sun.lwawt.macosx.CPrinterJob.jobSetup:(Ljava/awt/print/Pageable;Z)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/lwawt/macosx/CPrinterJob;
Exceptions:
throws java.awt.HeadlessException
public java.awt.print.PageFormat pageDialog(java.awt.print.PageFormat);
descriptor: (Ljava/awt/print/PageFormat;)Ljava/awt/print/PageFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifeq 2
1: new java.awt.HeadlessException
dup
invokespecial java.awt.HeadlessException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CPrinterJob.noDefaultPrinter:Z
ifeq 4
3: aload 1
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.lwawt.macosx.CPrinterJob.getPrintService:()Ljavax/print/PrintService;
instanceof javax.print.StreamPrintService
ifeq 6
5: aload 0
aload 1
invokespecial sun.print.RasterPrinterJob.pageDialog:(Ljava/awt/print/PageFormat;)Ljava/awt/print/PageFormat;
areturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.print.PageFormat.clone:()Ljava/lang/Object;
checkcast java.awt.print.PageFormat
astore 2
start local 2 7: aload 0
aload 2
aconst_null
invokevirtual sun.lwawt.macosx.CPrinterJob.pageSetup:(Ljava/awt/print/PageFormat;Ljava/awt/print/Printable;)Z
istore 3
start local 3 8: iload 3
ifeq 9
aload 2
goto 10
StackMap locals: java.awt.print.PageFormat int
StackMap stack:
9: aload 1
StackMap locals:
StackMap stack: java.awt.print.PageFormat
10: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/lwawt/macosx/CPrinterJob;
0 11 1 page Ljava/awt/print/PageFormat;
7 11 2 pageClone Ljava/awt/print/PageFormat;
8 11 3 doIt Z
Exceptions:
throws java.awt.HeadlessException
MethodParameters:
Name Flags
page
public java.awt.print.PageFormat defaultPage(java.awt.print.PageFormat);
descriptor: (Ljava/awt/print/PageFormat;)Ljava/awt/print/PageFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.print.PageFormat.clone:()Ljava/lang/Object;
checkcast java.awt.print.PageFormat
astore 2
start local 2 1: aload 0
aload 2
invokevirtual sun.lwawt.macosx.CPrinterJob.getDefaultPage:(Ljava/awt/print/PageFormat;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CPrinterJob;
0 3 1 page Ljava/awt/print/PageFormat;
1 3 2 newPage Ljava/awt/print/PageFormat;
MethodParameters:
Name Flags
page
protected void setAttributes(javax.print.attribute.PrintRequestAttributeSet);
descriptor: (Ljavax/print/attribute/PrintRequestAttributeSet;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.print.RasterPrinterJob.setAttributes:(Ljavax/print/attribute/PrintRequestAttributeSet;)V
1: aload 1
ifnonnull 3
2: return
3: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PageRanges;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.PageRanges
astore 2
start local 2 4: aload 0
aload 2
aload 1
invokevirtual sun.lwawt.macosx.CPrinterJob.isSupportedValue:(Ljavax/print/attribute/Attribute;Ljavax/print/attribute/PrintRequestAttributeSet;)Z
ifeq 11
5: aload 1
ldc Lsun/print/SunPageSelection;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast sun.print.SunPageSelection
astore 3
start local 3 6: aload 3
ifnull 7
aload 3
getstatic sun.print.SunPageSelection.RANGE:Lsun/print/SunPageSelection;
if_acmpne 10
7: StackMap locals: javax.print.attribute.standard.PageRanges sun.print.SunPageSelection
StackMap stack:
aload 2
invokevirtual javax.print.attribute.standard.PageRanges.getMembers:()[[I
astore 4
start local 4 8: aload 0
aload 4
iconst_0
aaload
iconst_0
iaload
iconst_1
isub
aload 4
iconst_0
aaload
iconst_1
iaload
iconst_1
isub
invokevirtual sun.lwawt.macosx.CPrinterJob.setPageRange:(II)V
end local 4 9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
iconst_m1
iconst_m1
invokevirtual sun.lwawt.macosx.CPrinterJob.setPageRange:(II)V
end local 3 11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/lwawt/macosx/CPrinterJob;
0 12 1 attributes Ljavax/print/attribute/PrintRequestAttributeSet;
4 12 2 pageRangesAttr Ljavax/print/attribute/standard/PageRanges;
6 11 3 rangeSelect Lsun/print/SunPageSelection;
8 9 4 range [[I
Exceptions:
throws java.awt.print.PrinterException
MethodParameters:
Name Flags
attributes
private void (int, int, boolean);
descriptor: (IIZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.lwawt.macosx.CPrinterJob.attributes:Ljavax/print/attribute/PrintRequestAttributeSet;
ifnull 7
1: iload 3
ifeq 6
2: aload 0
getfield sun.lwawt.macosx.CPrinterJob.attributes:Ljavax/print/attribute/PrintRequestAttributeSet;
new javax.print.attribute.standard.PageRanges
dup
iload 1
iconst_1
iadd
iload 2
iconst_1
iadd
invokespecial javax.print.attribute.standard.PageRanges.<init>:(II)V
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
3: aload 0
getfield sun.lwawt.macosx.CPrinterJob.attributes:Ljavax/print/attribute/PrintRequestAttributeSet;
getstatic sun.print.SunPageSelection.RANGE:Lsun/print/SunPageSelection;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
4: aload 0
iload 1
iload 2
invokevirtual sun.lwawt.macosx.CPrinterJob.setPageRange:(II)V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CPrinterJob.attributes:Ljavax/print/attribute/PrintRequestAttributeSet;
getstatic sun.print.SunPageSelection.ALL:Lsun/print/SunPageSelection;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/lwawt/macosx/CPrinterJob;
0 8 1 from I
0 8 2 to I
0 8 3 isRangeSet Z
MethodParameters:
Name Flags
from
to
isRangeSet
private void setCopiesAttribute(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.lwawt.macosx.CPrinterJob.attributes:Ljavax/print/attribute/PrintRequestAttributeSet;
ifnull 3
1: aload 0
getfield sun.lwawt.macosx.CPrinterJob.attributes:Ljavax/print/attribute/PrintRequestAttributeSet;
new javax.print.attribute.standard.Copies
dup
iload 1
invokespecial javax.print.attribute.standard.Copies.<init>:(I)V
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
2: aload 0
iload 1
invokespecial sun.print.RasterPrinterJob.setCopies:(I)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CPrinterJob;
0 4 1 copies I
MethodParameters:
Name Flags
copies
protected void cancelDoc();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.print.RasterPrinterJob.cancelDoc:()V
1: aload 0
getfield sun.lwawt.macosx.CPrinterJob.printingLoop:Ljava/awt/SecondaryLoop;
ifnull 3
2: aload 0
getfield sun.lwawt.macosx.CPrinterJob.printingLoop:Ljava/awt/SecondaryLoop;
invokeinterface java.awt.SecondaryLoop.exit:()Z
pop
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CPrinterJob;
Exceptions:
throws java.awt.print.PrinterAbortException
private void completePrintLoop();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: new sun.lwawt.macosx.CPrinterJob$1
dup
aload 0
invokespecial sun.lwawt.macosx.CPrinterJob$1.<init>:(Lsun/lwawt/macosx/CPrinterJob;)V
astore 1
start local 1 1: aload 0
getfield sun.lwawt.macosx.CPrinterJob.onEventThread:Z
ifeq 7
2: aload 1
invokestatic java.awt.EventQueue.invokeAndWait:(Ljava/lang/Runnable;)V
3: goto 8
StackMap locals: sun.lwawt.macosx.CPrinterJob java.lang.Runnable
StackMap stack: java.lang.Exception
4: astore 2
start local 2 5: aload 2
invokevirtual java.lang.Exception.printStackTrace:()V
end local 2 6: goto 8
7: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.lang.Runnable.run:()V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/lwawt/macosx/CPrinterJob;
1 9 1 r Ljava/lang/Runnable;
5 6 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
public void print(javax.print.attribute.PrintRequestAttributeSet);
descriptor: (Ljavax/print/attribute/PrintRequestAttributeSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.macosx.CPrinterJob.getPrintService:()Ljavax/print/PrintService;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.awt.print.PrinterException
dup
ldc "No print service found."
invokespecial java.awt.print.PrinterException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.print.PrintService
StackMap stack:
aload 2
instanceof javax.print.StreamPrintService
ifeq 6
4: aload 0
aload 2
aload 1
invokevirtual sun.lwawt.macosx.CPrinterJob.spoolToService:(Ljavax/print/PrintService;Ljavax/print/attribute/PrintRequestAttributeSet;)V
5: return
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.lwawt.macosx.CPrinterJob.setAttributes:(Ljavax/print/attribute/PrintRequestAttributeSet;)V
7: aload 0
getfield sun.lwawt.macosx.CPrinterJob.destinationAttr:Ljava/lang/String;
ifnull 9
8: aload 0
aload 0
getfield sun.lwawt.macosx.CPrinterJob.destinationAttr:Ljava/lang/String;
invokevirtual sun.lwawt.macosx.CPrinterJob.validateDestination:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.lwawt.macosx.CPrinterJob.getFirstPage:()I
istore 3
start local 3 10: aload 0
invokevirtual sun.lwawt.macosx.CPrinterJob.getLastPage:()I
istore 4
start local 4 11: iload 4
iconst_m1
if_icmpne 15
12: aload 0
getfield sun.lwawt.macosx.CPrinterJob.mDocument:Ljava/awt/print/Pageable;
invokeinterface java.awt.print.Pageable.getNumberOfPages:()I
istore 5
start local 5 13: iload 5
iconst_m1
if_icmpeq 15
14: aload 0
getfield sun.lwawt.macosx.CPrinterJob.mDocument:Ljava/awt/print/Pageable;
invokeinterface java.awt.print.Pageable.getNumberOfPages:()I
iconst_1
isub
istore 4
end local 5 15: StackMap locals: int int
StackMap stack:
aload 0
dup
astore 5
monitorenter
16: aload 0
iconst_1
putfield sun.lwawt.macosx.CPrinterJob.performingPrinting:Z
17: aload 0
iconst_0
putfield sun.lwawt.macosx.CPrinterJob.userCancelled:Z
18: aload 5
monitorexit
19: goto 22
StackMap locals: sun.lwawt.macosx.CPrinterJob javax.print.attribute.PrintRequestAttributeSet javax.print.PrintService int int sun.lwawt.macosx.CPrinterJob
StackMap stack: java.lang.Throwable
20: aload 5
monitorexit
21: athrow
22: StackMap locals:
StackMap stack:
aload 1
ifnonnull 23
aconst_null
goto 24
23: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PageRanges;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.PageRanges
24: StackMap locals:
StackMap stack: javax.print.attribute.standard.PageRanges
astore 5
start local 5 25: aload 5
ifnonnull 26
iconst_0
iconst_0
multianewarray [[I 2
goto 27
StackMap locals: javax.print.attribute.standard.PageRanges
StackMap stack:
26: aload 5
invokevirtual javax.print.attribute.standard.PageRanges.getMembers:()[[I
StackMap locals:
StackMap stack: int[][]
27: astore 6
start local 6 28: iconst_0
istore 7
start local 7 29: StackMap locals: int[][] int
StackMap stack:
invokestatic java.awt.EventQueue.isDispatchThread:()Z
ifeq 38
30: aload 0
iconst_1
putfield sun.lwawt.macosx.CPrinterJob.onEventThread:Z
31: aload 0
new sun.lwawt.macosx.CPrinterJob$2
dup
aload 0
invokespecial sun.lwawt.macosx.CPrinterJob$2.<init>:(Lsun/lwawt/macosx/CPrinterJob;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.awt.SecondaryLoop
putfield sun.lwawt.macosx.CPrinterJob.printingLoop:Ljava/awt/SecondaryLoop;
32: aload 0
iconst_0
iload 3
iload 4
invokevirtual sun.lwawt.macosx.CPrinterJob.printLoop:(ZII)Z
ifeq 43
33: aload 0
getfield sun.lwawt.macosx.CPrinterJob.printingLoop:Ljava/awt/SecondaryLoop;
invokeinterface java.awt.SecondaryLoop.enter:()Z
pop
34: goto 43
StackMap locals:
StackMap stack: java.lang.Exception
35: astore 8
start local 8 36: aload 8
invokevirtual java.lang.Exception.printStackTrace:()V
end local 8 37: goto 43
38: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.lwawt.macosx.CPrinterJob.onEventThread:Z
39: aload 0
iconst_1
iload 3
iload 4
invokevirtual sun.lwawt.macosx.CPrinterJob.printLoop:(ZII)Z
pop
40: goto 43
StackMap locals:
StackMap stack: java.lang.Exception
41: astore 8
start local 8 42: aload 8
invokevirtual java.lang.Exception.printStackTrace:()V
end local 8 43: StackMap locals:
StackMap stack:
iinc 7 1
iload 7
aload 6
arraylength
if_icmpge 46
44: aload 6
iload 7
aaload
iconst_0
iaload
iconst_1
isub
istore 3
45: aload 6
iload 7
aaload
iconst_1
iaload
iconst_1
isub
istore 4
46: StackMap locals:
StackMap stack:
iload 7
aload 6
arraylength
47: if_icmplt 29
end local 7 end local 6 end local 5 48: goto 60
StackMap locals: sun.lwawt.macosx.CPrinterJob javax.print.attribute.PrintRequestAttributeSet javax.print.PrintService int int
StackMap stack: java.lang.Throwable
49: astore 9
50: aload 0
dup
astore 10
monitorenter
51: aload 0
iconst_0
putfield sun.lwawt.macosx.CPrinterJob.performingPrinting:Z
52: aload 0
invokevirtual java.lang.Object.notify:()V
53: aload 10
monitorexit
54: goto 57
StackMap locals: sun.lwawt.macosx.CPrinterJob javax.print.attribute.PrintRequestAttributeSet javax.print.PrintService int int top top top top java.lang.Throwable sun.lwawt.macosx.CPrinterJob
StackMap stack: java.lang.Throwable
55: aload 10
monitorexit
56: athrow
57: StackMap locals:
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CPrinterJob.printingLoop:Ljava/awt/SecondaryLoop;
ifnull 59
58: aload 0
getfield sun.lwawt.macosx.CPrinterJob.printingLoop:Ljava/awt/SecondaryLoop;
invokeinterface java.awt.SecondaryLoop.exit:()Z
pop
59: StackMap locals:
StackMap stack:
aload 9
athrow
60: StackMap locals: sun.lwawt.macosx.CPrinterJob javax.print.attribute.PrintRequestAttributeSet javax.print.PrintService int int
StackMap stack:
aload 0
dup
astore 10
monitorenter
61: aload 0
iconst_0
putfield sun.lwawt.macosx.CPrinterJob.performingPrinting:Z
62: aload 0
invokevirtual java.lang.Object.notify:()V
63: aload 10
monitorexit
64: goto 67
StackMap locals: sun.lwawt.macosx.CPrinterJob javax.print.attribute.PrintRequestAttributeSet javax.print.PrintService int int top top top top top sun.lwawt.macosx.CPrinterJob
StackMap stack: java.lang.Throwable
65: aload 10
monitorexit
66: athrow
67: StackMap locals: sun.lwawt.macosx.CPrinterJob javax.print.attribute.PrintRequestAttributeSet javax.print.PrintService int int
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CPrinterJob.printingLoop:Ljava/awt/SecondaryLoop;
ifnull 69
68: aload 0
getfield sun.lwawt.macosx.CPrinterJob.printingLoop:Ljava/awt/SecondaryLoop;
invokeinterface java.awt.SecondaryLoop.exit:()Z
pop
69: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 70 0 this Lsun/lwawt/macosx/CPrinterJob;
0 70 1 attributes Ljavax/print/attribute/PrintRequestAttributeSet;
1 70 2 psvc Ljavax/print/PrintService;
10 70 3 firstPage I
11 70 4 lastPage I
13 15 5 totalPages I
25 48 5 pr Ljavax/print/attribute/standard/PageRanges;
28 48 6 prMembers [[I
29 48 7 loopi I
36 37 8 e Ljava/lang/Exception;
42 43 8 e Ljava/lang/Exception;
Exception table:
from to target type
16 19 20 any
20 21 20 any
32 34 35 Class java.lang.Exception
39 40 41 Class java.lang.Exception
15 49 49 any
51 54 55 any
55 56 55 any
61 64 65 any
65 66 65 any
Exceptions:
throws java.awt.print.PrinterException
MethodParameters:
Name Flags
attributes
protected double getXRes();
descriptor: ()D
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: dconst_0
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPrinterJob;
protected double getYRes();
descriptor: ()D
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: dconst_0
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPrinterJob;
protected double getPhysicalPrintableX(java.awt.print.Paper);
descriptor: (Ljava/awt/print/Paper;)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: dconst_0
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPrinterJob;
0 1 1 p Ljava/awt/print/Paper;
MethodParameters:
Name Flags
p
protected double getPhysicalPrintableY(java.awt.print.Paper);
descriptor: (Ljava/awt/print/Paper;)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: dconst_0
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPrinterJob;
0 1 1 p Ljava/awt/print/Paper;
MethodParameters:
Name Flags
p
protected double getPhysicalPrintableWidth(java.awt.print.Paper);
descriptor: (Ljava/awt/print/Paper;)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: dconst_0
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPrinterJob;
0 1 1 p Ljava/awt/print/Paper;
MethodParameters:
Name Flags
p
protected double getPhysicalPrintableHeight(java.awt.print.Paper);
descriptor: (Ljava/awt/print/Paper;)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: dconst_0
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPrinterJob;
0 1 1 p Ljava/awt/print/Paper;
MethodParameters:
Name Flags
p
protected double getPhysicalPageWidth(java.awt.print.Paper);
descriptor: (Ljava/awt/print/Paper;)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: dconst_0
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPrinterJob;
0 1 1 p Ljava/awt/print/Paper;
MethodParameters:
Name Flags
p
protected double getPhysicalPageHeight(java.awt.print.Paper);
descriptor: (Ljava/awt/print/Paper;)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: dconst_0
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPrinterJob;
0 1 1 p Ljava/awt/print/Paper;
MethodParameters:
Name Flags
p
protected void startPage(java.awt.print.PageFormat, java.awt.print.Printable, int);
descriptor: (Ljava/awt/print/PageFormat;Ljava/awt/print/Printable;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.awt.print.PrinterException
dup
getstatic sun.lwawt.macosx.CPrinterJob.sShouldNotReachHere:Ljava/lang/String;
invokespecial java.awt.print.PrinterException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPrinterJob;
0 1 1 format Ljava/awt/print/PageFormat;
0 1 2 painter Ljava/awt/print/Printable;
0 1 3 index I
Exceptions:
throws java.awt.print.PrinterException
MethodParameters:
Name Flags
format
painter
index
protected void endPage(java.awt.print.PageFormat, java.awt.print.Printable, int);
descriptor: (Ljava/awt/print/PageFormat;Ljava/awt/print/Printable;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.awt.print.PrinterException
dup
getstatic sun.lwawt.macosx.CPrinterJob.sShouldNotReachHere:Ljava/lang/String;
invokespecial java.awt.print.PrinterException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPrinterJob;
0 1 1 format Ljava/awt/print/PageFormat;
0 1 2 painter Ljava/awt/print/Printable;
0 1 3 index I
Exceptions:
throws java.awt.print.PrinterException
MethodParameters:
Name Flags
format
painter
index
protected void printBand(byte[], int, int, int, int);
descriptor: ([BIIII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new java.awt.print.PrinterException
dup
getstatic sun.lwawt.macosx.CPrinterJob.sShouldNotReachHere:Ljava/lang/String;
invokespecial java.awt.print.PrinterException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPrinterJob;
0 1 1 data [B
0 1 2 x I
0 1 3 y I
0 1 4 width I
0 1 5 height I
Exceptions:
throws java.awt.print.PrinterException
MethodParameters:
Name Flags
data
x
y
width
height
protected void startDoc();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.awt.print.PrinterException
dup
getstatic sun.lwawt.macosx.CPrinterJob.sShouldNotReachHere:Ljava/lang/String;
invokespecial java.awt.print.PrinterException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPrinterJob;
Exceptions:
throws java.awt.print.PrinterException
protected void endDoc();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.awt.print.PrinterException
dup
getstatic sun.lwawt.macosx.CPrinterJob.sShouldNotReachHere:Ljava/lang/String;
invokespecial java.awt.print.PrinterException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPrinterJob;
Exceptions:
throws java.awt.print.PrinterException
protected native void abortDoc();
descriptor: ()V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
public boolean pageSetup(java.awt.print.PageFormat, java.awt.print.Printable);
descriptor: (Ljava/awt/print/PageFormat;Ljava/awt/print/Printable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new sun.lwawt.macosx.CPrinterPageDialog
dup
aconst_null
aload 0
aload 1
aload 2
invokespecial sun.lwawt.macosx.CPrinterPageDialog.<init>:(Ljava/awt/Frame;Lsun/lwawt/macosx/CPrinterJob;Ljava/awt/print/PageFormat;Ljava/awt/print/Printable;)V
astore 3
start local 3 1: aload 3
iconst_1
invokevirtual sun.lwawt.macosx.CPrinterDialog.setVisible:(Z)V
2: aload 3
invokevirtual sun.lwawt.macosx.CPrinterDialog.getRetVal:()Z
istore 4
start local 4 3: aload 3
invokevirtual sun.lwawt.macosx.CPrinterDialog.dispose:()V
4: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/macosx/CPrinterJob;
0 5 1 page Ljava/awt/print/PageFormat;
0 5 2 painter Ljava/awt/print/Printable;
1 5 3 printerDialog Lsun/lwawt/macosx/CPrinterDialog;
3 5 4 result Z
MethodParameters:
Name Flags
page
painter
private boolean jobSetup(java.awt.print.Pageable, boolean);
descriptor: (Ljava/awt/print/Pageable;Z)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new sun.lwawt.macosx.CPrinterJobDialog
dup
aconst_null
aload 0
aload 1
iload 2
invokespecial sun.lwawt.macosx.CPrinterJobDialog.<init>:(Ljava/awt/Frame;Lsun/lwawt/macosx/CPrinterJob;Ljava/awt/print/Pageable;Z)V
astore 3
start local 3 1: aload 3
iconst_1
invokevirtual sun.lwawt.macosx.CPrinterDialog.setVisible:(Z)V
2: aload 3
invokevirtual sun.lwawt.macosx.CPrinterDialog.getRetVal:()Z
istore 4
start local 4 3: aload 3
invokevirtual sun.lwawt.macosx.CPrinterDialog.dispose:()V
4: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/macosx/CPrinterJob;
0 5 1 doc Ljava/awt/print/Pageable;
0 5 2 allowPrintToFile Z
1 5 3 printerDialog Lsun/lwawt/macosx/CPrinterDialog;
3 5 4 result Z
MethodParameters:
Name Flags
doc
allowPrintToFile
private native void getDefaultPage(java.awt.print.PageFormat);
descriptor: (Ljava/awt/print/PageFormat;)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
page
protected native void validatePaper(java.awt.print.Paper, java.awt.print.Paper);
descriptor: (Ljava/awt/print/Paper;Ljava/awt/print/Paper;)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
origPaper
newPaper
protected void finalize();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CPrinterJob.fNSPrintInfoLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield sun.lwawt.macosx.CPrinterJob.fNSPrintInfo:J
ldc -1
lcmp
ifeq 3
2: aload 0
aload 0
getfield sun.lwawt.macosx.CPrinterJob.fNSPrintInfo:J
invokevirtual sun.lwawt.macosx.CPrinterJob.dispose:(J)V
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
ldc -1
putfield sun.lwawt.macosx.CPrinterJob.fNSPrintInfo:J
4: aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/lwawt/macosx/CPrinterJob;
Exception table:
from to target type
1 5 6 any
6 7 6 any
private native long createNSPrintInfo();
descriptor: ()J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
private native void dispose(long);
descriptor: (J)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
printInfo
private long getNSPrintInfo();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CPrinterJob.fNSPrintInfoLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield sun.lwawt.macosx.CPrinterJob.fNSPrintInfo:J
ldc -1
lcmp
ifne 3
2: aload 0
aload 0
invokevirtual sun.lwawt.macosx.CPrinterJob.createNSPrintInfo:()J
putfield sun.lwawt.macosx.CPrinterJob.fNSPrintInfo:J
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CPrinterJob.fNSPrintInfo:J
aload 1
monitorexit
4: lreturn
5: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
6: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/lwawt/macosx/CPrinterJob;
Exception table:
from to target type
1 4 5 any
5 6 5 any
private native boolean printLoop(boolean, int, int);
descriptor: (ZII)Z
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
Exceptions:
throws java.awt.print.PrinterException
MethodParameters:
Name Flags
waitUntilDone
firstPage
lastPage
private java.awt.print.PageFormat getPageFormat(int);
descriptor: (I)Ljava/awt/print/PageFormat;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.macosx.CPrinterJob.getPageable:()Ljava/awt/print/Pageable;
iload 1
invokeinterface java.awt.print.Pageable.getPageFormat:(I)Ljava/awt/print/PageFormat;
astore 2
start local 2 1: goto 4
end local 2 StackMap locals:
StackMap stack: java.lang.Exception
2: pop
3: aconst_null
areturn
start local 2 4: StackMap locals: java.awt.print.PageFormat
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/macosx/CPrinterJob;
0 5 1 pageIndex I
1 2 2 page Ljava/awt/print/PageFormat;
4 5 2 page Ljava/awt/print/PageFormat;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
pageIndex
private java.awt.print.Printable getPrintable(int);
descriptor: (I)Ljava/awt/print/Printable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.macosx.CPrinterJob.getPageable:()Ljava/awt/print/Pageable;
iload 1
invokeinterface java.awt.print.Pageable.getPrintable:(I)Ljava/awt/print/Printable;
astore 2
start local 2 1: goto 4
end local 2 StackMap locals:
StackMap stack: java.lang.Exception
2: pop
3: aconst_null
areturn
start local 2 4: StackMap locals: java.awt.print.Printable
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/macosx/CPrinterJob;
0 5 1 pageIndex I
1 2 2 painter Ljava/awt/print/Printable;
4 5 2 painter Ljava/awt/print/Printable;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
pageIndex
private java.lang.String getPrinterName();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.macosx.CPrinterJob.getPrintService:()Ljavax/print/PrintService;
astore 1
start local 1 1: aload 1
ifnonnull 2
aconst_null
areturn
2: StackMap locals: javax.print.PrintService
StackMap stack:
aload 1
invokeinterface javax.print.PrintService.getName:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CPrinterJob;
1 3 1 service Ljavax/print/PrintService;
private void setPrinterServiceFromNative(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
aconst_null
invokestatic javax.print.PrintServiceLookup.lookupPrintServices:(Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)[Ljavax/print/PrintService;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 10
3: StackMap locals: javax.print.PrintService[] int
StackMap stack:
aload 2
iload 3
aaload
astore 4
start local 4 4: aload 1
aload 4
invokeinterface javax.print.PrintService.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
5: aload 0
aload 4
invokevirtual sun.lwawt.macosx.CPrinterJob.setPrintService:(Ljavax/print/PrintService;)V
6: goto 8
StackMap locals: sun.lwawt.macosx.CPrinterJob java.lang.String javax.print.PrintService[] int javax.print.PrintService
StackMap stack: java.awt.print.PrinterException
7: pop
8: StackMap locals:
StackMap stack:
return
end local 4 9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 2
arraylength
if_icmplt 3
end local 3 11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/lwawt/macosx/CPrinterJob;
0 12 1 printerName Ljava/lang/String;
1 12 2 services [Ljavax/print/PrintService;
2 11 3 i I
4 9 4 service Ljavax/print/PrintService;
Exception table:
from to target type
5 6 7 Class java.awt.print.PrinterException
MethodParameters:
Name Flags
printerName
private java.awt.geom.Rectangle2D getPageFormatArea(java.awt.print.PageFormat);
descriptor: (Ljava/awt/print/PageFormat;)Ljava/awt/geom/Rectangle2D;
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=3, args_size=2
start local 0 start local 1 0: new java.awt.geom.Rectangle2D$Double
dup
aload 1
invokevirtual java.awt.print.PageFormat.getImageableX:()D
1: aload 1
invokevirtual java.awt.print.PageFormat.getImageableY:()D
2: aload 1
invokevirtual java.awt.print.PageFormat.getImageableWidth:()D
3: aload 1
invokevirtual java.awt.print.PageFormat.getImageableHeight:()D
4: invokespecial java.awt.geom.Rectangle2D$Double.<init>:(DDDD)V
5: astore 2
start local 2 6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/lwawt/macosx/CPrinterJob;
0 7 1 page Ljava/awt/print/PageFormat;
6 7 2 pageFormatArea Ljava/awt/geom/Rectangle2D$Double;
MethodParameters:
Name Flags
page
private boolean cancelCheck();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CPrinterJob.performingPrinting:Z
ifeq 1
aload 0
getfield sun.lwawt.macosx.CPrinterJob.userCancelled:Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: iload 1
ifeq 9
4: new sun.lwawt.macosx.CPrinterJob$3
dup
aload 0
invokespecial sun.lwawt.macosx.CPrinterJob$3.<init>:(Lsun/lwawt/macosx/CPrinterJob;)V
5: aconst_null
6: invokestatic sun.lwawt.macosx.LWCToolkit.invokeLater:(Ljava/lang/Runnable;Ljava/awt/Component;)V
7: goto 9
StackMap locals: sun.lwawt.macosx.CPrinterJob int
StackMap stack: java.lang.reflect.InvocationTargetException
8: pop
9: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/lwawt/macosx/CPrinterJob;
3 10 1 cancelled Z
Exception table:
from to target type
4 7 8 Class java.lang.reflect.InvocationTargetException
private sun.print.PeekGraphics createFirstPassGraphics(java.awt.print.PrinterJob, java.awt.print.PageFormat);
descriptor: (Ljava/awt/print/PrinterJob;Ljava/awt/print/PageFormat;)Lsun/print/PeekGraphics;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.awt.image.BufferedImage
dup
aload 2
invokevirtual java.awt.print.PageFormat.getWidth:()D
invokestatic java.lang.Math.round:(D)J
l2i
aload 2
invokevirtual java.awt.print.PageFormat.getHeight:()D
invokestatic java.lang.Math.round:(D)J
l2i
iconst_3
invokespecial java.awt.image.BufferedImage.<init>:(III)V
astore 3
start local 3 1: aload 0
aload 3
invokevirtual java.awt.image.BufferedImage.createGraphics:()Ljava/awt/Graphics2D;
aload 1
invokevirtual sun.lwawt.macosx.CPrinterJob.createPeekGraphics:(Ljava/awt/Graphics2D;Ljava/awt/print/PrinterJob;)Lsun/print/PeekGraphics;
astore 4
start local 4 2: aload 0
aload 2
invokevirtual sun.lwawt.macosx.CPrinterJob.getPageFormatArea:(Ljava/awt/print/PageFormat;)Ljava/awt/geom/Rectangle2D;
astore 5
start local 5 3: aload 0
aload 4
aload 5
invokevirtual sun.lwawt.macosx.CPrinterJob.initPrinterGraphics:(Ljava/awt/Graphics2D;Ljava/awt/geom/Rectangle2D;)V
4: aload 4
areturn
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 5 0 this Lsun/lwawt/macosx/CPrinterJob;
0 5 1 printerJob Ljava/awt/print/PrinterJob;
0 5 2 page Ljava/awt/print/PageFormat;
1 5 3 bimg Ljava/awt/image/BufferedImage;
2 5 4 peekGraphics Lsun/print/PeekGraphics;
3 5 5 pageFormatArea Ljava/awt/geom/Rectangle2D;
MethodParameters:
Name Flags
printerJob
page
private void printToPathGraphics(sun.print.PeekGraphics, java.awt.print.PrinterJob, java.awt.print.Printable, java.awt.print.PageFormat, int, long);
descriptor: (Lsun/print/PeekGraphics;Ljava/awt/print/PrinterJob;Ljava/awt/print/Printable;Ljava/awt/print/PageFormat;IJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=11, 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: new sun.lwawt.macosx.CPrinterJob$4
dup
aload 0
aload 4
lload 6
aload 2
aload 3
iload 5
invokespecial sun.lwawt.macosx.CPrinterJob$4.<init>:(Lsun/lwawt/macosx/CPrinterJob;Ljava/awt/print/PageFormat;JLjava/awt/print/PrinterJob;Ljava/awt/print/Printable;I)V
astore 8
start local 8 1: aload 0
getfield sun.lwawt.macosx.CPrinterJob.onEventThread:Z
ifeq 12
2: aload 8
invokestatic java.awt.EventQueue.invokeAndWait:(Ljava/lang/Runnable;)V
3: goto 13
StackMap locals: sun.lwawt.macosx.CPrinterJob sun.print.PeekGraphics java.awt.print.PrinterJob java.awt.print.Printable java.awt.print.PageFormat int long java.lang.Runnable
StackMap stack: java.lang.reflect.InvocationTargetException
4: astore 9
start local 9 5: aload 9
invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
astore 10
start local 10 6: aload 10
instanceof java.awt.print.PrinterException
ifeq 7
aload 10
checkcast java.awt.print.PrinterException
athrow
7: StackMap locals: java.lang.reflect.InvocationTargetException java.lang.Throwable
StackMap stack:
aload 10
invokevirtual java.lang.Throwable.printStackTrace:()V
end local 10 end local 9 8: goto 13
9: StackMap locals: sun.lwawt.macosx.CPrinterJob sun.print.PeekGraphics java.awt.print.PrinterJob java.awt.print.Printable java.awt.print.PageFormat int long java.lang.Runnable
StackMap stack: java.lang.Exception
astore 9
start local 9 10: aload 9
invokevirtual java.lang.Exception.printStackTrace:()V
end local 9 11: goto 13
12: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.lang.Runnable.run:()V
13: StackMap locals:
StackMap stack:
return
end local 8 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 14 0 this Lsun/lwawt/macosx/CPrinterJob;
0 14 1 graphics Lsun/print/PeekGraphics;
0 14 2 printerJob Ljava/awt/print/PrinterJob;
0 14 3 painter Ljava/awt/print/Printable;
0 14 4 page Ljava/awt/print/PageFormat;
0 14 5 pageIndex I
0 14 6 context J
1 14 8 r Ljava/lang/Runnable;
5 8 9 ite Ljava/lang/reflect/InvocationTargetException;
6 8 10 te Ljava/lang/Throwable;
10 11 9 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.reflect.InvocationTargetException
2 3 9 Class java.lang.Exception
Exceptions:
throws java.awt.print.PrinterException
MethodParameters:
Name Flags
graphics final
printerJob final
painter final
page final
pageIndex final
context final
private java.lang.Object[] getPageformatPrintablePeekgraphics(int);
descriptor: (I)[Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: iconst_3
anewarray java.lang.Object
astore 2
start local 2 1: aload 0
astore 3
start local 3 2: new sun.lwawt.macosx.CPrinterJob$5
dup
aload 0
aload 2
iload 1
aload 3
invokespecial sun.lwawt.macosx.CPrinterJob$5.<init>:(Lsun/lwawt/macosx/CPrinterJob;[Ljava/lang/Object;ILjava/awt/print/PrinterJob;)V
astore 4
start local 4 3: aload 0
getfield sun.lwawt.macosx.CPrinterJob.onEventThread:Z
ifeq 9
4: aload 4
invokestatic java.awt.EventQueue.invokeAndWait:(Ljava/lang/Runnable;)V
5: goto 10
StackMap locals: sun.lwawt.macosx.CPrinterJob int java.lang.Object[] java.awt.print.PrinterJob java.lang.Runnable
StackMap stack: java.lang.Exception
6: astore 5
start local 5 7: aload 5
invokevirtual java.lang.Exception.printStackTrace:()V
end local 5 8: goto 10
9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.lang.Runnable.run:()V
10: StackMap locals:
StackMap stack:
aload 2
dup
astore 5
monitorenter
11: aload 2
iconst_2
aaload
ifnull 14
12: aload 2
aload 5
monitorexit
13: areturn
14: StackMap locals: java.lang.Object[]
StackMap stack:
aload 5
monitorexit
15: aconst_null
areturn
16: StackMap locals:
StackMap stack: java.lang.Throwable
aload 5
monitorexit
17: athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/lwawt/macosx/CPrinterJob;
0 18 1 pageIndex I
1 18 2 ret [Ljava/lang/Object;
2 18 3 printerJob Ljava/awt/print/PrinterJob;
3 18 4 r Ljava/lang/Runnable;
7 8 5 e Ljava/lang/Exception;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
11 13 16 any
14 15 16 any
16 17 16 any
MethodParameters:
Name Flags
pageIndex final
private java.awt.geom.Rectangle2D printAndGetPageFormatArea(java.awt.print.Printable, java.awt.Graphics, java.awt.print.PageFormat, int);
descriptor: (Ljava/awt/print/Printable;Ljava/awt/Graphics;Ljava/awt/print/PageFormat;I)Ljava/awt/geom/Rectangle2D;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_1
anewarray java.awt.geom.Rectangle2D
astore 5
start local 5 1: new sun.lwawt.macosx.CPrinterJob$6
dup
aload 0
aload 5
aload 1
aload 2
aload 3
iload 4
invokespecial sun.lwawt.macosx.CPrinterJob$6.<init>:(Lsun/lwawt/macosx/CPrinterJob;[Ljava/awt/geom/Rectangle2D;Ljava/awt/print/Printable;Ljava/awt/Graphics;Ljava/awt/print/PageFormat;I)V
astore 6
start local 6 2: aload 0
getfield sun.lwawt.macosx.CPrinterJob.onEventThread:Z
ifeq 8
3: aload 6
invokestatic java.awt.EventQueue.invokeAndWait:(Ljava/lang/Runnable;)V
4: goto 9
StackMap locals: sun.lwawt.macosx.CPrinterJob java.awt.print.Printable java.awt.Graphics java.awt.print.PageFormat int java.awt.geom.Rectangle2D[] java.lang.Runnable
StackMap stack: java.lang.Exception
5: astore 7
start local 7 6: aload 7
invokevirtual java.lang.Exception.printStackTrace:()V
end local 7 7: goto 9
8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.lang.Runnable.run:()V
9: StackMap locals:
StackMap stack:
aload 5
dup
astore 7
monitorenter
10: aload 5
iconst_0
aaload
aload 7
monitorexit
11: areturn
StackMap locals: sun.lwawt.macosx.CPrinterJob java.awt.print.Printable java.awt.Graphics java.awt.print.PageFormat int java.awt.geom.Rectangle2D[] java.lang.Runnable java.awt.geom.Rectangle2D[]
StackMap stack: java.lang.Throwable
12: aload 7
monitorexit
13: athrow
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 14 0 this Lsun/lwawt/macosx/CPrinterJob;
0 14 1 printable Ljava/awt/print/Printable;
0 14 2 graphics Ljava/awt/Graphics;
0 14 3 pageFormat Ljava/awt/print/PageFormat;
0 14 4 pageIndex I
1 14 5 ret [Ljava/awt/geom/Rectangle2D;
2 14 6 r Ljava/lang/Runnable;
6 7 7 e Ljava/lang/Exception;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
10 11 12 any
12 13 12 any
MethodParameters:
Name Flags
printable final
graphics final
pageFormat final
pageIndex final
private static void detachPrintLoop(long, long);
descriptor: (JJ)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=4, args_size=2
start local 0 start local 2 0: new java.lang.Thread
dup
aconst_null
lload 0
lload 2
invokedynamic run(JJ)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
sun/lwawt/macosx/CPrinterJob.lambda$0(JJ)V (6)
()V
1: ldc "PrintLoop"
lconst_0
iconst_0
2: invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;JZ)V
3: invokevirtual java.lang.Thread.start:()V
4: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 target J
0 5 2 arg J
MethodParameters:
Name Flags
target final
arg final
private static native void _safePrintLoop(long, long);
descriptor: (JJ)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
target
arg
protected void startPage(java.awt.print.PageFormat, java.awt.print.Printable, int, boolean);
descriptor: (Ljava/awt/print/PageFormat;Ljava/awt/print/Printable;IZ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPrinterJob;
0 1 1 arg0 Ljava/awt/print/PageFormat;
0 1 2 arg1 Ljava/awt/print/Printable;
0 1 3 arg2 I
0 1 4 arg3 Z
Exceptions:
throws java.awt.print.PrinterException
MethodParameters:
Name Flags
arg0
arg1
arg2
arg3
protected javax.print.attribute.standard.MediaSize getMediaSize(javax.print.attribute.standard.Media, javax.print.PrintService, java.awt.print.PageFormat);
descriptor: (Ljavax/print/attribute/standard/Media;Ljavax/print/PrintService;Ljava/awt/print/PageFormat;)Ljavax/print/attribute/standard/MediaSize;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 1
aload 1
instanceof javax.print.attribute.standard.MediaSizeName
ifne 2
1: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual sun.lwawt.macosx.CPrinterJob.getDefaultMediaSize:(Ljava/awt/print/PageFormat;)Ljavax/print/attribute/standard/MediaSize;
areturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast javax.print.attribute.standard.MediaSizeName
invokestatic javax.print.attribute.standard.MediaSize.getMediaSizeForName:(Ljavax/print/attribute/standard/MediaSizeName;)Ljavax/print/attribute/standard/MediaSize;
astore 4
start local 4 3: aload 4
ifnull 4
aload 4
goto 5
StackMap locals: javax.print.attribute.standard.MediaSize
StackMap stack:
4: aload 0
aload 3
invokevirtual sun.lwawt.macosx.CPrinterJob.getDefaultMediaSize:(Ljava/awt/print/PageFormat;)Ljavax/print/attribute/standard/MediaSize;
StackMap locals:
StackMap stack: javax.print.attribute.standard.MediaSize
5: areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/lwawt/macosx/CPrinterJob;
0 6 1 media Ljavax/print/attribute/standard/Media;
0 6 2 service Ljavax/print/PrintService;
0 6 3 page Ljava/awt/print/PageFormat;
3 6 4 size Ljavax/print/attribute/standard/MediaSize;
MethodParameters:
Name Flags
media
service
page
private javax.print.attribute.standard.MediaSize getDefaultMediaSize(java.awt.print.PageFormat);
descriptor: (Ljava/awt/print/PageFormat;)Ljavax/print/attribute/standard/MediaSize;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.print.PageFormat.getPaper:()Ljava/awt/print/Paper;
astore 2
start local 2 1: aload 2
invokevirtual java.awt.print.Paper.getWidth:()D
ldc 72.0
ddiv
d2f
fstore 3
start local 3 2: aload 2
invokevirtual java.awt.print.Paper.getHeight:()D
ldc 72.0
ddiv
d2f
fstore 4
start local 4 3: new javax.print.attribute.standard.MediaSize
dup
fload 3
fload 4
sipush 25400
invokespecial javax.print.attribute.standard.MediaSize.<init>:(FFI)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CPrinterJob;
0 4 1 page Ljava/awt/print/PageFormat;
1 4 2 paper Ljava/awt/print/Paper;
2 4 3 width F
3 4 4 height F
MethodParameters:
Name Flags
page
protected javax.print.attribute.standard.MediaPrintableArea getDefaultPrintableArea(java.awt.print.PageFormat, double, double);
descriptor: (Ljava/awt/print/PageFormat;DD)Ljavax/print/attribute/standard/MediaPrintableArea;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 1
invokevirtual java.awt.print.PageFormat.getPaper:()Ljava/awt/print/Paper;
astore 6
start local 6 1: new javax.print.attribute.standard.MediaPrintableArea
dup
2: aload 6
invokevirtual java.awt.print.Paper.getImageableX:()D
ldc 72.0
ddiv
d2f
3: aload 6
invokevirtual java.awt.print.Paper.getImageableY:()D
ldc 72.0
ddiv
d2f
4: aload 6
invokevirtual java.awt.print.Paper.getImageableWidth:()D
ldc 72.0
ddiv
d2f
5: aload 6
invokevirtual java.awt.print.Paper.getImageableHeight:()D
ldc 72.0
ddiv
d2f
6: sipush 25400
7: invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
areturn
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/lwawt/macosx/CPrinterJob;
0 8 1 page Ljava/awt/print/PageFormat;
0 8 2 w D
0 8 4 h D
1 8 6 paper Ljava/awt/print/Paper;
MethodParameters:
Name Flags
page
w
h
static void access$0(sun.lwawt.macosx.CPrinterJob, boolean);
descriptor: (Lsun/lwawt/macosx/CPrinterJob;Z)V
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
putfield sun.lwawt.macosx.CPrinterJob.performingPrinting:Z
return
LocalVariableTable:
Start End Slot Name Signature
static void access$1(sun.lwawt.macosx.CPrinterJob, java.awt.Graphics2D, java.awt.geom.Rectangle2D);
descriptor: (Lsun/lwawt/macosx/CPrinterJob;Ljava/awt/Graphics2D;Ljava/awt/geom/Rectangle2D;)V
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual sun.lwawt.macosx.CPrinterJob.initPrinterGraphics:(Ljava/awt/Graphics2D;Ljava/awt/geom/Rectangle2D;)V
return
LocalVariableTable:
Start End Slot Name Signature
static java.awt.print.Pageable access$2(sun.lwawt.macosx.CPrinterJob);
descriptor: (Lsun/lwawt/macosx/CPrinterJob;)Ljava/awt/print/Pageable;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.lwawt.macosx.CPrinterJob.getPageable:()Ljava/awt/print/Pageable;
areturn
LocalVariableTable:
Start End Slot Name Signature
static sun.print.PeekGraphics access$3(sun.lwawt.macosx.CPrinterJob, java.awt.Graphics2D, java.awt.print.PrinterJob);
descriptor: (Lsun/lwawt/macosx/CPrinterJob;Ljava/awt/Graphics2D;Ljava/awt/print/PrinterJob;)Lsun/print/PeekGraphics;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual sun.lwawt.macosx.CPrinterJob.createPeekGraphics:(Ljava/awt/Graphics2D;Ljava/awt/print/PrinterJob;)Lsun/print/PeekGraphics;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$0(long, long);
descriptor: (JJ)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=2
0: lload 0
lload 2
invokestatic sun.lwawt.macosx.CPrinterJob._safePrintLoop:(JJ)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "CPrinterJob.java"
NestMembers:
sun.lwawt.macosx.CPrinterJob$1 sun.lwawt.macosx.CPrinterJob$2 sun.lwawt.macosx.CPrinterJob$3 sun.lwawt.macosx.CPrinterJob$4 sun.lwawt.macosx.CPrinterJob$5 sun.lwawt.macosx.CPrinterJob$6
InnerClasses:
public Double = java.awt.geom.Rectangle2D$Double of java.awt.geom.Rectangle2D
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public SERVICE_FORMATTED = javax.print.DocFlavor$SERVICE_FORMATTED of javax.print.DocFlavor
sun.lwawt.macosx.CPrinterJob$1
sun.lwawt.macosx.CPrinterJob$2
sun.lwawt.macosx.CPrinterJob$3
sun.lwawt.macosx.CPrinterJob$4
sun.lwawt.macosx.CPrinterJob$5
sun.lwawt.macosx.CPrinterJob$6