public class sun.print.Win32PrintServiceLookup extends javax.print.PrintServiceLookup
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.print.Win32PrintServiceLookup
super_class: javax.print.PrintServiceLookup
{
private java.lang.String defaultPrinter;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private javax.print.PrintService defaultPrintService;
descriptor: Ljavax/print/PrintService;
flags: (0x0002) ACC_PRIVATE
private java.lang.String[] printers;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private javax.print.PrintService[] printServices;
descriptor: [Ljavax/print/PrintService;
flags: (0x0002) ACC_PRIVATE
private static sun.print.Win32PrintServiceLookup win32PrintLUS;
descriptor: Lsun/print/Win32PrintServiceLookup;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new sun.security.action.LoadLibraryAction
dup
ldc "awt"
invokespecial sun.security.action.LoadLibraryAction.<init>:(Ljava/lang/String;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
2: return
LocalVariableTable:
Start End Slot Name Signature
public static sun.print.Win32PrintServiceLookup getWin32PrintLUS();
descriptor: ()Lsun/print/Win32PrintServiceLookup;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.print.Win32PrintServiceLookup.win32PrintLUS:Lsun/print/Win32PrintServiceLookup;
ifnonnull 2
1: invokestatic javax.print.PrintServiceLookup.lookupDefaultPrintService:()Ljavax/print/PrintService;
pop
2: StackMap locals:
StackMap stack:
getstatic sun.print.Win32PrintServiceLookup.win32PrintLUS:Lsun/print/Win32PrintServiceLookup;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokespecial javax.print.PrintServiceLookup.<init>:()V
1: getstatic sun.print.Win32PrintServiceLookup.win32PrintLUS:Lsun/print/Win32PrintServiceLookup;
ifnonnull 10
2: aload 0
putstatic sun.print.Win32PrintServiceLookup.win32PrintLUS:Lsun/print/Win32PrintServiceLookup;
3: new sun.security.action.GetPropertyAction
dup
ldc "os.name"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
4: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 5: aload 1
ifnull 7
aload 1
ldc "Windows 98"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 7
6: return
7: StackMap locals: sun.print.Win32PrintServiceLookup java.lang.String
StackMap stack:
new sun.print.Win32PrintServiceLookup$PrinterChangeListener
dup
aload 0
invokespecial sun.print.Win32PrintServiceLookup$PrinterChangeListener.<init>:(Lsun/print/Win32PrintServiceLookup;)V
astore 2
start local 2 8: aload 2
iconst_1
invokevirtual sun.print.Win32PrintServiceLookup$PrinterChangeListener.setDaemon:(Z)V
9: aload 2
invokevirtual sun.print.Win32PrintServiceLookup$PrinterChangeListener.start:()V
end local 2 end local 1 10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/print/Win32PrintServiceLookup;
5 10 1 osName Ljava/lang/String;
8 10 2 thr Lsun/print/Win32PrintServiceLookup$PrinterChangeListener;
public synchronized javax.print.PrintService[] getPrintServices();
descriptor: ()[Ljavax/print/PrintService;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
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:
aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
ifnonnull 5
4: aload 0
invokevirtual sun.print.Win32PrintServiceLookup.refreshServices:()V
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/print/Win32PrintServiceLookup;
1 6 1 security Ljava/lang/SecurityManager;
private synchronized void refreshServices();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual sun.print.Win32PrintServiceLookup.getAllPrinterNames:()[Ljava/lang/String;
putfield sun.print.Win32PrintServiceLookup.printers:[Ljava/lang/String;
1: aload 0
getfield sun.print.Win32PrintServiceLookup.printers:[Ljava/lang/String;
ifnonnull 4
2: aload 0
iconst_0
anewarray javax.print.PrintService
putfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintServiceLookup.printers:[Ljava/lang/String;
arraylength
anewarray javax.print.PrintService
astore 1
start local 1 5: aload 0
invokevirtual sun.print.Win32PrintServiceLookup.getDefaultPrintService:()Ljavax/print/PrintService;
astore 2
start local 2 6: iconst_0
istore 3
start local 3 7: goto 27
8: StackMap locals: javax.print.PrintService[] javax.print.PrintService int
StackMap stack:
aload 2
ifnull 12
9: aload 0
getfield sun.print.Win32PrintServiceLookup.printers:[Ljava/lang/String;
iload 3
aaload
aload 2
invokeinterface javax.print.PrintService.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 1
iload 3
aload 2
aastore
11: goto 26
12: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
ifnonnull 15
13: aload 1
iload 3
new sun.print.Win32PrintService
dup
aload 0
getfield sun.print.Win32PrintServiceLookup.printers:[Ljava/lang/String;
iload 3
aaload
invokespecial sun.print.Win32PrintService.<init>:(Ljava/lang/String;)V
aastore
14: goto 26
15: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 16: goto 23
17: StackMap locals: int
StackMap stack:
aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
iload 4
aaload
ifnull 22
18: aload 0
getfield sun.print.Win32PrintServiceLookup.printers:[Ljava/lang/String;
iload 3
aaload
aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
iload 4
aaload
invokeinterface javax.print.PrintService.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
19: aload 1
iload 3
aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
iload 4
aaload
aastore
20: aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
iload 4
aconst_null
aastore
21: goto 24
22: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
23: iload 4
aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
arraylength
if_icmplt 17
24: StackMap locals:
StackMap stack:
iload 4
aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
arraylength
if_icmpne 26
25: aload 1
iload 3
new sun.print.Win32PrintService
dup
aload 0
getfield sun.print.Win32PrintServiceLookup.printers:[Ljava/lang/String;
iload 3
aaload
invokespecial sun.print.Win32PrintService.<init>:(Ljava/lang/String;)V
aastore
end local 4 26: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
27: iload 3
aload 0
getfield sun.print.Win32PrintServiceLookup.printers:[Ljava/lang/String;
arraylength
if_icmplt 8
end local 3 28: aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
ifnull 36
29: iconst_0
istore 3
start local 3 30: goto 35
31: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
iload 3
aaload
instanceof sun.print.Win32PrintService
ifeq 34
32: aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
iload 3
aaload
aload 0
getfield sun.print.Win32PrintServiceLookup.defaultPrintService:Ljavax/print/PrintService;
invokeinterface javax.print.PrintService.equals:(Ljava/lang/Object;)Z
ifne 34
33: aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
iload 3
aaload
checkcast sun.print.Win32PrintService
invokevirtual sun.print.Win32PrintService.invalidateService:()V
34: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
35: iload 3
aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
arraylength
if_icmplt 31
end local 3 36: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
37: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lsun/print/Win32PrintServiceLookup;
5 38 1 newServices [Ljavax/print/PrintService;
6 38 2 defService Ljavax/print/PrintService;
7 28 3 p I
16 26 4 j I
30 36 3 j I
public synchronized javax.print.PrintService getPrintServiceByName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/print/PrintService;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintServiceLookup.getPrintServices:()[Ljavax/print/PrintService;
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 8
5: StackMap locals: javax.print.PrintService[] int
StackMap stack:
aload 2
iload 3
aaload
invokeinterface javax.print.PrintService.getName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: aload 2
iload 3
aaload
areturn
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 2
arraylength
if_icmplt 5
end local 3 9: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/print/Win32PrintServiceLookup;
0 10 1 name Ljava/lang/String;
3 10 2 printServices [Ljavax/print/PrintService;
4 9 3 i I
MethodParameters:
Name Flags
name
boolean matchingService(javax.print.PrintService, javax.print.attribute.PrintServiceAttributeSet);
descriptor: (Ljavax/print/PrintService;Ljavax/print/attribute/PrintServiceAttributeSet;)Z
flags: (0x0000)
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 10
1: aload 2
invokeinterface javax.print.attribute.PrintServiceAttributeSet.toArray:()[Ljavax/print/attribute/Attribute;
astore 3
start local 3 2: iconst_0
istore 5
start local 5 3: goto 9
4: StackMap locals: sun.print.Win32PrintServiceLookup javax.print.PrintService javax.print.attribute.PrintServiceAttributeSet javax.print.attribute.Attribute[] top int
StackMap stack:
aload 1
aload 3
iload 5
aaload
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
invokeinterface javax.print.PrintService.getAttribute:(Ljava/lang/Class;)Ljavax/print/attribute/PrintServiceAttribute;
5: astore 4
start local 4 6: aload 4
ifnull 7
aload 4
aload 3
iload 5
aaload
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 8
7: StackMap locals: sun.print.Win32PrintServiceLookup javax.print.PrintService javax.print.attribute.PrintServiceAttributeSet javax.print.attribute.Attribute[] javax.print.attribute.Attribute int
StackMap stack:
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iinc 5 1
end local 4 StackMap locals: sun.print.Win32PrintServiceLookup javax.print.PrintService javax.print.attribute.PrintServiceAttributeSet javax.print.attribute.Attribute[] top int
StackMap stack:
9: iload 5
aload 3
arraylength
if_icmplt 4
end local 5 end local 3 10: StackMap locals: sun.print.Win32PrintServiceLookup javax.print.PrintService javax.print.attribute.PrintServiceAttributeSet
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/print/Win32PrintServiceLookup;
0 11 1 service Ljavax/print/PrintService;
0 11 2 serviceSet Ljavax/print/attribute/PrintServiceAttributeSet;
2 10 3 attrs [Ljavax/print/attribute/Attribute;
6 9 4 serviceAttr Ljavax/print/attribute/Attribute;
3 10 5 i I
MethodParameters:
Name Flags
service
serviceSet
public javax.print.PrintService[] getPrintServices(javax.print.DocFlavor, javax.print.attribute.AttributeSet);
descriptor: (Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)[Ljavax/print/PrintService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
invokevirtual java.lang.SecurityManager.checkPrintJobAccess:()V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aconst_null
astore 4
start local 4 4: aconst_null
astore 5
start local 5 5: aload 2
ifnull 18
aload 2
invokeinterface javax.print.attribute.AttributeSet.isEmpty:()Z
ifne 18
6: new javax.print.attribute.HashPrintRequestAttributeSet
dup
invokespecial javax.print.attribute.HashPrintRequestAttributeSet.<init>:()V
astore 4
7: new javax.print.attribute.HashPrintServiceAttributeSet
dup
invokespecial javax.print.attribute.HashPrintServiceAttributeSet.<init>:()V
astore 5
8: aload 2
invokeinterface javax.print.attribute.AttributeSet.toArray:()[Ljavax/print/attribute/Attribute;
astore 6
start local 6 9: iconst_0
istore 7
start local 7 10: goto 17
11: StackMap locals: sun.print.Win32PrintServiceLookup javax.print.DocFlavor javax.print.attribute.AttributeSet java.lang.SecurityManager javax.print.attribute.PrintRequestAttributeSet javax.print.attribute.PrintServiceAttributeSet javax.print.attribute.Attribute[] int
StackMap stack:
aload 6
iload 7
aaload
instanceof javax.print.attribute.PrintRequestAttribute
ifeq 14
12: aload 4
aload 6
iload 7
aaload
invokeinterface javax.print.attribute.PrintRequestAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
13: goto 16
StackMap locals:
StackMap stack:
14: aload 6
iload 7
aaload
instanceof javax.print.attribute.PrintServiceAttribute
ifeq 16
15: aload 5
aload 6
iload 7
aaload
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
16: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
17: iload 7
aload 6
arraylength
if_icmplt 11
end local 7 end local 6 18: StackMap locals:
StackMap stack:
aconst_null
astore 6
start local 6 19: aload 5
ifnull 28
aload 5
ldc Ljavax/print/attribute/standard/PrinterName;
invokeinterface javax.print.attribute.PrintServiceAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
ifnull 28
20: aload 5
ldc Ljavax/print/attribute/standard/PrinterName;
invokeinterface javax.print.attribute.PrintServiceAttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.PrinterName
astore 7
start local 7 21: aload 0
aload 7
invokevirtual javax.print.attribute.standard.PrinterName.getValue:()Ljava/lang/String;
invokevirtual sun.print.Win32PrintServiceLookup.getPrintServiceByName:(Ljava/lang/String;)Ljavax/print/PrintService;
astore 8
start local 8 22: aload 8
ifnull 23
aload 0
aload 8
aload 5
invokevirtual sun.print.Win32PrintServiceLookup.matchingService:(Ljavax/print/PrintService;Ljavax/print/attribute/PrintServiceAttributeSet;)Z
ifne 25
23: StackMap locals: javax.print.PrintService[] javax.print.attribute.standard.PrinterName javax.print.PrintService
StackMap stack:
iconst_0
anewarray javax.print.PrintService
astore 6
24: goto 29
25: StackMap locals:
StackMap stack:
iconst_1
anewarray javax.print.PrintService
astore 6
26: aload 6
iconst_0
aload 8
aastore
end local 8 end local 7 27: goto 29
28: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintServiceLookup.getPrintServices:()[Ljavax/print/PrintService;
astore 6
29: StackMap locals:
StackMap stack:
aload 6
arraylength
ifne 31
30: aload 6
areturn
31: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 32: iconst_0
istore 8
start local 8 33: goto 41
34: StackMap locals: java.util.ArrayList int
StackMap stack:
aload 6
iload 8
aaload
35: aload 1
aload 4
invokeinterface javax.print.PrintService.getUnsupportedAttributes:(Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljavax/print/attribute/AttributeSet;
36: ifnonnull 40
37: aload 7
aload 6
iload 8
aaload
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
38: goto 40
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
39: pop
40: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
41: iload 8
aload 6
arraylength
if_icmplt 34
end local 8 42: aload 7
invokevirtual java.util.ArrayList.size:()I
anewarray javax.print.PrintService
astore 6
43: aload 7
aload 6
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.print.PrintService[]
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Lsun/print/Win32PrintServiceLookup;
0 44 1 flavor Ljavax/print/DocFlavor;
0 44 2 attributes Ljavax/print/attribute/AttributeSet;
1 44 3 security Ljava/lang/SecurityManager;
4 44 4 requestSet Ljavax/print/attribute/PrintRequestAttributeSet;
5 44 5 serviceSet Ljavax/print/attribute/PrintServiceAttributeSet;
9 18 6 attrs [Ljavax/print/attribute/Attribute;
10 18 7 i I
19 44 6 services [Ljavax/print/PrintService;
21 27 7 name Ljavax/print/attribute/standard/PrinterName;
22 27 8 service Ljavax/print/PrintService;
32 44 7 matchingServices Ljava/util/ArrayList;
33 42 8 i I
Exception table:
from to target type
34 38 39 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
flavor
attributes
public javax.print.MultiDocPrintService[] getMultiDocPrintServices(javax.print.DocFlavor[], javax.print.attribute.AttributeSet);
descriptor: ([Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)[Ljavax/print/MultiDocPrintService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
invokevirtual java.lang.SecurityManager.checkPrintJobAccess:()V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
iconst_0
anewarray javax.print.MultiDocPrintService
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/print/Win32PrintServiceLookup;
0 4 1 flavors [Ljavax/print/DocFlavor;
0 4 2 attributes Ljavax/print/attribute/AttributeSet;
1 4 3 security Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
flavors
attributes
public synchronized javax.print.PrintService getDefaultPrintService();
descriptor: ()Ljavax/print/PrintService;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, 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:
aload 0
aload 0
invokevirtual sun.print.Win32PrintServiceLookup.getDefaultPrinterName:()Ljava/lang/String;
putfield sun.print.Win32PrintServiceLookup.defaultPrinter:Ljava/lang/String;
4: aload 0
getfield sun.print.Win32PrintServiceLookup.defaultPrinter:Ljava/lang/String;
ifnonnull 6
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintServiceLookup.defaultPrintService:Ljavax/print/PrintService;
ifnull 9
7: aload 0
getfield sun.print.Win32PrintServiceLookup.defaultPrintService:Ljavax/print/PrintService;
invokeinterface javax.print.PrintService.getName:()Ljava/lang/String;
aload 0
getfield sun.print.Win32PrintServiceLookup.defaultPrinter:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
8: aload 0
getfield sun.print.Win32PrintServiceLookup.defaultPrintService:Ljavax/print/PrintService;
areturn
9: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.print.Win32PrintServiceLookup.defaultPrintService:Ljavax/print/PrintService;
10: aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
ifnull 18
11: iconst_0
istore 2
start local 2 12: goto 17
13: StackMap locals: int
StackMap stack:
aload 0
getfield sun.print.Win32PrintServiceLookup.defaultPrinter:Ljava/lang/String;
aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
iload 2
aaload
invokeinterface javax.print.PrintService.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
14: aload 0
aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
iload 2
aaload
putfield sun.print.Win32PrintServiceLookup.defaultPrintService:Ljavax/print/PrintService;
15: goto 18
16: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
17: iload 2
aload 0
getfield sun.print.Win32PrintServiceLookup.printServices:[Ljavax/print/PrintService;
arraylength
if_icmplt 13
end local 2 18: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintServiceLookup.defaultPrintService:Ljavax/print/PrintService;
ifnonnull 20
19: aload 0
new sun.print.Win32PrintService
dup
aload 0
getfield sun.print.Win32PrintServiceLookup.defaultPrinter:Ljava/lang/String;
invokespecial sun.print.Win32PrintService.<init>:(Ljava/lang/String;)V
putfield sun.print.Win32PrintServiceLookup.defaultPrintService:Ljavax/print/PrintService;
20: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintServiceLookup.defaultPrintService:Ljavax/print/PrintService;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/print/Win32PrintServiceLookup;
1 21 1 security Ljava/lang/SecurityManager;
12 18 2 j I
private native java.lang.String getDefaultPrinterName();
descriptor: ()Ljava/lang/String;
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
private native java.lang.String[] getAllPrinterNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
private native long notifyFirstPrinterChange(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
printer
private native void notifyClosePrinterChange(long);
descriptor: (J)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
chgObj
private native int notifyPrinterChange(long);
descriptor: (J)I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
chgObj
}
SourceFile: "Win32PrintServiceLookup.java"
NestMembers:
sun.print.Win32PrintServiceLookup$PrinterChangeListener
InnerClasses:
PrinterChangeListener = sun.print.Win32PrintServiceLookup$PrinterChangeListener of sun.print.Win32PrintServiceLookup