public class com.sun.prism.j2d.print.J2DPrinterJob implements com.sun.javafx.print.PrinterJobImpl
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.prism.j2d.print.J2DPrinterJob
super_class: java.lang.Object
{
javafx.print.PrinterJob fxPrinterJob;
descriptor: Ljavafx/print/PrinterJob;
flags: (0x0000)
java.awt.print.PrinterJob pJob2D;
descriptor: Ljava/awt/print/PrinterJob;
flags: (0x0000)
javafx.print.Printer fxPrinter;
descriptor: Ljavafx/print/Printer;
flags: (0x0000)
com.sun.prism.j2d.print.J2DPrinter j2dPrinter;
descriptor: Lcom/sun/prism/j2d/print/J2DPrinter;
flags: (0x0000)
private javafx.print.JobSettings settings;
descriptor: Ljavafx/print/JobSettings;
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.PrintRequestAttributeSet printReqAttrSet;
descriptor: Ljavax/print/attribute/PrintRequestAttributeSet;
flags: (0x0002) ACC_PRIVATE
private volatile java.lang.Object elo;
descriptor: Ljava/lang/Object;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private static java.lang.Class onTopClass;
descriptor: Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private boolean jobRunning;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean jobError;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean jobDone;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private com.sun.prism.j2d.print.J2DPrinterJob$J2DPageable j2dPageable;
descriptor: Lcom/sun/prism/j2d/print/J2DPrinterJob$J2DPageable;
flags: (0x0002) ACC_PRIVATE
private java.lang.Object monitor;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$javafx$print$PageOrientation;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic run()Ljava/security/PrivilegedAction;
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:
()Ljava/lang/Object;
com/sun/prism/j2d/print/J2DPrinterJob.lambda$0()Ljava/lang/Void; (6)
()Ljava/lang/Void;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
1: aconst_null
putstatic com.sun.prism.j2d.print.J2DPrinterJob.onTopClass:Ljava/lang/Class;
return
LocalVariableTable:
Start End Slot Name Signature
javax.print.attribute.PrintRequestAttribute getAlwaysOnTop(long);
descriptor: (J)Ljavax/print/attribute/PrintRequestAttribute;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: lload 1
invokedynamic run(J)Ljava/security/PrivilegedAction;
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:
()Ljava/lang/Object;
com/sun/prism/j2d/print/J2DPrinterJob.lambda$1(J)Ljavax/print/attribute/PrintRequestAttribute; (6)
()Ljavax/print/attribute/PrintRequestAttribute;
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast javax.print.attribute.PrintRequestAttribute
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
0 2 1 id J
MethodParameters:
Name Flags
id final
private static native javax.print.attribute.PrintRequestAttribute getAlwaysOnTop(java.lang.Class, long);
descriptor: (Ljava/lang/Class;J)Ljavax/print/attribute/PrintRequestAttribute;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
onTopClass
id
public void <init>(javafx.print.PrinterJob);
descriptor: (Ljavafx/print/PrinterJob;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.prism.j2d.print.J2DPrinterJob.elo:Ljava/lang/Object;
2: aload 0
iconst_0
putfield com.sun.prism.j2d.print.J2DPrinterJob.jobRunning:Z
3: aload 0
iconst_0
putfield com.sun.prism.j2d.print.J2DPrinterJob.jobError:Z
4: aload 0
iconst_0
putfield com.sun.prism.j2d.print.J2DPrinterJob.jobDone:Z
5: aload 0
aconst_null
putfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPageable:Lcom/sun/prism/j2d/print/J2DPrinterJob$J2DPageable;
6: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield com.sun.prism.j2d.print.J2DPrinterJob.monitor:Ljava/lang/Object;
7: aload 0
aload 1
putfield com.sun.prism.j2d.print.J2DPrinterJob.fxPrinterJob:Ljavafx/print/PrinterJob;
8: aload 0
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.fxPrinterJob:Ljavafx/print/PrinterJob;
invokevirtual javafx.print.PrinterJob.getPrinter:()Ljavafx/print/Printer;
putfield com.sun.prism.j2d.print.J2DPrinterJob.fxPrinter:Ljavafx/print/Printer;
9: aload 0
aload 0
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.fxPrinter:Ljavafx/print/Printer;
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.getJ2DPrinter:(Ljavafx/print/Printer;)Lcom/sun/prism/j2d/print/J2DPrinter;
putfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
10: aload 0
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.fxPrinterJob:Ljavafx/print/PrinterJob;
invokevirtual javafx.print.PrinterJob.getJobSettings:()Ljavafx/print/JobSettings;
putfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
11: aload 0
invokestatic java.awt.print.PrinterJob.getPrinterJob:()Ljava/awt/print/PrinterJob;
putfield com.sun.prism.j2d.print.J2DPrinterJob.pJob2D:Ljava/awt/print/PrinterJob;
12: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.pJob2D:Ljava/awt/print/PrinterJob;
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
invokevirtual com.sun.prism.j2d.print.J2DPrinter.getService:()Ljavax/print/PrintService;
invokevirtual java.awt.print.PrinterJob.setPrintService:(Ljavax/print/PrintService;)V
13: goto 15
StackMap locals: com.sun.prism.j2d.print.J2DPrinterJob javafx.print.PrinterJob
StackMap stack: java.awt.print.PrinterException
14: pop
15: StackMap locals:
StackMap stack:
aload 0
new javax.print.attribute.HashPrintRequestAttributeSet
dup
invokespecial javax.print.attribute.HashPrintRequestAttributeSet.<init>:()V
putfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
16: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
getstatic javax.print.attribute.standard.DialogTypeSelection.NATIVE:Ljavax/print/attribute/standard/DialogTypeSelection;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
17: aload 0
new com.sun.prism.j2d.print.J2DPrinterJob$J2DPageable
dup
aload 0
invokespecial com.sun.prism.j2d.print.J2DPrinterJob$J2DPageable.<init>:(Lcom/sun/prism/j2d/print/J2DPrinterJob;)V
putfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPageable:Lcom/sun/prism/j2d/print/J2DPrinterJob$J2DPageable;
18: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.pJob2D:Ljava/awt/print/PrinterJob;
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPageable:Lcom/sun/prism/j2d/print/J2DPrinterJob$J2DPageable;
invokevirtual java.awt.print.PrinterJob.setPageable:(Ljava/awt/print/Pageable;)V
19: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
0 20 1 fxJob Ljavafx/print/PrinterJob;
Exception table:
from to target type
12 13 14 Class java.awt.print.PrinterException
MethodParameters:
Name Flags
fxJob
private void setEnabledState(javafx.stage.Window, boolean);
descriptor: (Ljavafx/stage/Window;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokestatic com.sun.javafx.stage.WindowHelper.getPeer:(Ljavafx/stage/Window;)Lcom/sun/javafx/tk/TKStage;
astore 3
start local 3 3: aload 3
ifnonnull 5
4: return
5: StackMap locals: com.sun.javafx.tk.TKStage
StackMap stack:
aload 3
iload 2
invokedynamic run(Lcom/sun/javafx/tk/TKStage;Z)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
com/sun/prism/j2d/print/J2DPrinterJob.lambda$2(Lcom/sun/javafx/tk/TKStage;Z)V (6)
()V
invokestatic com.sun.glass.ui.Application.invokeAndWait:(Ljava/lang/Runnable;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
0 7 1 owner Ljavafx/stage/Window;
0 7 2 state Z
3 7 3 stage Lcom/sun/javafx/tk/TKStage;
MethodParameters:
Name Flags
owner
state
public boolean showPrintDialog(javafx.stage.Window);
descriptor: (Ljavafx/stage/Window;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.jobRunning:Z
ifne 1
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.jobDone:Z
ifeq 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
getstatic com.sun.prism.j2d.print.J2DPrinterJob.onTopClass:Ljava/lang/Class;
ifnull 6
5: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
getstatic com.sun.prism.j2d.print.J2DPrinterJob.onTopClass:Ljava/lang/Class;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.remove:(Ljava/lang/Class;)Z
pop
6: StackMap locals:
StackMap stack:
aload 1
ifnull 13
7: lconst_0
lstore 2
start local 2 8: invokestatic com.sun.javafx.PlatformUtil.isWindows:()Z
ifeq 10
9: aload 1
invokestatic com.sun.javafx.stage.WindowHelper.getPeer:(Ljavafx/stage/Window;)Lcom/sun/javafx/tk/TKStage;
invokeinterface com.sun.javafx.tk.TKStage.getRawHandle:()J
lstore 2
10: StackMap locals: long
StackMap stack:
aload 0
lload 2
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.getAlwaysOnTop:(J)Ljavax/print/attribute/PrintRequestAttribute;
astore 4
start local 4 11: aload 4
ifnull 13
12: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
aload 4
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
end local 4 end local 2 13: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 14: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.syncSettingsToAttributes:()V
15: aload 0
aload 1
iconst_0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.setEnabledState:(Ljavafx/stage/Window;Z)V
16: invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
invokevirtual com.sun.javafx.tk.Toolkit.isFxUserThread:()Z
ifne 19
17: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.pJob2D:Ljava/awt/print/PrinterJob;
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
invokevirtual java.awt.print.PrinterJob.printDialog:(Ljavax/print/attribute/PrintRequestAttributeSet;)Z
istore 2
18: goto 24
19: StackMap locals: int
StackMap stack:
invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
invokevirtual com.sun.javafx.tk.Toolkit.canStartNestedEventLoop:()Z
ifne 23
20: new java.lang.IllegalStateException
dup
21: ldc "Printing is not allowed during animation or layout processing"
22: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.showPrintDialogWithNestedLoop:(Ljavafx/stage/Window;)Z
istore 2
24: StackMap locals:
StackMap stack:
iload 2
ifeq 30
25: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.updateSettingsFromDialog:()V
26: goto 30
StackMap locals:
StackMap stack: java.lang.Throwable
27: astore 3
28: aload 0
aload 1
iconst_1
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.setEnabledState:(Ljavafx/stage/Window;Z)V
29: aload 3
athrow
30: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_1
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.setEnabledState:(Ljavafx/stage/Window;Z)V
31: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
0 32 1 owner Ljavafx/stage/Window;
8 13 2 id J
11 13 4 alwaysOnTop Ljavax/print/attribute/PrintRequestAttribute;
14 32 2 rv Z
Exception table:
from to target type
15 27 27 any
MethodParameters:
Name Flags
owner
private boolean showPrintDialogWithNestedLoop(javafx.stage.Window);
descriptor: (Ljavafx/stage/Window;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: new com.sun.prism.j2d.print.J2DPrinterJob$PrintDialogRunnable
dup
aload 0
invokespecial com.sun.prism.j2d.print.J2DPrinterJob$PrintDialogRunnable.<init>:(Lcom/sun/prism/j2d/print/J2DPrinterJob;)V
astore 2
start local 2 1: new java.lang.Thread
dup
aload 2
ldc "FX Print Dialog Thread"
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual java.lang.Thread.start:()V
3: invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
aload 2
invokevirtual com.sun.javafx.tk.Toolkit.enterNestedEventLoop:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: aload 4
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 5
6: goto 8
StackMap locals: com.sun.prism.j2d.print.J2DPrinterJob javafx.stage.Window com.sun.prism.j2d.print.J2DPrinterJob$PrintDialogRunnable java.lang.Thread java.lang.Object int
StackMap stack: java.lang.Exception
7: pop
8: StackMap locals:
StackMap stack:
iload 5
ireturn
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 9 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
0 9 1 owner Ljavafx/stage/Window;
1 9 2 dr Lcom/sun/prism/j2d/print/J2DPrinterJob$PrintDialogRunnable;
2 9 3 prtThread Ljava/lang/Thread;
4 9 4 rv Ljava/lang/Object;
5 9 5 rvbool Z
Exception table:
from to target type
5 6 7 Class java.lang.Exception
MethodParameters:
Name Flags
owner
public boolean showPageDialog(javafx.stage.Window);
descriptor: (Ljavafx/stage/Window;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.jobRunning:Z
ifne 1
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.jobDone:Z
ifeq 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
getstatic com.sun.prism.j2d.print.J2DPrinterJob.onTopClass:Ljava/lang/Class;
ifnull 6
5: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
getstatic com.sun.prism.j2d.print.J2DPrinterJob.onTopClass:Ljava/lang/Class;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.remove:(Ljava/lang/Class;)Z
pop
6: StackMap locals:
StackMap stack:
aload 1
ifnull 13
7: lconst_0
lstore 2
start local 2 8: invokestatic com.sun.javafx.PlatformUtil.isWindows:()Z
ifeq 10
9: aload 1
invokestatic com.sun.javafx.stage.WindowHelper.getPeer:(Ljavafx/stage/Window;)Lcom/sun/javafx/tk/TKStage;
invokeinterface com.sun.javafx.tk.TKStage.getRawHandle:()J
lstore 2
10: StackMap locals: long
StackMap stack:
aload 0
lload 2
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.getAlwaysOnTop:(J)Ljavax/print/attribute/PrintRequestAttribute;
astore 4
start local 4 11: aload 4
ifnull 13
12: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
aload 4
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
end local 4 end local 2 13: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 14: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.syncSettingsToAttributes:()V
15: aload 0
aload 1
iconst_0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.setEnabledState:(Ljavafx/stage/Window;Z)V
16: invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
invokevirtual com.sun.javafx.tk.Toolkit.isFxUserThread:()Z
ifne 22
17: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.pJob2D:Ljava/awt/print/PrinterJob;
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
invokevirtual java.awt.print.PrinterJob.pageDialog:(Ljavax/print/attribute/PrintRequestAttributeSet;)Ljava/awt/print/PageFormat;
astore 3
start local 3 18: aload 3
ifnull 19
iconst_1
goto 20
StackMap locals: int java.awt.print.PageFormat
StackMap stack:
19: iconst_0
StackMap locals:
StackMap stack: int
20: istore 2
end local 3 21: goto 31
22: StackMap locals:
StackMap stack:
invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
invokevirtual com.sun.javafx.tk.Toolkit.canStartNestedEventLoop:()Z
ifne 26
23: new java.lang.IllegalStateException
dup
24: ldc "Printing is not allowed during animation or layout processing"
25: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.showPageDialogFromNestedLoop:(Ljavafx/stage/Window;)Z
istore 2
27: goto 31
StackMap locals:
StackMap stack: java.lang.Throwable
28: astore 4
29: aload 0
aload 1
iconst_1
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.setEnabledState:(Ljavafx/stage/Window;Z)V
30: aload 4
athrow
31: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_1
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.setEnabledState:(Ljavafx/stage/Window;Z)V
32: iload 2
ifeq 34
33: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.updateSettingsFromDialog:()V
34: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
0 35 1 owner Ljavafx/stage/Window;
8 13 2 id J
11 13 4 alwaysOnTop Ljavax/print/attribute/PrintRequestAttribute;
14 35 2 rv Z
18 21 3 pf Ljava/awt/print/PageFormat;
Exception table:
from to target type
15 28 28 any
MethodParameters:
Name Flags
owner
private boolean showPageDialogFromNestedLoop(javafx.stage.Window);
descriptor: (Ljavafx/stage/Window;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: new com.sun.prism.j2d.print.J2DPrinterJob$PageDialogRunnable
dup
aload 0
invokespecial com.sun.prism.j2d.print.J2DPrinterJob$PageDialogRunnable.<init>:(Lcom/sun/prism/j2d/print/J2DPrinterJob;)V
astore 2
start local 2 1: new java.lang.Thread
dup
aload 2
ldc "FX Page Setup Dialog Thread"
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual java.lang.Thread.start:()V
3: invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
aload 2
invokevirtual com.sun.javafx.tk.Toolkit.enterNestedEventLoop:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: aload 4
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 5
6: goto 8
StackMap locals: com.sun.prism.j2d.print.J2DPrinterJob javafx.stage.Window com.sun.prism.j2d.print.J2DPrinterJob$PageDialogRunnable java.lang.Thread java.lang.Object int
StackMap stack: java.lang.Exception
7: pop
8: StackMap locals:
StackMap stack:
iload 5
ireturn
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 9 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
0 9 1 owner Ljavafx/stage/Window;
1 9 2 dr Lcom/sun/prism/j2d/print/J2DPrinterJob$PageDialogRunnable;
2 9 3 prtThread Ljava/lang/Thread;
4 9 4 rv Ljava/lang/Object;
5 9 5 rvbool Z
Exception table:
from to target type
5 6 7 Class java.lang.Exception
MethodParameters:
Name Flags
owner
private void updateJobName();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.pJob2D:Ljava/awt/print/PrinterJob;
invokevirtual java.awt.print.PrinterJob.getJobName:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
invokevirtual javafx.print.JobSettings.getJobName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
2: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
aload 1
invokevirtual javafx.print.JobSettings.setJobName:(Ljava/lang/String;)V
3: StackMap locals: java.lang.String
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
1 4 1 name Ljava/lang/String;
private void updateCopies();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.pJob2D:Ljava/awt/print/PrinterJob;
invokevirtual java.awt.print.PrinterJob.getCopies:()I
istore 1
start local 1 1: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
invokevirtual javafx.print.JobSettings.getCopies:()I
iload 1
if_icmpeq 3
2: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
iload 1
invokevirtual javafx.print.JobSettings.setCopies:(I)V
3: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
1 4 1 nCopies I
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
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 1
start local 1 1: aload 1
ifnull 23
2: aload 1
invokevirtual javax.print.attribute.standard.PageRanges.getMembers:()[[I
astore 2
start local 2 3: aload 2
arraylength
iconst_1
if_icmpne 7
4: new javafx.print.PageRange
dup
aload 2
iconst_0
aaload
iconst_0
iaload
aload 2
iconst_0
aaload
iconst_1
iaload
invokespecial javafx.print.PageRange.<init>:(II)V
astore 3
start local 3 5: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
iconst_1
anewarray javafx.print.PageRange
dup
iconst_0
aload 3
aastore
invokevirtual javafx.print.JobSettings.setPageRanges:([Ljavafx/print/PageRange;)V
end local 3 6: goto 23
StackMap locals: javax.print.attribute.standard.PageRanges int[][]
StackMap stack:
7: aload 2
arraylength
ifle 23
8: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 9: iconst_0
istore 4
start local 4 10: iconst_0
istore 5
start local 5 11: goto 19
12: StackMap locals: java.util.ArrayList int int
StackMap stack:
aload 2
iload 5
aaload
iconst_0
iaload
istore 6
start local 6 13: aload 2
iload 5
aaload
iconst_1
iaload
istore 7
start local 7 14: iload 6
iload 4
if_icmple 15
iload 7
iload 6
if_icmpge 16
15: StackMap locals: int int
StackMap stack:
return
16: StackMap locals:
StackMap stack:
iload 7
istore 4
17: aload 3
new javafx.print.PageRange
dup
iload 6
iload 7
invokespecial javafx.print.PageRange.<init>:(II)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 18: iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
aload 2
arraylength
if_icmplt 12
end local 5 20: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
aload 3
iconst_0
anewarray javafx.print.PageRange
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javafx.print.PageRange[]
invokevirtual javafx.print.JobSettings.setPageRanges:([Ljavafx/print/PageRange;)V
end local 4 end local 3 21: goto 23
StackMap locals: com.sun.prism.j2d.print.J2DPrinterJob javax.print.attribute.standard.PageRanges int[][]
StackMap stack: java.lang.Exception
22: pop
end local 2 23: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
1 24 1 ranges Ljavax/print/attribute/standard/PageRanges;
3 23 2 members [[I
5 6 3 range Ljavafx/print/PageRange;
9 21 3 prList Ljava/util/ArrayList<Ljavafx/print/PageRange;>;
10 21 4 last I
11 20 5 i I
13 18 6 s I
14 18 7 e I
Exception table:
from to target type
8 15 22 Class java.lang.Exception
16 21 22 Class java.lang.Exception
private void updateSides();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/Sides;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.Sides
astore 1
start local 1 1: aload 1
ifnonnull 5
2: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
invokevirtual com.sun.prism.j2d.print.J2DPrinter.getService:()Ljavax/print/PrintService;
3: ldc Ljavax/print/attribute/standard/Sides;
invokeinterface javax.print.PrintService.getDefaultAttributeValue:(Ljava/lang/Class;)Ljava/lang/Object;
4: checkcast javax.print.attribute.standard.Sides
astore 1
5: StackMap locals: javax.print.attribute.standard.Sides
StackMap stack:
aload 1
getstatic javax.print.attribute.standard.Sides.ONE_SIDED:Ljavax/print/attribute/standard/Sides;
if_acmpne 8
6: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
getstatic javafx.print.PrintSides.ONE_SIDED:Ljavafx/print/PrintSides;
invokevirtual javafx.print.JobSettings.setPrintSides:(Ljavafx/print/PrintSides;)V
7: goto 13
StackMap locals:
StackMap stack:
8: aload 1
getstatic javax.print.attribute.standard.Sides.DUPLEX:Ljavax/print/attribute/standard/Sides;
if_acmpne 11
9: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
getstatic javafx.print.PrintSides.DUPLEX:Ljavafx/print/PrintSides;
invokevirtual javafx.print.JobSettings.setPrintSides:(Ljavafx/print/PrintSides;)V
10: goto 13
StackMap locals:
StackMap stack:
11: aload 1
getstatic javax.print.attribute.standard.Sides.TUMBLE:Ljavax/print/attribute/standard/Sides;
if_acmpne 13
12: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
getstatic javafx.print.PrintSides.TUMBLE:Ljavafx/print/PrintSides;
invokevirtual javafx.print.JobSettings.setPrintSides:(Ljavafx/print/PrintSides;)V
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
1 14 1 sides Ljavax/print/attribute/standard/Sides;
private void updateCollation();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/SheetCollate;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.SheetCollate
1: astore 1
start local 1 2: aload 1
ifnonnull 4
3: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
invokevirtual com.sun.prism.j2d.print.J2DPrinter.getDefaultSheetCollate:()Ljavax/print/attribute/standard/SheetCollate;
astore 1
4: StackMap locals: javax.print.attribute.standard.SheetCollate
StackMap stack:
aload 1
getstatic javax.print.attribute.standard.SheetCollate.UNCOLLATED:Ljavax/print/attribute/standard/SheetCollate;
if_acmpne 7
5: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
getstatic javafx.print.Collation.UNCOLLATED:Ljavafx/print/Collation;
invokevirtual javafx.print.JobSettings.setCollation:(Ljavafx/print/Collation;)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
getstatic javafx.print.Collation.COLLATED:Ljavafx/print/Collation;
invokevirtual javafx.print.JobSettings.setCollation:(Ljavafx/print/Collation;)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
2 9 1 collate Ljavax/print/attribute/standard/SheetCollate;
private void updateColor();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/Chromaticity;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.Chromaticity
1: astore 1
start local 1 2: aload 1
ifnonnull 4
3: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
invokevirtual com.sun.prism.j2d.print.J2DPrinter.getDefaultChromaticity:()Ljavax/print/attribute/standard/Chromaticity;
astore 1
4: StackMap locals: javax.print.attribute.standard.Chromaticity
StackMap stack:
aload 1
getstatic javax.print.attribute.standard.Chromaticity.COLOR:Ljavax/print/attribute/standard/Chromaticity;
if_acmpne 7
5: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
getstatic javafx.print.PrintColor.COLOR:Ljavafx/print/PrintColor;
invokevirtual javafx.print.JobSettings.setPrintColor:(Ljavafx/print/PrintColor;)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
getstatic javafx.print.PrintColor.MONOCHROME:Ljavafx/print/PrintColor;
invokevirtual javafx.print.JobSettings.setPrintColor:(Ljavafx/print/PrintColor;)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
2 9 1 color Ljavax/print/attribute/standard/Chromaticity;
private void updatePrintQuality();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/PrintQuality;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.PrintQuality
1: astore 1
start local 1 2: aload 1
ifnonnull 4
3: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
invokevirtual com.sun.prism.j2d.print.J2DPrinter.getDefaultPrintQuality:()Ljavax/print/attribute/standard/PrintQuality;
astore 1
4: StackMap locals: javax.print.attribute.standard.PrintQuality
StackMap stack:
aload 1
getstatic javax.print.attribute.standard.PrintQuality.DRAFT:Ljavax/print/attribute/standard/PrintQuality;
if_acmpne 8
5: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
6: getstatic javafx.print.PrintQuality.DRAFT:Ljavafx/print/PrintQuality;
invokevirtual javafx.print.JobSettings.setPrintQuality:(Ljavafx/print/PrintQuality;)V
7: goto 14
StackMap locals:
StackMap stack:
8: aload 1
getstatic javax.print.attribute.standard.PrintQuality.HIGH:Ljavax/print/attribute/standard/PrintQuality;
if_acmpne 12
9: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
10: getstatic javafx.print.PrintQuality.HIGH:Ljavafx/print/PrintQuality;
invokevirtual javafx.print.JobSettings.setPrintQuality:(Ljavafx/print/PrintQuality;)V
11: goto 14
12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
13: getstatic javafx.print.PrintQuality.NORMAL:Ljavafx/print/PrintQuality;
invokevirtual javafx.print.JobSettings.setPrintQuality:(Ljavafx/print/PrintQuality;)V
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
2 15 1 quality Ljavax/print/attribute/standard/PrintQuality;
private void updatePrintResolution();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/PrinterResolution;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.PrinterResolution
1: astore 1
start local 1 2: aload 1
ifnonnull 4
3: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
invokevirtual com.sun.prism.j2d.print.J2DPrinter.getDefaultPrinterResolution:()Ljavax/print/attribute/standard/PrinterResolution;
astore 1
4: StackMap locals: javax.print.attribute.standard.PrinterResolution
StackMap stack:
aload 1
bipush 100
invokevirtual javax.print.attribute.standard.PrinterResolution.getCrossFeedResolution:(I)I
istore 2
start local 2 5: aload 1
bipush 100
invokevirtual javax.print.attribute.standard.PrinterResolution.getFeedResolution:(I)I
istore 3
start local 3 6: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
iload 2
iload 3
invokestatic com.sun.javafx.print.PrintHelper.createPrintResolution:(II)Ljavafx/print/PrintResolution;
invokevirtual javafx.print.JobSettings.setPrintResolution:(Ljavafx/print/PrintResolution;)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
2 8 1 res Ljavax/print/attribute/standard/PrinterResolution;
5 8 2 cfr I
6 8 3 fr I
private void updatePageLayout();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=28, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/Media;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.Media
astore 1
start local 1 1: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
aload 1
invokevirtual com.sun.prism.j2d.print.J2DPrinter.getPaperForMedia:(Ljavax/print/attribute/standard/Media;)Ljavafx/print/Paper;
astore 2
start local 2 2: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/OrientationRequested;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
3: checkcast javax.print.attribute.standard.OrientationRequested
astore 3
start local 3 4: aload 3
invokestatic com.sun.prism.j2d.print.J2DPrinter.reverseMapOrientation:(Ljavax/print/attribute/standard/OrientationRequested;)Ljavafx/print/PageOrientation;
astore 4
start local 4 5: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/MediaPrintableArea;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.MediaPrintableArea
6: astore 5
start local 5 7: aload 5
ifnonnull 12
8: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.fxPrinter:Ljavafx/print/Printer;
aload 2
aload 4
9: getstatic javafx.print.Printer$MarginType.DEFAULT:Ljavafx/print/Printer$MarginType;
10: invokevirtual javafx.print.Printer.createPageLayout:(Ljavafx/print/Paper;Ljavafx/print/PageOrientation;Ljavafx/print/Printer$MarginType;)Ljavafx/print/PageLayout;
astore 6
start local 6 11: goto 50
end local 6 12: StackMap locals: com.sun.prism.j2d.print.J2DPrinterJob javax.print.attribute.standard.Media javafx.print.Paper javax.print.attribute.standard.OrientationRequested javafx.print.PageOrientation javax.print.attribute.standard.MediaPrintableArea
StackMap stack:
aload 2
invokevirtual javafx.print.Paper.getWidth:()D
dstore 7
start local 7 13: aload 2
invokevirtual javafx.print.Paper.getHeight:()D
dstore 9
start local 9 14: sipush 25400
istore 11
start local 11 15: aload 5
iload 11
invokevirtual javax.print.attribute.standard.MediaPrintableArea.getX:(I)F
ldc 72.0
fmul
f2d
dstore 12
start local 12 16: aload 5
iload 11
invokevirtual javax.print.attribute.standard.MediaPrintableArea.getY:(I)F
ldc 72.0
fmul
f2d
dstore 14
start local 14 17: aload 5
iload 11
invokevirtual javax.print.attribute.standard.MediaPrintableArea.getWidth:(I)F
ldc 72.0
fmul
f2d
dstore 16
start local 16 18: aload 5
iload 11
invokevirtual javax.print.attribute.standard.MediaPrintableArea.getHeight:(I)F
ldc 72.0
fmul
f2d
dstore 18
start local 18 19: dconst_0
dstore 20
start local 20 20: dconst_0
dstore 22
start local 22 21: dconst_0
dstore 24
start local 24 22: dconst_0
dstore 26
start local 26 23: invokestatic com.sun.prism.j2d.print.J2DPrinterJob.$SWITCH_TABLE$javafx$print$PageOrientation:()[I
aload 4
invokevirtual javafx.print.PageOrientation.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 24
2: 34
3: 29
4: 39
default: 43
}
24: StackMap locals: com.sun.prism.j2d.print.J2DPrinterJob javax.print.attribute.standard.Media javafx.print.Paper javax.print.attribute.standard.OrientationRequested javafx.print.PageOrientation javax.print.attribute.standard.MediaPrintableArea top double double int double double double double double double double double
StackMap stack:
dload 12
dstore 20
25: dload 7
dload 12
dsub
dload 16
dsub
dstore 22
26: dload 14
dstore 24
27: dload 9
dload 14
dsub
dload 18
dsub
dstore 26
28: goto 43
29: StackMap locals:
StackMap stack:
dload 7
dload 12
dsub
dload 16
dsub
dstore 20
30: dload 12
dstore 22
31: dload 9
dload 14
dsub
dload 18
dsub
dstore 24
32: dload 14
dstore 26
33: goto 43
34: StackMap locals:
StackMap stack:
dload 14
dstore 20
35: dload 9
dload 14
dsub
dload 18
dsub
dstore 22
36: dload 7
dload 12
dsub
dload 16
dsub
dstore 24
37: dload 12
dstore 26
38: goto 43
39: StackMap locals:
StackMap stack:
dload 9
dload 14
dsub
dload 18
dsub
dstore 20
40: dload 12
dstore 24
41: dload 14
dstore 22
42: dload 7
dload 12
dsub
dload 16
dsub
dstore 26
43: StackMap locals:
StackMap stack:
dload 20
invokestatic java.lang.Math.abs:(D)D
ldc 0.01
dcmpg
ifge 44
dconst_0
dstore 20
44: StackMap locals:
StackMap stack:
dload 22
invokestatic java.lang.Math.abs:(D)D
ldc 0.01
dcmpg
ifge 45
dconst_0
dstore 22
45: StackMap locals:
StackMap stack:
dload 24
invokestatic java.lang.Math.abs:(D)D
ldc 0.01
dcmpg
ifge 46
dconst_0
dstore 24
46: StackMap locals:
StackMap stack:
dload 26
invokestatic java.lang.Math.abs:(D)D
ldc 0.01
dcmpg
ifge 47
dconst_0
dstore 26
47: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.fxPrinter:Ljavafx/print/Printer;
aload 2
aload 4
48: dload 20
dload 22
dload 24
dload 26
49: invokevirtual javafx.print.Printer.createPageLayout:(Ljavafx/print/Paper;Ljavafx/print/PageOrientation;DDDD)Ljavafx/print/PageLayout;
astore 6
end local 26 end local 24 end local 22 end local 20 end local 18 end local 16 end local 14 end local 12 end local 11 end local 9 end local 7 start local 6 50: StackMap locals: com.sun.prism.j2d.print.J2DPrinterJob javax.print.attribute.standard.Media javafx.print.Paper javax.print.attribute.standard.OrientationRequested javafx.print.PageOrientation javax.print.attribute.standard.MediaPrintableArea javafx.print.PageLayout
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
aload 6
invokevirtual javafx.print.JobSettings.setPageLayout:(Ljavafx/print/PageLayout;)V
51: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 52 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
1 52 1 media Ljavax/print/attribute/standard/Media;
2 52 2 paper Ljavafx/print/Paper;
4 52 3 o Ljavax/print/attribute/standard/OrientationRequested;
5 52 4 orient Ljavafx/print/PageOrientation;
7 52 5 mpa Ljavax/print/attribute/standard/MediaPrintableArea;
11 12 6 newLayout Ljavafx/print/PageLayout;
50 52 6 newLayout Ljavafx/print/PageLayout;
13 50 7 pWid D
14 50 9 pHgt D
15 50 11 INCH I
16 50 12 mpaX D
17 50 14 mpaY D
18 50 16 mpaW D
19 50 18 mpaH D
20 50 20 lm D
21 50 22 rm D
22 50 24 tm D
23 50 26 bm D
private void updatePaperSource();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/Media;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.Media
astore 1
start local 1 1: aload 1
instanceof javax.print.attribute.standard.MediaTray
ifeq 5
2: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
aload 1
checkcast javax.print.attribute.standard.MediaTray
invokevirtual com.sun.prism.j2d.print.J2DPrinter.getPaperSource:(Ljavax/print/attribute/standard/MediaTray;)Ljavafx/print/PaperSource;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
aload 2
invokevirtual javafx.print.JobSettings.setPaperSource:(Ljavafx/print/PaperSource;)V
end local 2 5: StackMap locals: javax.print.attribute.standard.Media
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
1 6 1 m Ljavax/print/attribute/standard/Media;
3 5 2 s Ljavafx/print/PaperSource;
private javafx.print.Printer getFXPrinterForService(javax.print.PrintService);
descriptor: (Ljavax/print/PrintService;)Ljavafx/print/Printer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: invokestatic javafx.print.Printer.getAllPrinters:()Ljavafx/collections/ObservableSet;
astore 2
start local 2 1: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: com.sun.prism.j2d.print.J2DPrinterJob javax.print.PrintService java.util.Set top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.print.Printer
astore 3
start local 3 3: aload 3
invokestatic com.sun.javafx.print.PrintHelper.getPrinterImpl:(Ljavafx/print/Printer;)Lcom/sun/javafx/print/PrinterImpl;
checkcast com.sun.prism.j2d.print.J2DPrinter
astore 5
start local 5 4: aload 5
invokevirtual com.sun.prism.j2d.print.J2DPrinter.getService:()Ljavax/print/PrintService;
astore 6
start local 6 5: aload 6
aload 1
invokeinterface javax.print.PrintService.equals:(Ljava/lang/Object;)Z
ifeq 7
6: aload 3
areturn
end local 6 end local 5 end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.fxPrinter:Ljavafx/print/Printer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
0 9 1 service Ljavax/print/PrintService;
1 9 2 printerSet Ljava/util/Set<Ljavafx/print/Printer;>;
3 7 3 p Ljavafx/print/Printer;
4 7 5 p2d Lcom/sun/prism/j2d/print/J2DPrinter;
5 7 6 s Ljavax/print/PrintService;
MethodParameters:
Name Flags
service
public void setPrinterImpl(com.sun.javafx.print.PrinterImpl);
descriptor: (Lcom/sun/javafx/print/PrinterImpl;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast com.sun.prism.j2d.print.J2DPrinter
putfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
1: aload 0
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
invokevirtual com.sun.prism.j2d.print.J2DPrinter.getPrinter:()Ljavafx/print/Printer;
putfield com.sun.prism.j2d.print.J2DPrinterJob.fxPrinter:Ljavafx/print/Printer;
2: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.pJob2D:Ljava/awt/print/PrinterJob;
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
invokevirtual com.sun.prism.j2d.print.J2DPrinter.getService:()Ljavax/print/PrintService;
invokevirtual java.awt.print.PrinterJob.setPrintService:(Ljavax/print/PrintService;)V
3: goto 5
StackMap locals:
StackMap stack: java.awt.print.PrinterException
4: pop
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
0 6 1 impl Lcom/sun/javafx/print/PrinterImpl;
Exception table:
from to target type
2 3 4 Class java.awt.print.PrinterException
MethodParameters:
Name Flags
impl
public com.sun.javafx.print.PrinterImpl getPrinterImpl();
descriptor: ()Lcom/sun/javafx/print/PrinterImpl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
private com.sun.prism.j2d.print.J2DPrinter getJ2DPrinter(javafx.print.Printer);
descriptor: (Ljavafx/print/Printer;)Lcom/sun/prism/j2d/print/J2DPrinter;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.sun.javafx.print.PrintHelper.getPrinterImpl:(Ljavafx/print/Printer;)Lcom/sun/javafx/print/PrinterImpl;
checkcast com.sun.prism.j2d.print.J2DPrinter
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
0 1 1 printer Ljavafx/print/Printer;
MethodParameters:
Name Flags
printer
public javafx.print.Printer getPrinter();
descriptor: ()Ljavafx/print/Printer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.fxPrinter:Ljavafx/print/Printer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
public void setPrinter(javafx.print.Printer);
descriptor: (Ljavafx/print/Printer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.prism.j2d.print.J2DPrinterJob.fxPrinter:Ljavafx/print/Printer;
1: aload 0
aload 0
aload 1
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.getJ2DPrinter:(Ljavafx/print/Printer;)Lcom/sun/prism/j2d/print/J2DPrinter;
putfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
2: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.pJob2D:Ljava/awt/print/PrinterJob;
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
invokevirtual com.sun.prism.j2d.print.J2DPrinter.getService:()Ljavax/print/PrintService;
invokevirtual java.awt.print.PrinterJob.setPrintService:(Ljavax/print/PrintService;)V
3: goto 5
StackMap locals:
StackMap stack: java.awt.print.PrinterException
4: pop
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
0 6 1 printer Ljavafx/print/Printer;
Exception table:
from to target type
2 3 4 Class java.awt.print.PrinterException
MethodParameters:
Name Flags
printer
private void updatePrinter();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
invokevirtual com.sun.prism.j2d.print.J2DPrinter.getService:()Ljavax/print/PrintService;
astore 1
start local 1 1: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.pJob2D:Ljava/awt/print/PrinterJob;
invokevirtual java.awt.print.PrinterJob.getPrintService:()Ljavax/print/PrintService;
astore 2
start local 2 2: aload 1
aload 2
invokeinterface javax.print.PrintService.equals:(Ljava/lang/Object;)Z
ifeq 4
3: return
4: StackMap locals: javax.print.PrintService javax.print.PrintService
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.getFXPrinterForService:(Ljavax/print/PrintService;)Ljavafx/print/Printer;
astore 3
start local 3 5: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.fxPrinterJob:Ljavafx/print/PrinterJob;
aload 3
invokevirtual javafx.print.PrinterJob.setPrinter:(Ljavafx/print/Printer;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
1 7 1 currService Ljavax/print/PrintService;
2 7 2 jobService Ljavax/print/PrintService;
5 7 3 newFXPrinter Ljavafx/print/Printer;
private void updateSettingsFromDialog();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.updatePrinter:()V
1: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.updateJobName:()V
2: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.updateCopies:()V
3: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.updatePageRanges:()V
4: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.updateSides:()V
5: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.updateCollation:()V
6: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.updatePageLayout:()V
7: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.updatePaperSource:()V
8: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.updateColor:()V
9: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.updatePrintQuality:()V
10: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.updatePrintResolution:()V
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
private void syncSettingsToAttributes();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.syncJobName:()V
1: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.syncCopies:()V
2: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.syncPageRanges:()V
3: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.syncSides:()V
4: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.syncCollation:()V
5: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.syncPageLayout:()V
6: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.syncPaperSource:()V
7: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.syncColor:()V
8: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.syncPrintQuality:()V
9: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.syncPrintResolution:()V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
private void syncJobName();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.pJob2D:Ljava/awt/print/PrinterJob;
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
invokevirtual javafx.print.JobSettings.getJobName:()Ljava/lang/String;
invokevirtual java.awt.print.PrinterJob.setJobName:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
private void syncCopies();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.pJob2D:Ljava/awt/print/PrinterJob;
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
invokevirtual javafx.print.JobSettings.getCopies:()I
invokevirtual java.awt.print.PrinterJob.setCopies:(I)V
1: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
new javax.print.attribute.standard.Copies
dup
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
invokevirtual javafx.print.JobSettings.getCopies:()I
invokespecial javax.print.attribute.standard.Copies.<init>:(I)V
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/PageRanges;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.remove:(Ljava/lang/Class;)Z
pop
1: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
invokevirtual javafx.print.JobSettings.getPageRanges:()[Ljavafx/print/PageRange;
astore 1
start local 1 2: aload 1
ifnull 12
aload 1
arraylength
ifle 12
3: aload 1
arraylength
istore 2
start local 2 4: iload 2
iconst_2
multianewarray [[I 2
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 10
7: StackMap locals: com.sun.prism.j2d.print.J2DPrinterJob javafx.print.PageRange[] int int[][] int
StackMap stack:
aload 3
iload 4
aaload
iconst_0
aload 1
iload 4
aaload
invokevirtual javafx.print.PageRange.getStartPage:()I
iastore
8: aload 3
iload 4
aaload
iconst_1
aload 1
iload 4
aaload
invokevirtual javafx.print.PageRange.getEndPage:()I
iastore
9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 2
if_icmplt 7
end local 4 11: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
new javax.print.attribute.standard.PageRanges
dup
aload 3
invokespecial javax.print.attribute.standard.PageRanges.<init>:([[I)V
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
end local 3 end local 2 12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
2 13 1 prArr [Ljavafx/print/PageRange;
4 12 2 len I
5 12 3 ranges [[I
6 11 4 i I
private void syncSides();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic javax.print.attribute.standard.Sides.ONE_SIDED:Ljavax/print/attribute/standard/Sides;
astore 1
start local 1 1: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
invokevirtual javafx.print.JobSettings.getPrintSides:()Ljavafx/print/PrintSides;
astore 2
start local 2 2: aload 2
getstatic javafx.print.PrintSides.DUPLEX:Ljavafx/print/PrintSides;
if_acmpne 5
3: getstatic javax.print.attribute.standard.Sides.DUPLEX:Ljavax/print/attribute/standard/Sides;
astore 1
4: goto 7
StackMap locals: javax.print.attribute.standard.Sides javafx.print.PrintSides
StackMap stack:
5: aload 2
getstatic javafx.print.PrintSides.TUMBLE:Ljavafx/print/PrintSides;
if_acmpne 7
6: getstatic javax.print.attribute.standard.Sides.TUMBLE:Ljavax/print/attribute/standard/Sides;
astore 1
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
aload 1
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
1 9 1 j2dSides Ljavax/print/attribute/standard/Sides;
2 9 2 sides Ljavafx/print/PrintSides;
private void syncCollation();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
invokevirtual javafx.print.JobSettings.getCollation:()Ljavafx/print/Collation;
getstatic javafx.print.Collation.UNCOLLATED:Ljavafx/print/Collation;
if_acmpne 3
1: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
getstatic javax.print.attribute.standard.SheetCollate.UNCOLLATED:Ljavax/print/attribute/standard/SheetCollate;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
getstatic javax.print.attribute.standard.SheetCollate.COLLATED:Ljavax/print/attribute/standard/SheetCollate;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
private void syncPageLayout();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=19, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
invokevirtual javafx.print.JobSettings.getPageLayout:()Ljavafx/print/PageLayout;
astore 1
start local 1 1: aload 1
invokevirtual javafx.print.PageLayout.getPageOrientation:()Ljavafx/print/PageOrientation;
astore 2
start local 2 2: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
aload 2
invokestatic com.sun.prism.j2d.print.J2DPrinter.mapOrientation:(Ljavafx/print/PageOrientation;)Ljavax/print/attribute/standard/OrientationRequested;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
3: aload 1
invokevirtual javafx.print.PageLayout.getPaper:()Ljavafx/print/Paper;
invokevirtual javafx.print.Paper.getWidth:()D
dstore 3
start local 3 4: aload 1
invokevirtual javafx.print.PageLayout.getPaper:()Ljavafx/print/Paper;
invokevirtual javafx.print.Paper.getHeight:()D
dstore 5
start local 5 5: dload 3
ldc 72.0
ddiv
d2f
fstore 7
start local 7 6: dload 5
ldc 72.0
ddiv
d2f
fstore 8
start local 8 7: fload 7
8: fload 8
9: sipush 25400
10: invokestatic javax.print.attribute.standard.MediaSize.findMedia:(FFI)Ljavax/print/attribute/standard/MediaSizeName;
astore 9
start local 9 11: aload 9
ifnonnull 13
12: getstatic javax.print.attribute.standard.MediaSizeName.NA_LETTER:Ljavax/print/attribute/standard/MediaSizeName;
astore 9
13: StackMap locals: com.sun.prism.j2d.print.J2DPrinterJob javafx.print.PageLayout javafx.print.PageOrientation double double float float javax.print.attribute.standard.MediaSizeName
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
aload 9
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
14: dconst_0
dstore 10
start local 10 15: dconst_0
dstore 12
start local 12 16: dload 3
dstore 14
start local 14 17: dload 5
dstore 16
start local 16 18: invokestatic com.sun.prism.j2d.print.J2DPrinterJob.$SWITCH_TABLE$javafx$print$PageOrientation:()[I
aload 2
invokevirtual javafx.print.PageOrientation.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 19
2: 29
3: 24
4: 34
default: 38
}
19: StackMap locals: com.sun.prism.j2d.print.J2DPrinterJob javafx.print.PageLayout javafx.print.PageOrientation double double float float javax.print.attribute.standard.MediaSizeName double double double double
StackMap stack:
aload 1
invokevirtual javafx.print.PageLayout.getLeftMargin:()D
dstore 10
20: aload 1
invokevirtual javafx.print.PageLayout.getTopMargin:()D
dstore 12
21: dload 3
dload 10
dsub
aload 1
invokevirtual javafx.print.PageLayout.getRightMargin:()D
dsub
dstore 14
22: dload 5
dload 12
dsub
aload 1
invokevirtual javafx.print.PageLayout.getBottomMargin:()D
dsub
dstore 16
23: goto 38
24: StackMap locals:
StackMap stack:
aload 1
invokevirtual javafx.print.PageLayout.getRightMargin:()D
dstore 10
25: aload 1
invokevirtual javafx.print.PageLayout.getBottomMargin:()D
dstore 12
26: dload 3
dload 10
dsub
aload 1
invokevirtual javafx.print.PageLayout.getLeftMargin:()D
dsub
dstore 14
27: dload 5
dload 12
dsub
aload 1
invokevirtual javafx.print.PageLayout.getTopMargin:()D
dsub
dstore 16
28: goto 38
29: StackMap locals:
StackMap stack:
aload 1
invokevirtual javafx.print.PageLayout.getBottomMargin:()D
dstore 10
30: aload 1
invokevirtual javafx.print.PageLayout.getLeftMargin:()D
dstore 12
31: dload 3
dload 10
dsub
aload 1
invokevirtual javafx.print.PageLayout.getTopMargin:()D
dsub
dstore 14
32: dload 5
dload 12
dsub
aload 1
invokevirtual javafx.print.PageLayout.getRightMargin:()D
dsub
dstore 16
33: goto 38
34: StackMap locals:
StackMap stack:
aload 1
invokevirtual javafx.print.PageLayout.getTopMargin:()D
dstore 10
35: aload 1
invokevirtual javafx.print.PageLayout.getRightMargin:()D
dstore 12
36: dload 3
dload 10
dsub
aload 1
invokevirtual javafx.print.PageLayout.getBottomMargin:()D
dsub
dstore 14
37: dload 5
dload 12
dsub
aload 1
invokevirtual javafx.print.PageLayout.getLeftMargin:()D
dsub
dstore 16
38: StackMap locals:
StackMap stack:
dload 10
39: ldc 72.0
ddiv
dstore 10
40: dload 12
ldc 72.0
ddiv
dstore 12
41: dload 16
ldc 72.0
ddiv
dstore 16
42: dload 14
ldc 72.0
ddiv
dstore 14
43: new javax.print.attribute.standard.MediaPrintableArea
dup
dload 10
d2f
dload 12
d2f
44: dload 14
d2f
dload 16
d2f
45: sipush 25400
46: invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
47: astore 18
start local 18 48: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
aload 18
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
49: return
end local 18 end local 16 end local 14 end local 12 end local 10 end local 9 end local 8 end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
1 50 1 layout Ljavafx/print/PageLayout;
2 50 2 orient Ljavafx/print/PageOrientation;
4 50 3 pWid D
5 50 5 pHgt D
6 50 7 widthInInches F
7 50 8 heightInInches F
11 50 9 media Ljavax/print/attribute/standard/MediaSizeName;
15 50 10 ix D
16 50 12 iy D
17 50 14 iw D
18 50 16 ih D
48 50 18 mpa Ljavax/print/attribute/standard/MediaPrintableArea;
private void syncPaperSource();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/Media;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.Media
astore 1
start local 1 1: aload 1
ifnull 3
aload 1
instanceof javax.print.attribute.standard.MediaTray
ifeq 3
2: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/Media;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.remove:(Ljava/lang/Class;)Z
pop
3: StackMap locals: javax.print.attribute.standard.Media
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
invokevirtual javafx.print.JobSettings.getPaperSource:()Ljavafx/print/PaperSource;
astore 2
start local 2 4: aload 2
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
invokevirtual com.sun.prism.j2d.print.J2DPrinter.defaultPaperSource:()Ljavafx/print/PaperSource;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 8
5: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPrinter:Lcom/sun/prism/j2d/print/J2DPrinter;
aload 2
invokevirtual com.sun.prism.j2d.print.J2DPrinter.getTrayForPaperSource:(Ljavafx/print/PaperSource;)Ljavax/print/attribute/standard/MediaTray;
astore 3
start local 3 6: aload 3
ifnull 8
7: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
aload 3
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
end local 3 8: StackMap locals: javafx.print.PaperSource
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
1 9 1 m Ljavax/print/attribute/standard/Media;
4 9 2 source Ljavafx/print/PaperSource;
6 8 3 tray Ljavax/print/attribute/standard/MediaTray;
private void syncColor();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
invokevirtual javafx.print.JobSettings.getPrintColor:()Ljavafx/print/PrintColor;
getstatic javafx.print.PrintColor.MONOCHROME:Ljavafx/print/PrintColor;
if_acmpne 3
1: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
getstatic javax.print.attribute.standard.Chromaticity.MONOCHROME:Ljavax/print/attribute/standard/Chromaticity;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
getstatic javax.print.attribute.standard.Chromaticity.COLOR:Ljavax/print/attribute/standard/Chromaticity;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
private void syncPrintQuality();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
invokevirtual javafx.print.JobSettings.getPrintQuality:()Ljavafx/print/PrintQuality;
astore 1
start local 1 1: aload 1
getstatic javafx.print.PrintQuality.DRAFT:Ljavafx/print/PrintQuality;
if_acmpne 4
2: getstatic javax.print.attribute.standard.PrintQuality.DRAFT:Ljavax/print/attribute/standard/PrintQuality;
astore 2
start local 2 3: goto 8
end local 2 StackMap locals: javafx.print.PrintQuality
StackMap stack:
4: aload 1
getstatic javafx.print.PrintQuality.HIGH:Ljavafx/print/PrintQuality;
if_acmpne 7
5: getstatic javax.print.attribute.standard.PrintQuality.HIGH:Ljavax/print/attribute/standard/PrintQuality;
astore 2
start local 2 6: goto 8
end local 2 7: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.PrintQuality.NORMAL:Ljavax/print/attribute/standard/PrintQuality;
astore 2
start local 2 8: StackMap locals: javax.print.attribute.standard.PrintQuality
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
aload 2
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
1 10 1 quality Ljavafx/print/PrintQuality;
3 4 2 j2DQuality Ljavax/print/attribute/standard/PrintQuality;
6 7 2 j2DQuality Ljavax/print/attribute/standard/PrintQuality;
8 10 2 j2DQuality Ljavax/print/attribute/standard/PrintQuality;
private void syncPrintResolution();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.pJob2D:Ljava/awt/print/PrinterJob;
invokevirtual java.awt.print.PrinterJob.getPrintService:()Ljavax/print/PrintService;
astore 1
start local 1 1: aload 1
ldc Ljavax/print/attribute/standard/PrinterResolution;
invokeinterface javax.print.PrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 4
2: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/PrinterResolution;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.remove:(Ljava/lang/Class;)Z
pop
3: return
4: StackMap locals: javax.print.PrintService
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/PrinterResolution;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.PrinterResolution
5: astore 2
start local 2 6: aload 2
ifnull 8
aload 1
aload 2
aconst_null
aconst_null
invokeinterface javax.print.PrintService.isAttributeValueSupported:(Ljavax/print/attribute/Attribute;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
ifne 8
7: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
ldc Ljavax/print/attribute/standard/PrinterResolution;
invokeinterface javax.print.attribute.PrintRequestAttributeSet.remove:(Ljava/lang/Class;)Z
pop
8: StackMap locals: javax.print.attribute.standard.PrinterResolution
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.settings:Ljavafx/print/JobSettings;
invokevirtual javafx.print.JobSettings.getPrintResolution:()Ljavafx/print/PrintResolution;
astore 3
start local 3 9: aload 3
ifnonnull 11
10: return
11: StackMap locals: javafx.print.PrintResolution
StackMap stack:
aload 3
invokevirtual javafx.print.PrintResolution.getCrossFeedResolution:()I
istore 4
start local 4 12: aload 3
invokevirtual javafx.print.PrintResolution.getFeedResolution:()I
istore 5
start local 5 13: new javax.print.attribute.standard.PrinterResolution
dup
iload 4
iload 5
bipush 100
invokespecial javax.print.attribute.standard.PrinterResolution.<init>:(III)V
astore 2
14: aload 1
aload 2
aconst_null
aconst_null
invokeinterface javax.print.PrintService.isAttributeValueSupported:(Ljavax/print/attribute/Attribute;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
ifne 16
15: return
16: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.printReqAttrSet:Ljavax/print/attribute/PrintRequestAttributeSet;
aload 2
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
17: return
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 18 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
1 18 1 ps Ljavax/print/PrintService;
6 18 2 pres Ljavax/print/attribute/standard/PrinterResolution;
9 18 3 res Ljavafx/print/PrintResolution;
12 18 4 cfRes I
13 18 5 fRes I
public javafx.print.PageLayout validatePageLayout(javafx.print.PageLayout);
descriptor: (Ljavafx/print/PageLayout;)Ljavafx/print/PageLayout;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.fxPrinter:Ljavafx/print/Printer;
invokevirtual javafx.print.Printer.getPrinterAttributes:()Ljavafx/print/PrinterAttributes;
astore 3
start local 3 2: aload 1
invokevirtual javafx.print.PageLayout.getPaper:()Ljavafx/print/Paper;
astore 4
start local 4 3: aload 3
invokevirtual javafx.print.PrinterAttributes.getSupportedPapers:()Ljava/util/Set;
aload 4
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 6
4: iconst_1
istore 2
5: aload 3
invokevirtual javafx.print.PrinterAttributes.getDefaultPaper:()Ljavafx/print/Paper;
astore 4
6: StackMap locals: int javafx.print.PrinterAttributes javafx.print.Paper
StackMap stack:
aload 1
invokevirtual javafx.print.PageLayout.getPageOrientation:()Ljavafx/print/PageOrientation;
astore 5
start local 5 7: aload 3
invokevirtual javafx.print.PrinterAttributes.getSupportedPageOrientations:()Ljava/util/Set;
aload 5
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 10
8: iconst_1
istore 2
9: aload 3
invokevirtual javafx.print.PrinterAttributes.getDefaultPageOrientation:()Ljavafx/print/PageOrientation;
astore 5
10: StackMap locals: javafx.print.PageOrientation
StackMap stack:
iload 2
ifeq 12
11: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.fxPrinter:Ljavafx/print/Printer;
aload 4
aload 5
getstatic javafx.print.Printer$MarginType.DEFAULT:Ljavafx/print/Printer$MarginType;
invokevirtual javafx.print.Printer.createPageLayout:(Ljavafx/print/Paper;Ljavafx/print/PageOrientation;Ljavafx/print/Printer$MarginType;)Ljavafx/print/PageLayout;
astore 1
12: StackMap locals:
StackMap stack:
aload 1
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 13 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
0 13 1 pageLayout Ljavafx/print/PageLayout;
1 13 2 needsNewLayout Z
2 13 3 caps Ljavafx/print/PrinterAttributes;
3 13 4 p Ljavafx/print/Paper;
7 13 5 o Ljavafx/print/PageOrientation;
MethodParameters:
Name Flags
pageLayout
private void checkPermissions();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.lang.SecurityManager.checkPrintJobAccess:()V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
1 4 1 security Ljava/lang/SecurityManager;
public boolean print(javafx.print.PageLayout, javafx.scene.Node);
descriptor: (Ljavafx/print/PageLayout;Ljavafx/scene/Node;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
invokevirtual com.sun.javafx.tk.Toolkit.isFxUserThread:()Z
ifeq 3
1: invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
invokevirtual com.sun.javafx.tk.Toolkit.canStartNestedEventLoop:()Z
ifne 3
2: new java.lang.IllegalStateException
dup
ldc "Printing is not allowed during animation or layout processing"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.jobError:Z
ifne 4
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.jobDone:Z
ifeq 5
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.jobRunning:Z
ifne 12
6: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.checkPermissions:()V
7: aload 0
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob.syncSettingsToAttributes:()V
8: new com.sun.prism.j2d.print.J2DPrinterJob$PrintJobRunnable
dup
aload 0
invokespecial com.sun.prism.j2d.print.J2DPrinterJob$PrintJobRunnable.<init>:(Lcom/sun/prism/j2d/print/J2DPrinterJob;)V
astore 3
start local 3 9: new java.lang.Thread
dup
aload 3
ldc "Print Job Thread"
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
astore 4
start local 4 10: aload 4
invokevirtual java.lang.Thread.start:()V
11: aload 0
iconst_1
putfield com.sun.prism.j2d.print.J2DPrinterJob.jobRunning:Z
end local 4 end local 3 12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.j2dPageable:Lcom/sun/prism/j2d/print/J2DPrinterJob$J2DPageable;
aload 1
aload 2
invokevirtual com.sun.prism.j2d.print.J2DPrinterJob$J2DPageable.implPrintPage:(Ljavafx/print/PageLayout;Ljavafx/scene/Node;)V
13: goto 20
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 3
start local 3 15: getstatic com.sun.prism.impl.PrismSettings.debug:Z
ifeq 18
16: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "printPage caught exception."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
17: aload 3
invokevirtual java.lang.Throwable.printStackTrace:()V
18: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
iconst_1
putfield com.sun.prism.j2d.print.J2DPrinterJob.jobError:Z
19: aload 0
iconst_1
putfield com.sun.prism.j2d.print.J2DPrinterJob.jobDone:Z
end local 3 20: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.jobError:Z
ifeq 21
iconst_0
goto 22
StackMap locals:
StackMap stack:
21: iconst_1
StackMap locals:
StackMap stack: int
22: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
0 23 1 pageLayout Ljavafx/print/PageLayout;
0 23 2 node Ljavafx/scene/Node;
9 12 3 runnable Lcom/sun/prism/j2d/print/J2DPrinterJob$PrintJobRunnable;
10 12 4 prtThread Ljava/lang/Thread;
15 20 3 t Ljava/lang/Throwable;
Exception table:
from to target type
12 13 14 Class java.lang.Throwable
MethodParameters:
Name Flags
pageLayout
node
public boolean endJob();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.jobRunning:Z
ifeq 12
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.jobDone:Z
ifne 12
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.jobError:Z
ifne 12
1: aload 0
iconst_1
putfield com.sun.prism.j2d.print.J2DPrinterJob.jobDone:Z
2: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.monitor:Ljava/lang/Object;
dup
astore 1
monitorenter
3: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.monitor:Ljava/lang/Object;
invokevirtual java.lang.Object.notify:()V
4: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.jobDone:Z
aload 1
monitorexit
5: ireturn
6: StackMap locals: com.sun.prism.j2d.print.J2DPrinterJob java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
7: athrow
8: StackMap locals: com.sun.prism.j2d.print.J2DPrinterJob
StackMap stack: java.lang.IllegalStateException
astore 1
start local 1 9: getstatic com.sun.prism.impl.PrismSettings.debug:Z
ifeq 14
10: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Internal Error "
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;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 1 11: goto 14
12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.jobDone:Z
ifeq 13
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.jobError:Z
ifne 13
iconst_1
ireturn
StackMap locals:
StackMap stack:
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.jobDone:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
9 11 1 e Ljava/lang/IllegalStateException;
Exception table:
from to target type
3 5 6 any
6 7 6 any
2 5 8 Class java.lang.IllegalStateException
6 8 8 Class java.lang.IllegalStateException
public void cancelJob();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.pJob2D:Ljava/awt/print/PrinterJob;
invokevirtual java.awt.print.PrinterJob.isCancelled:()Z
ifne 2
1: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.pJob2D:Ljava/awt/print/PrinterJob;
invokevirtual java.awt.print.PrinterJob.cancel:()V
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.prism.j2d.print.J2DPrinterJob.jobDone:Z
3: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.jobRunning:Z
ifeq 14
4: aload 0
iconst_0
putfield com.sun.prism.j2d.print.J2DPrinterJob.jobRunning:Z
5: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.monitor:Ljava/lang/Object;
dup
astore 1
monitorenter
6: aload 0
getfield com.sun.prism.j2d.print.J2DPrinterJob.monitor:Ljava/lang/Object;
invokevirtual java.lang.Object.notify:()V
7: aload 1
monitorexit
8: goto 14
StackMap locals: com.sun.prism.j2d.print.J2DPrinterJob java.lang.Object
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals: com.sun.prism.j2d.print.J2DPrinterJob
StackMap stack: java.lang.IllegalStateException
astore 1
start local 1 12: getstatic com.sun.prism.impl.PrismSettings.debug:Z
ifeq 14
13: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Internal Error "
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;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 1 14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/prism/j2d/print/J2DPrinterJob;
12 14 1 e Ljava/lang/IllegalStateException;
Exception table:
from to target type
6 8 9 any
9 10 9 any
5 11 11 Class java.lang.IllegalStateException
static int[] $SWITCH_TABLE$javafx$print$PageOrientation();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.prism.j2d.print.J2DPrinterJob.$SWITCH_TABLE$javafx$print$PageOrientation:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic javafx.print.PageOrientation.values:()[Ljavafx/print/PageOrientation;
arraylength
newarray 10
astore 0
2: aload 0
getstatic javafx.print.PageOrientation.LANDSCAPE:Ljavafx/print/PageOrientation;
invokevirtual javafx.print.PageOrientation.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic javafx.print.PageOrientation.PORTRAIT:Ljavafx/print/PageOrientation;
invokevirtual javafx.print.PageOrientation.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic javafx.print.PageOrientation.REVERSE_LANDSCAPE:Ljavafx/print/PageOrientation;
invokevirtual javafx.print.PageOrientation.ordinal:()I
iconst_4
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic javafx.print.PageOrientation.REVERSE_PORTRAIT:Ljavafx/print/PageOrientation;
invokevirtual javafx.print.PageOrientation.ordinal:()I
iconst_3
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic com.sun.prism.j2d.print.J2DPrinterJob.$SWITCH_TABLE$javafx$print$PageOrientation:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
private static java.lang.Void lambda$0();
descriptor: ()Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=0
0: ldc "prism_common"
astore 0
start local 0 1: getstatic com.sun.prism.impl.PrismSettings.verbose:Z
ifeq 3
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Loading Prism common native library ..."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokestatic com.sun.glass.utils.NativeLibLoader.loadLibrary:(Ljava/lang/String;)V
4: getstatic com.sun.prism.impl.PrismSettings.verbose:Z
ifeq 6
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "\tsucceeded."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 7 0 libName Ljava/lang/String;
private static javax.print.attribute.PrintRequestAttribute lambda$1(long);
descriptor: (J)Ljavax/print/attribute/PrintRequestAttribute;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=1
0: aconst_null
astore 2
start local 2 1: getstatic com.sun.prism.j2d.print.J2DPrinterJob.onTopClass:Ljava/lang/Class;
ifnonnull 4
2: ldc "javax.print.attribute.standard.DialogOwner"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
3: putstatic com.sun.prism.j2d.print.J2DPrinterJob.onTopClass:Ljava/lang/Class;
4: StackMap locals: javax.print.attribute.PrintRequestAttribute
StackMap stack:
lload 0
lconst_0
lcmp
ifne 8
5: getstatic com.sun.prism.j2d.print.J2DPrinterJob.onTopClass:Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 3
start local 3 6: aload 3
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.print.attribute.PrintRequestAttribute
astore 2
end local 3 7: goto 11
8: StackMap locals:
StackMap stack:
getstatic com.sun.prism.j2d.print.J2DPrinterJob.onTopClass:Ljava/lang/Class;
lload 0
invokestatic com.sun.prism.j2d.print.J2DPrinterJob.getAlwaysOnTop:(Ljava/lang/Class;J)Ljavax/print/attribute/PrintRequestAttribute;
astore 2
9: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
10: pop
11: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 LocalVariableTable:
Start End Slot Name Signature
1 12 2 alwaysOnTop Ljavax/print/attribute/PrintRequestAttribute;
6 7 3 cons Ljava/lang/reflect/Constructor<Ljavax/print/attribute/PrintRequestAttribute;>;
Exception table:
from to target type
1 9 10 Class java.lang.Throwable
private static void lambda$2(com.sun.javafx.tk.TKStage, boolean);
descriptor: (Lcom/sun/javafx/tk/TKStage;Z)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokeinterface com.sun.javafx.tk.TKStage.setEnabled:(Z)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "J2DPrinterJob.java"
NestMembers:
com.sun.prism.j2d.print.J2DPrinterJob$ClearSceneRunnable com.sun.prism.j2d.print.J2DPrinterJob$ExitLoopRunnable com.sun.prism.j2d.print.J2DPrinterJob$J2DPageable com.sun.prism.j2d.print.J2DPrinterJob$LayoutRunnable com.sun.prism.j2d.print.J2DPrinterJob$PageDialogRunnable com.sun.prism.j2d.print.J2DPrinterJob$PageInfo com.sun.prism.j2d.print.J2DPrinterJob$PrintDialogRunnable com.sun.prism.j2d.print.J2DPrinterJob$PrintJobRunnable
InnerClasses:
ClearSceneRunnable = com.sun.prism.j2d.print.J2DPrinterJob$ClearSceneRunnable of com.sun.prism.j2d.print.J2DPrinterJob
ExitLoopRunnable = com.sun.prism.j2d.print.J2DPrinterJob$ExitLoopRunnable of com.sun.prism.j2d.print.J2DPrinterJob
private J2DPageable = com.sun.prism.j2d.print.J2DPrinterJob$J2DPageable of com.sun.prism.j2d.print.J2DPrinterJob
LayoutRunnable = com.sun.prism.j2d.print.J2DPrinterJob$LayoutRunnable of com.sun.prism.j2d.print.J2DPrinterJob
private PageDialogRunnable = com.sun.prism.j2d.print.J2DPrinterJob$PageDialogRunnable of com.sun.prism.j2d.print.J2DPrinterJob
private PageInfo = com.sun.prism.j2d.print.J2DPrinterJob$PageInfo of com.sun.prism.j2d.print.J2DPrinterJob
private PrintDialogRunnable = com.sun.prism.j2d.print.J2DPrinterJob$PrintDialogRunnable of com.sun.prism.j2d.print.J2DPrinterJob
private PrintJobRunnable = com.sun.prism.j2d.print.J2DPrinterJob$PrintJobRunnable of com.sun.prism.j2d.print.J2DPrinterJob
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final MarginType = javafx.print.Printer$MarginType of javafx.print.Printer