public class sun.print.CUPSPrinter
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.print.CUPSPrinter
  super_class: java.lang.Object
{
  private static final java.lang.String debugPrefix;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "CUPSPrinter>> "

  private static final double PRINTER_DPI;
    descriptor: D
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 72.0

  private boolean initialized;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private javax.print.attribute.standard.MediaPrintableArea[] cupsMediaPrintables;
    descriptor: [Ljavax/print/attribute/standard/MediaPrintableArea;
    flags: (0x0002) ACC_PRIVATE

  private javax.print.attribute.standard.MediaSizeName[] cupsMediaSNames;
    descriptor: [Ljavax/print/attribute/standard/MediaSizeName;
    flags: (0x0002) ACC_PRIVATE

  private sun.print.CustomMediaSizeName[] cupsCustomMediaSNames;
    descriptor: [Lsun/print/CustomMediaSizeName;
    flags: (0x0002) ACC_PRIVATE

  private javax.print.attribute.standard.MediaTray[] cupsMediaTrays;
    descriptor: [Ljavax/print/attribute/standard/MediaTray;
    flags: (0x0002) ACC_PRIVATE

  public int nPageSizes;
    descriptor: I
    flags: (0x0001) ACC_PUBLIC

  public int nTrays;
    descriptor: I
    flags: (0x0001) ACC_PUBLIC

  private java.lang.String[] media;
    descriptor: [Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private float[] pageSizes;
    descriptor: [F
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String printer;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private static boolean libFound;
    descriptor: Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private static java.lang.String cupsServer;
    descriptor: Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private static int cupsPort;
    descriptor: I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 48
            ldc Lsun/print/CUPSPrinter;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic sun.print.CUPSPrinter.$assertionsDisabled:Z
         3: .line 74
            aconst_null
            putstatic sun.print.CUPSPrinter.cupsServer:Ljava/lang/String;
         4: .line 75
            iconst_0
            putstatic sun.print.CUPSPrinter.cupsPort:I
         5: .line 80
            new sun.security.action.LoadLibraryAction
            dup
            ldc "awt"
            invokespecial sun.security.action.LoadLibraryAction.<init>:(Ljava/lang/String;)V
         6: .line 79
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            pop
         7: .line 81
            invokestatic sun.print.CUPSPrinter.initIDs:()Z
            putstatic sun.print.CUPSPrinter.libFound:Z
         8: .line 82
            getstatic sun.print.CUPSPrinter.libFound:Z
            ifeq 11
         9: .line 83
            invokestatic sun.print.CUPSPrinter.getCupsServer:()Ljava/lang/String;
            putstatic sun.print.CUPSPrinter.cupsServer:Ljava/lang/String;
        10: .line 84
            invokestatic sun.print.CUPSPrinter.getCupsPort:()I
            putstatic sun.print.CUPSPrinter.cupsPort:I
        11: .line 86
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static native java.lang.String getCupsServer();
    descriptor: ()Ljava/lang/String;
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE

  private static native int getCupsPort();
    descriptor: ()I
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE

  private static native boolean canConnect(java.lang.String, int);
    descriptor: (Ljava/lang/String;I)Z
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    MethodParameters:
        Name  Flags
      server  
      port    

  private static native boolean initIDs();
    descriptor: ()Z
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE

  private static synchronized native java.lang.String[] getMedia(java.lang.String);
    descriptor: (Ljava/lang/String;)[Ljava/lang/String;
    flags: (0x012a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED, ACC_NATIVE
    MethodParameters:
         Name  Flags
      printer  

  private static synchronized native float[] getPageSizes(java.lang.String);
    descriptor: (Ljava/lang/String;)[F
    flags: (0x012a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED, ACC_NATIVE
    MethodParameters:
         Name  Flags
      printer  

  void <init>(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // sun.print.CUPSPrinter this
        start local 1 // java.lang.String printerName
         0: .line 89
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 67
            aload 0 /* this */
            iconst_0
            putfield sun.print.CUPSPrinter.nPageSizes:I
         2: .line 68
            aload 0 /* this */
            iconst_0
            putfield sun.print.CUPSPrinter.nTrays:I
         3: .line 90
            aload 1 /* printerName */
            ifnonnull 5
         4: .line 91
            new java.lang.IllegalArgumentException
            dup
            ldc "null printer name"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 93
      StackMap locals: sun.print.CUPSPrinter java.lang.String
      StackMap stack:
            aload 0 /* this */
            aload 1 /* printerName */
            putfield sun.print.CUPSPrinter.printer:Ljava/lang/String;
         6: .line 94
            aload 0 /* this */
            aconst_null
            putfield sun.print.CUPSPrinter.cupsMediaSNames:[Ljavax/print/attribute/standard/MediaSizeName;
         7: .line 95
            aload 0 /* this */
            aconst_null
            putfield sun.print.CUPSPrinter.cupsMediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
         8: .line 96
            aload 0 /* this */
            aconst_null
            putfield sun.print.CUPSPrinter.cupsMediaTrays:[Ljavax/print/attribute/standard/MediaTray;
         9: .line 97
            aload 0 /* this */
            iconst_0
            putfield sun.print.CUPSPrinter.initialized:Z
        10: .line 99
            getstatic sun.print.CUPSPrinter.libFound:Z
            ifne 12
        11: .line 100
            new java.lang.RuntimeException
            dup
            ldc "cups lib not found"
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        12: .line 103
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.printer:Ljava/lang/String;
            invokestatic sun.print.CUPSPrinter.getMedia:(Ljava/lang/String;)[Ljava/lang/String;
            putfield sun.print.CUPSPrinter.media:[Ljava/lang/String;
        13: .line 104
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.media:[Ljava/lang/String;
            ifnonnull 15
        14: .line 106
            new java.lang.RuntimeException
            dup
            ldc "error getting PPD"
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        15: .line 110
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.printer:Ljava/lang/String;
            invokestatic sun.print.CUPSPrinter.getPageSizes:(Ljava/lang/String;)[F
            putfield sun.print.CUPSPrinter.pageSizes:[F
        16: .line 111
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.pageSizes:[F
            ifnull 20
        17: .line 112
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.pageSizes:[F
            arraylength
            bipush 6
            idiv
            putfield sun.print.CUPSPrinter.nPageSizes:I
        18: .line 114
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.media:[Ljava/lang/String;
            arraylength
            iconst_2
            idiv
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.nPageSizes:I
            isub
            putfield sun.print.CUPSPrinter.nTrays:I
        19: .line 115
            getstatic sun.print.CUPSPrinter.$assertionsDisabled:Z
            ifne 20
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.nTrays:I
            ifge 20
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        20: .line 118
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.String printerName
        end local 0 // sun.print.CUPSPrinter this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   21     0         this  Lsun/print/CUPSPrinter;
            0   21     1  printerName  Ljava/lang/String;
    MethodParameters:
             Name  Flags
      printerName  

  javax.print.attribute.standard.MediaSizeName[] getMediaSizeNames();
    descriptor: ()[Ljavax/print/attribute/standard/MediaSizeName;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.print.CUPSPrinter this
         0: .line 125
            aload 0 /* this */
            invokevirtual sun.print.CUPSPrinter.initMedia:()V
         1: .line 126
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.cupsMediaSNames:[Ljavax/print/attribute/standard/MediaSizeName;
            areturn
        end local 0 // sun.print.CUPSPrinter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/print/CUPSPrinter;

  sun.print.CustomMediaSizeName[] getCustomMediaSizeNames();
    descriptor: ()[Lsun/print/CustomMediaSizeName;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.print.CUPSPrinter this
         0: .line 134
            aload 0 /* this */
            invokevirtual sun.print.CUPSPrinter.initMedia:()V
         1: .line 135
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.cupsCustomMediaSNames:[Lsun/print/CustomMediaSizeName;
            areturn
        end local 0 // sun.print.CUPSPrinter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/print/CUPSPrinter;

  javax.print.attribute.standard.MediaPrintableArea[] getMediaPrintableArea();
    descriptor: ()[Ljavax/print/attribute/standard/MediaPrintableArea;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.print.CUPSPrinter this
         0: .line 143
            aload 0 /* this */
            invokevirtual sun.print.CUPSPrinter.initMedia:()V
         1: .line 144
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.cupsMediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
            areturn
        end local 0 // sun.print.CUPSPrinter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/print/CUPSPrinter;

  javax.print.attribute.standard.MediaTray[] getMediaTrays();
    descriptor: ()[Ljavax/print/attribute/standard/MediaTray;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.print.CUPSPrinter this
         0: .line 151
            aload 0 /* this */
            invokevirtual sun.print.CUPSPrinter.initMedia:()V
         1: .line 152
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.cupsMediaTrays:[Ljavax/print/attribute/standard/MediaTray;
            areturn
        end local 0 // sun.print.CUPSPrinter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/print/CUPSPrinter;

  private synchronized void initMedia();
    descriptor: ()V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=7, locals=11, args_size=1
        start local 0 // sun.print.CUPSPrinter this
         0: .line 160
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.initialized:Z
            ifeq 2
         1: .line 161
            return
         2: .line 163
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield sun.print.CUPSPrinter.initialized:Z
         3: .line 166
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.pageSizes:[F
            ifnonnull 5
         4: .line 167
            return
         5: .line 170
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.nPageSizes:I
            anewarray javax.print.attribute.standard.MediaPrintableArea
            putfield sun.print.CUPSPrinter.cupsMediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
         6: .line 171
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.nPageSizes:I
            anewarray javax.print.attribute.standard.MediaSizeName
            putfield sun.print.CUPSPrinter.cupsMediaSNames:[Ljavax/print/attribute/standard/MediaSizeName;
         7: .line 172
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.nPageSizes:I
            anewarray sun.print.CustomMediaSizeName
            putfield sun.print.CUPSPrinter.cupsCustomMediaSNames:[Lsun/print/CustomMediaSizeName;
         8: .line 179
            iconst_0
            istore 9 /* i */
        start local 9 // int i
         9: goto 38
        10: .line 181
      StackMap locals: sun.print.CUPSPrinter top top top top top top top top int
      StackMap stack:
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.pageSizes:[F
            iload 9 /* i */
            bipush 6
            imul
            faload
            f2d
            ldc 72.0
            ddiv
            d2f
            fstore 4 /* width */
        start local 4 // float width
        11: .line 182
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.pageSizes:[F
            iload 9 /* i */
            bipush 6
            imul
            iconst_1
            iadd
            faload
            f2d
            ldc 72.0
            ddiv
            d2f
            fstore 3 /* length */
        start local 3 // float length
        12: .line 184
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.pageSizes:[F
            iload 9 /* i */
            bipush 6
            imul
            iconst_2
            iadd
            faload
            f2d
            ldc 72.0
            ddiv
            d2f
            fstore 5 /* x */
        start local 5 // float x
        13: .line 185
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.pageSizes:[F
            iload 9 /* i */
            bipush 6
            imul
            iconst_3
            iadd
            faload
            f2d
            ldc 72.0
            ddiv
            d2f
            fstore 8 /* h */
        start local 8 // float h
        14: .line 186
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.pageSizes:[F
            iload 9 /* i */
            bipush 6
            imul
            iconst_4
            iadd
            faload
            f2d
            ldc 72.0
            ddiv
            d2f
            fstore 7 /* w */
        start local 7 // float w
        15: .line 187
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.pageSizes:[F
            iload 9 /* i */
            bipush 6
            imul
            iconst_5
            iadd
            faload
            f2d
            ldc 72.0
            ddiv
            d2f
            fstore 6 /* y */
        start local 6 // float y
        16: .line 189
            new sun.print.CustomMediaSizeName
            dup
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.media:[Ljava/lang/String;
            iload 9 /* i */
            iconst_2
            imul
            aaload
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.media:[Ljava/lang/String;
            iload 9 /* i */
            iconst_2
            imul
            iconst_1
            iadd
            aaload
        17: .line 190
            fload 4 /* width */
            fload 3 /* length */
        18: .line 189
            invokespecial sun.print.CustomMediaSizeName.<init>:(Ljava/lang/String;Ljava/lang/String;FF)V
            astore 1 /* msn */
        start local 1 // sun.print.CustomMediaSizeName msn
        19: .line 193
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.cupsMediaSNames:[Ljavax/print/attribute/standard/MediaSizeName;
            iload 9 /* i */
            aload 1 /* msn */
            invokevirtual sun.print.CustomMediaSizeName.getStandardMedia:()Ljavax/print/attribute/standard/MediaSizeName;
            dup_x2
            aastore
            ifnonnull 25
        20: .line 195
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.cupsMediaSNames:[Ljavax/print/attribute/standard/MediaSizeName;
            iload 9 /* i */
            aload 1 /* msn */
            aastore
        21: .line 198
            fload 4 /* width */
            f2d
            dconst_0
            dcmpl
            ifle 25
            fload 3 /* length */
            f2d
            dconst_0
            dcmpl
            ifle 25
        22: .line 199
            new javax.print.attribute.standard.MediaSize
            fload 4 /* width */
            fload 3 /* length */
        23: .line 200
            sipush 25400
            aload 1 /* msn */
        24: .line 199
            invokespecial javax.print.attribute.standard.MediaSize.<init>:(FFILjavax/print/attribute/standard/MediaSizeName;)V
        25: .line 206
      StackMap locals: sun.print.CUPSPrinter sun.print.CustomMediaSizeName top float float float float float float int
      StackMap stack:
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.cupsCustomMediaSNames:[Lsun/print/CustomMediaSizeName;
            iload 9 /* i */
            aload 1 /* msn */
            aastore
        26: .line 208
            aconst_null
            astore 2 /* mpa */
        start local 2 // javax.print.attribute.standard.MediaPrintableArea mpa
        27: .line 210
            new javax.print.attribute.standard.MediaPrintableArea
            dup
            fload 5 /* x */
            fload 6 /* y */
            fload 7 /* w */
            fload 8 /* h */
        28: .line 211
            sipush 25400
        29: .line 210
            invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
            astore 2 /* mpa */
        30: .line 212
            goto 36
      StackMap locals: sun.print.CUPSPrinter sun.print.CustomMediaSizeName javax.print.attribute.standard.MediaPrintableArea float float float float float float int
      StackMap stack: java.lang.IllegalArgumentException
        31: pop
        32: .line 213
            fload 4 /* width */
            fconst_0
            fcmpl
            ifle 36
            fload 3 /* length */
            fconst_0
            fcmpl
            ifle 36
        33: .line 214
            new javax.print.attribute.standard.MediaPrintableArea
            dup
            fconst_0
            fconst_0
            fload 4 /* width */
            fload 3 /* length */
        34: .line 215
            sipush 25400
        35: .line 214
            invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
            astore 2 /* mpa */
        36: .line 218
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.cupsMediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
            iload 9 /* i */
            aload 2 /* mpa */
            aastore
        37: .line 179
            iinc 9 /* i */ 1
        end local 8 // float h
        end local 7 // float w
        end local 6 // float y
        end local 5 // float x
        end local 4 // float width
        end local 3 // float length
        end local 2 // javax.print.attribute.standard.MediaPrintableArea mpa
        end local 1 // sun.print.CustomMediaSizeName msn
      StackMap locals: sun.print.CUPSPrinter top top top top top top top top int
      StackMap stack:
        38: iload 9 /* i */
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.nPageSizes:I
            if_icmplt 10
        end local 9 // int i
        39: .line 222
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.nTrays:I
            anewarray javax.print.attribute.standard.MediaTray
            putfield sun.print.CUPSPrinter.cupsMediaTrays:[Ljavax/print/attribute/standard/MediaTray;
        40: .line 225
            iconst_0
            istore 10 /* i */
        start local 10 // int i
        41: goto 47
        42: .line 226
      StackMap locals: sun.print.CUPSPrinter top top top top top top top top top int
      StackMap stack:
            new sun.print.CustomMediaTray
            dup
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.media:[Ljava/lang/String;
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.nPageSizes:I
            iload 10 /* i */
            iadd
            iconst_2
            imul
            aaload
        43: .line 227
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.media:[Ljava/lang/String;
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.nPageSizes:I
            iload 10 /* i */
            iadd
            iconst_2
            imul
            iconst_1
            iadd
            aaload
        44: .line 226
            invokespecial sun.print.CustomMediaTray.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            astore 9 /* mt */
        start local 9 // javax.print.attribute.standard.MediaTray mt
        45: .line 228
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.cupsMediaTrays:[Ljavax/print/attribute/standard/MediaTray;
            iload 10 /* i */
            aload 9 /* mt */
            aastore
        46: .line 225
            iinc 10 /* i */ 1
        end local 9 // javax.print.attribute.standard.MediaTray mt
      StackMap locals:
      StackMap stack:
        47: iload 10 /* i */
            aload 0 /* this */
            getfield sun.print.CUPSPrinter.nTrays:I
            if_icmplt 42
        end local 10 // int i
        48: .line 231
            return
        end local 0 // sun.print.CUPSPrinter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   49     0    this  Lsun/print/CUPSPrinter;
           19   38     1     msn  Lsun/print/CustomMediaSizeName;
           27   38     2     mpa  Ljavax/print/attribute/standard/MediaPrintableArea;
           12   38     3  length  F
           11   38     4   width  F
           13   38     5       x  F
           16   38     6       y  F
           15   38     7       w  F
           14   38     8       h  F
            9   39     9       i  I
           45   47     9      mt  Ljavax/print/attribute/standard/MediaTray;
           41   48    10       i  I
      Exception table:
        from    to  target  type
          27    30      31  Class java.lang.IllegalArgumentException

  public static java.lang.String getDefaultPrinter();
    descriptor: ()Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=8, locals=9, args_size=0
         0: .line 238
            new java.net.URL
            dup
            ldc "http"
            invokestatic sun.print.CUPSPrinter.getServer:()Ljava/lang/String;
            invokestatic sun.print.CUPSPrinter.getPort:()I
            ldc ""
            invokespecial java.net.URL.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
            astore 0 /* url */
        start local 0 // java.net.URL url
         1: .line 240
            aload 0 /* url */
            invokestatic sun.print.IPPPrintService.getIPPConnection:(Ljava/net/URL;)Ljava/net/HttpURLConnection;
         2: .line 239
            astore 1 /* urlConnection */
        start local 1 // java.net.HttpURLConnection urlConnection
         3: .line 242
            aload 1 /* urlConnection */
            ifnull 47
         4: .line 244
            new sun.print.CUPSPrinter$1
            dup
            aload 1 /* urlConnection */
            invokespecial sun.print.CUPSPrinter$1.<init>:(Ljava/net/HttpURLConnection;)V
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            checkcast java.io.OutputStream
         5: .line 243
            astore 2 /* os */
        start local 2 // java.io.OutputStream os
         6: .line 254
            aload 2 /* os */
            ifnonnull 8
         7: .line 255
            aconst_null
            areturn
         8: .line 258
      StackMap locals: java.net.URL java.net.HttpURLConnection java.io.OutputStream
      StackMap stack:
            iconst_3
            anewarray sun.print.AttributeClass
            dup
            iconst_0
         9: .line 259
            getstatic sun.print.AttributeClass.ATTRIBUTES_CHARSET:Lsun/print/AttributeClass;
            aastore
            dup
            iconst_1
        10: .line 260
            getstatic sun.print.AttributeClass.ATTRIBUTES_NATURAL_LANGUAGE:Lsun/print/AttributeClass;
            aastore
            dup
            iconst_2
        11: .line 261
            new sun.print.AttributeClass
            dup
            ldc "requested-attributes"
        12: .line 262
            bipush 68
        13: .line 263
            ldc "printer-name"
        14: .line 261
            invokespecial sun.print.AttributeClass.<init>:(Ljava/lang/String;ILjava/lang/Object;)V
            aastore
        15: .line 258
            astore 3 /* attCl */
        start local 3 // sun.print.AttributeClass[] attCl
        16: .line 266
            aload 2 /* os */
        17: .line 267
            ldc "4001"
        18: .line 268
            aload 3 /* attCl */
        19: .line 266
            invokestatic sun.print.IPPPrintService.writeIPPRequest:(Ljava/io/OutputStream;Ljava/lang/String;[Lsun/print/AttributeClass;)Z
        20: .line 268
            ifeq 43
        21: .line 270
            aconst_null
            astore 4 /* defaultMap */
        start local 4 // java.util.HashMap defaultMap
        22: .line 271
            aload 1 /* urlConnection */
            invokevirtual java.net.HttpURLConnection.getInputStream:()Ljava/io/InputStream;
            astore 5 /* is */
        start local 5 // java.io.InputStream is
        23: .line 273
            aload 5 /* is */
        24: .line 272
            invokestatic sun.print.IPPPrintService.readIPPResponse:(Ljava/io/InputStream;)[Ljava/util/HashMap;
            astore 6 /* responseMap */
        start local 6 // java.util.HashMap[] responseMap
        25: .line 274
            aload 5 /* is */
            invokevirtual java.io.InputStream.close:()V
        26: .line 276
            aload 6 /* responseMap */
            ifnull 28
            aload 6 /* responseMap */
            arraylength
            ifle 28
        27: .line 277
            aload 6 /* responseMap */
            iconst_0
            aaload
            astore 4 /* defaultMap */
        28: .line 280
      StackMap locals: java.net.URL java.net.HttpURLConnection java.io.OutputStream sun.print.AttributeClass[] java.util.HashMap java.io.InputStream java.util.HashMap[]
      StackMap stack:
            aload 4 /* defaultMap */
            ifnonnull 35
        29: .line 281
            aload 2 /* os */
            invokevirtual java.io.OutputStream.close:()V
        30: .line 282
            aload 1 /* urlConnection */
            invokevirtual java.net.HttpURLConnection.disconnect:()V
        31: .line 290
            invokestatic sun.print.UnixPrintServiceLookup.isMac:()Z
            ifeq 34
        32: .line 292
            invokestatic sun.print.UnixPrintServiceLookup.getDefaultPrinterNameSysV:()Ljava/lang/String;
        33: .line 291
            areturn
        34: .line 294
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        35: .line 299
      StackMap locals:
      StackMap stack:
            aload 4 /* defaultMap */
            ldc "printer-name"
            invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast sun.print.AttributeClass
        36: .line 298
            astore 7 /* attribClass */
        start local 7 // sun.print.AttributeClass attribClass
        37: .line 301
            aload 7 /* attribClass */
            ifnull 43
        38: .line 302
            aload 7 /* attribClass */
            invokevirtual sun.print.AttributeClass.getStringValue:()Ljava/lang/String;
            astore 8 /* nameStr */
        start local 8 // java.lang.String nameStr
        39: .line 303
            aload 2 /* os */
            invokevirtual java.io.OutputStream.close:()V
        40: .line 304
            aload 1 /* urlConnection */
            invokevirtual java.net.HttpURLConnection.disconnect:()V
        41: .line 305
            aload 8 /* nameStr */
        42: areturn
        end local 8 // java.lang.String nameStr
        end local 7 // sun.print.AttributeClass attribClass
        end local 6 // java.util.HashMap[] responseMap
        end local 5 // java.io.InputStream is
        end local 4 // java.util.HashMap defaultMap
        43: .line 308
      StackMap locals:
      StackMap stack:
            aload 2 /* os */
            invokevirtual java.io.OutputStream.close:()V
        44: .line 309
            aload 1 /* urlConnection */
            invokevirtual java.net.HttpURLConnection.disconnect:()V
        end local 3 // sun.print.AttributeClass[] attCl
        end local 2 // java.io.OutputStream os
        end local 1 // java.net.HttpURLConnection urlConnection
        end local 0 // java.net.URL url
        45: .line 311
            goto 47
      StackMap locals:
      StackMap stack: java.lang.Exception
        46: pop
        47: .line 313
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            1   45     0            url  Ljava/net/URL;
            3   45     1  urlConnection  Ljava/net/HttpURLConnection;
            6   45     2             os  Ljava/io/OutputStream;
           16   45     3          attCl  [Lsun/print/AttributeClass;
           22   43     4     defaultMap  Ljava/util/HashMap;
           23   43     5             is  Ljava/io/InputStream;
           25   43     6    responseMap  [Ljava/util/HashMap;
           37   43     7    attribClass  Lsun/print/AttributeClass;
           39   43     8        nameStr  Ljava/lang/String;
      Exception table:
        from    to  target  type
           0     7      46  Class java.lang.Exception
           8    33      46  Class java.lang.Exception
          35    42      46  Class java.lang.Exception
          43    45      46  Class java.lang.Exception

  public static java.lang.String[] getAllPrinters();
    descriptor: ()[Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=8, locals=10, args_size=0
         0: .line 322
            new java.net.URL
            dup
            ldc "http"
            invokestatic sun.print.CUPSPrinter.getServer:()Ljava/lang/String;
            invokestatic sun.print.CUPSPrinter.getPort:()I
            ldc ""
            invokespecial java.net.URL.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
            astore 0 /* url */
        start local 0 // java.net.URL url
         1: .line 325
            aload 0 /* url */
            invokestatic sun.print.IPPPrintService.getIPPConnection:(Ljava/net/URL;)Ljava/net/HttpURLConnection;
         2: .line 324
            astore 1 /* urlConnection */
        start local 1 // java.net.HttpURLConnection urlConnection
         3: .line 327
            aload 1 /* urlConnection */
            ifnull 44
         4: .line 329
            new sun.print.CUPSPrinter$2
            dup
            aload 1 /* urlConnection */
            invokespecial sun.print.CUPSPrinter$2.<init>:(Ljava/net/HttpURLConnection;)V
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            checkcast java.io.OutputStream
         5: .line 328
            astore 2 /* os */
        start local 2 // java.io.OutputStream os
         6: .line 339
            aload 2 /* os */
            ifnonnull 8
         7: .line 340
            aconst_null
            areturn
         8: .line 343
      StackMap locals: java.net.URL java.net.HttpURLConnection java.io.OutputStream
      StackMap stack:
            iconst_3
            anewarray sun.print.AttributeClass
            dup
            iconst_0
         9: .line 344
            getstatic sun.print.AttributeClass.ATTRIBUTES_CHARSET:Lsun/print/AttributeClass;
            aastore
            dup
            iconst_1
        10: .line 345
            getstatic sun.print.AttributeClass.ATTRIBUTES_NATURAL_LANGUAGE:Lsun/print/AttributeClass;
            aastore
            dup
            iconst_2
        11: .line 346
            new sun.print.AttributeClass
            dup
            ldc "requested-attributes"
        12: .line 347
            bipush 68
        13: .line 348
            ldc "printer-uri-supported"
        14: .line 346
            invokespecial sun.print.AttributeClass.<init>:(Ljava/lang/String;ILjava/lang/Object;)V
            aastore
        15: .line 343
            astore 3 /* attCl */
        start local 3 // sun.print.AttributeClass[] attCl
        16: .line 351
            aload 2 /* os */
        17: .line 352
            ldc "4002"
            aload 3 /* attCl */
        18: .line 351
            invokestatic sun.print.IPPPrintService.writeIPPRequest:(Ljava/io/OutputStream;Ljava/lang/String;[Lsun/print/AttributeClass;)Z
        19: .line 352
            ifeq 40
        20: .line 354
            aload 1 /* urlConnection */
            invokevirtual java.net.HttpURLConnection.getInputStream:()Ljava/io/InputStream;
            astore 4 /* is */
        start local 4 // java.io.InputStream is
        21: .line 356
            aload 4 /* is */
            invokestatic sun.print.IPPPrintService.readIPPResponse:(Ljava/io/InputStream;)[Ljava/util/HashMap;
        22: .line 355
            astore 5 /* responseMap */
        start local 5 // java.util.HashMap[] responseMap
        23: .line 358
            aload 4 /* is */
            invokevirtual java.io.InputStream.close:()V
        24: .line 359
            aload 2 /* os */
            invokevirtual java.io.OutputStream.close:()V
        25: .line 360
            aload 1 /* urlConnection */
            invokevirtual java.net.HttpURLConnection.disconnect:()V
        26: .line 362
            aload 5 /* responseMap */
            ifnull 27
            aload 5 /* responseMap */
            arraylength
            ifne 28
        27: .line 363
      StackMap locals: sun.print.AttributeClass[] java.io.InputStream java.util.HashMap[]
      StackMap stack:
            aconst_null
            areturn
        28: .line 366
      StackMap locals:
      StackMap stack:
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 6 /* printerNames */
        start local 6 // java.util.ArrayList printerNames
        29: .line 367
            iconst_0
            istore 7 /* i */
        start local 7 // int i
        30: goto 37
        31: .line 369
      StackMap locals: java.util.ArrayList int
      StackMap stack:
            aload 5 /* responseMap */
            iload 7 /* i */
            aaload
            ldc "printer-uri-supported"
            invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast sun.print.AttributeClass
        32: .line 368
            astore 8 /* attribClass */
        start local 8 // sun.print.AttributeClass attribClass
        33: .line 371
            aload 8 /* attribClass */
            ifnull 36
        34: .line 372
            aload 8 /* attribClass */
            invokevirtual sun.print.AttributeClass.getStringValue:()Ljava/lang/String;
            astore 9 /* nameStr */
        start local 9 // java.lang.String nameStr
        35: .line 373
            aload 6 /* printerNames */
            aload 9 /* nameStr */
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        end local 9 // java.lang.String nameStr
        end local 8 // sun.print.AttributeClass attribClass
        36: .line 367
      StackMap locals:
      StackMap stack:
            iinc 7 /* i */ 1
      StackMap locals:
      StackMap stack:
        37: iload 7 /* i */
            aload 5 /* responseMap */
            arraylength
            if_icmplt 31
        end local 7 // int i
        38: .line 376
            aload 6 /* printerNames */
            iconst_0
            anewarray java.lang.String
            invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast java.lang.String[]
        39: areturn
        end local 6 // java.util.ArrayList printerNames
        end local 5 // java.util.HashMap[] responseMap
        end local 4 // java.io.InputStream is
        40: .line 378
      StackMap locals: java.net.URL java.net.HttpURLConnection java.io.OutputStream sun.print.AttributeClass[]
      StackMap stack:
            aload 2 /* os */
            invokevirtual java.io.OutputStream.close:()V
        41: .line 379
            aload 1 /* urlConnection */
            invokevirtual java.net.HttpURLConnection.disconnect:()V
        end local 3 // sun.print.AttributeClass[] attCl
        end local 2 // java.io.OutputStream os
        end local 1 // java.net.HttpURLConnection urlConnection
        end local 0 // java.net.URL url
        42: .line 383
            goto 44
      StackMap locals:
      StackMap stack: java.lang.Exception
        43: pop
        44: .line 385
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            1   42     0            url  Ljava/net/URL;
            3   42     1  urlConnection  Ljava/net/HttpURLConnection;
            6   42     2             os  Ljava/io/OutputStream;
           16   42     3          attCl  [Lsun/print/AttributeClass;
           21   40     4             is  Ljava/io/InputStream;
           23   40     5    responseMap  [Ljava/util/HashMap;
           29   40     6   printerNames  Ljava/util/ArrayList;
           30   38     7              i  I
           33   36     8    attribClass  Lsun/print/AttributeClass;
           35   36     9        nameStr  Ljava/lang/String;
      Exception table:
        from    to  target  type
           0     7      43  Class java.lang.Exception
           8    27      43  Class java.lang.Exception
          28    39      43  Class java.lang.Exception
          40    42      43  Class java.lang.Exception

  public static java.lang.String getServer();
    descriptor: ()Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 393
            getstatic sun.print.CUPSPrinter.cupsServer:Ljava/lang/String;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static int getPort();
    descriptor: ()I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 400
            getstatic sun.print.CUPSPrinter.cupsPort:I
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static boolean isCupsRunning();
    descriptor: ()Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 407
            new java.lang.StringBuilder
            dup
            ldc "CUPSPrinter>> libFound "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            getstatic sun.print.CUPSPrinter.libFound:Z
            invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
         1: .line 408
            getstatic sun.print.CUPSPrinter.libFound:Z
            ifeq 6
         2: .line 409
            new java.lang.StringBuilder
            dup
            ldc "CUPSPrinter>> CUPS server "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            invokestatic sun.print.CUPSPrinter.getServer:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         3: .line 410
            ldc " port "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokestatic sun.print.CUPSPrinter.getPort:()I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
         4: .line 409
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic sun.print.IPPPrintService.debug_println:(Ljava/lang/String;)V
         5: .line 411
            invokestatic sun.print.CUPSPrinter.getServer:()Ljava/lang/String;
            invokestatic sun.print.CUPSPrinter.getPort:()I
            invokestatic sun.print.CUPSPrinter.canConnect:(Ljava/lang/String;I)Z
            ireturn
         6: .line 413
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "CUPSPrinter.java"
NestMembers:
  sun.print.CUPSPrinter$1  sun.print.CUPSPrinter$2
InnerClasses:
  sun.print.CUPSPrinter$1
  sun.print.CUPSPrinter$2