class sun.security.krb5.KrbServiceLocator
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.security.krb5.KrbServiceLocator
  super_class: java.lang.Object
{
  private static final java.lang.String SRV_RR;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "SRV"

  private static final java.lang.String[] SRV_RR_ATTR;
    descriptor: [Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.lang.String SRV_TXT;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "TXT"

  private static final java.lang.String[] SRV_TXT_ATTR;
    descriptor: [Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.util.Random random;
    descriptor: Ljava/util/Random;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 53
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "SRV"
            aastore
            putstatic sun.security.krb5.KrbServiceLocator.SRV_RR_ATTR:[Ljava/lang/String;
         1: .line 56
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "TXT"
            aastore
            putstatic sun.security.krb5.KrbServiceLocator.SRV_TXT_ATTR:[Ljava/lang/String;
         2: .line 58
            new java.util.Random
            dup
            invokespecial java.util.Random.<init>:()V
            putstatic sun.security.krb5.KrbServiceLocator.random:Ljava/util/Random;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.krb5.KrbServiceLocator this
         0: .line 60
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 61
            return
        end local 0 // sun.security.krb5.KrbServiceLocator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/security/krb5/KrbServiceLocator;

  static java.lang.String[] getKerberosService(java.lang.String);
    descriptor: (Ljava/lang/String;)[Ljava/lang/String;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=9, locals=12, args_size=1
        start local 0 // java.lang.String realmName
         0: .line 77
            new java.lang.StringBuilder
            dup
            ldc "dns:///_kerberos."
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* realmName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 1 /* dnsUrl */
        start local 1 // java.lang.String dnsUrl
         1: .line 78
            aconst_null
            astore 2 /* records */
        start local 2 // java.lang.String[] records
         2: .line 84
            ldc "dns"
            new java.util.Hashtable
            dup
            iconst_0
            invokespecial java.util.Hashtable.<init>:(I)V
            invokestatic javax.naming.spi.NamingManager.getURLContext:(Ljava/lang/String;Ljava/util/Hashtable;)Ljavax/naming/Context;
            astore 3 /* ctx */
        start local 3 // javax.naming.Context ctx
         3: .line 85
            aload 3 /* ctx */
            instanceof javax.naming.directory.DirContext
            ifne 5
         4: .line 86
            aconst_null
            areturn
         5: .line 88
      StackMap locals: java.lang.String java.lang.String[] javax.naming.Context
      StackMap stack:
            aconst_null
            astore 4 /* attrs */
        start local 4 // javax.naming.directory.Attributes attrs
         6: .line 93
            aload 3 /* ctx */
            aload 1 /* dnsUrl */
            invokedynamic run(Ljavax/naming/Context;Ljava/lang/String;)Ljava/security/PrivilegedExceptionAction;
              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;
                  sun/security/krb5/KrbServiceLocator.lambda$0(Ljavax/naming/Context;Ljava/lang/String;)Ljavax/naming/directory/Attributes; (6)
                  ()Ljavax/naming/directory/Attributes;
         7: .line 95
            aconst_null
            iconst_1
            anewarray java.security.Permission
            dup
            iconst_0
         8: .line 96
            new java.net.SocketPermission
            dup
            ldc "*"
            ldc "connect,accept"
            invokespecial java.net.SocketPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            aastore
         9: .line 91
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object;
            checkcast javax.naming.directory.Attributes
            astore 4 /* attrs */
        10: .line 97
            goto 13
      StackMap locals: java.lang.String java.lang.String java.lang.String[] javax.naming.Context javax.naming.directory.Attributes
      StackMap stack: java.security.PrivilegedActionException
        11: astore 5 /* e */
        start local 5 // java.security.PrivilegedActionException e
        12: .line 98
            aload 5 /* e */
            invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
            checkcast javax.naming.NamingException
            athrow
        end local 5 // java.security.PrivilegedActionException e
        13: .line 102
      StackMap locals:
      StackMap stack:
            aload 4 /* attrs */
            ifnull 36
            aload 4 /* attrs */
            ldc "TXT"
            invokeinterface javax.naming.directory.Attributes.get:(Ljava/lang/String;)Ljavax/naming/directory/Attribute;
            dup
            astore 5 /* attr */
        start local 5 // javax.naming.directory.Attribute attr
        14: ifnull 36
        15: .line 103
            aload 5 /* attr */
            invokeinterface javax.naming.directory.Attribute.size:()I
            istore 6 /* numValues */
        start local 6 // int numValues
        16: .line 104
            iconst_0
            istore 7 /* numRecords */
        start local 7 // int numRecords
        17: .line 105
            iload 6 /* numValues */
            anewarray java.lang.String
            astore 8 /* txtRecords */
        start local 8 // java.lang.String[] txtRecords
        18: .line 108
            iconst_0
            istore 9 /* i */
        start local 9 // int i
        19: .line 109
            iconst_0
            istore 10 /* j */
        start local 10 // int j
        20: .line 110
            goto 26
        21: .line 112
      StackMap locals: java.lang.String java.lang.String java.lang.String[] javax.naming.Context javax.naming.directory.Attributes javax.naming.directory.Attribute int int java.lang.String[] int int
      StackMap stack:
            aload 8 /* txtRecords */
            iload 10 /* j */
            aload 5 /* attr */
            iload 9 /* i */
            invokeinterface javax.naming.directory.Attribute.get:(I)Ljava/lang/Object;
            checkcast java.lang.String
            aastore
        22: .line 113
            iinc 10 /* j */ 1
        23: .line 114
            goto 25
      StackMap locals:
      StackMap stack: java.lang.Exception
        24: pop
        25: .line 117
      StackMap locals:
      StackMap stack:
            iinc 9 /* i */ 1
        26: .line 110
      StackMap locals:
      StackMap stack:
            iload 9 /* i */
            iload 6 /* numValues */
            if_icmplt 21
        27: .line 119
            iload 10 /* j */
            istore 7 /* numRecords */
        28: .line 122
            iload 7 /* numRecords */
            iload 6 /* numValues */
            if_icmpge 33
        29: .line 123
            iload 7 /* numRecords */
            anewarray java.lang.String
            astore 11 /* trimmed */
        start local 11 // java.lang.String[] trimmed
        30: .line 124
            aload 8 /* txtRecords */
            iconst_0
            aload 11 /* trimmed */
            iconst_0
            iload 7 /* numRecords */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        31: .line 125
            aload 11 /* trimmed */
            astore 2 /* records */
        end local 11 // java.lang.String[] trimmed
        32: .line 126
            goto 36
        33: .line 127
      StackMap locals:
      StackMap stack:
            aload 8 /* txtRecords */
            astore 2 /* records */
        end local 10 // int j
        end local 9 // int i
        end local 8 // java.lang.String[] txtRecords
        end local 7 // int numRecords
        end local 6 // int numValues
        end local 5 // javax.naming.directory.Attribute attr
        end local 4 // javax.naming.directory.Attributes attrs
        end local 3 // javax.naming.Context ctx
        34: .line 130
            goto 36
      StackMap locals: java.lang.String java.lang.String java.lang.String[]
      StackMap stack: javax.naming.NamingException
        35: pop
        36: .line 133
      StackMap locals:
      StackMap stack:
            aload 2 /* records */
            areturn
        end local 2 // java.lang.String[] records
        end local 1 // java.lang.String dnsUrl
        end local 0 // java.lang.String realmName
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   37     0   realmName  Ljava/lang/String;
            1   37     1      dnsUrl  Ljava/lang/String;
            2   37     2     records  [Ljava/lang/String;
            3   34     3         ctx  Ljavax/naming/Context;
            6   34     4       attrs  Ljavax/naming/directory/Attributes;
           12   13     5           e  Ljava/security/PrivilegedActionException;
           14   34     5        attr  Ljavax/naming/directory/Attribute;
           16   34     6   numValues  I
           17   34     7  numRecords  I
           18   34     8  txtRecords  [Ljava/lang/String;
           19   34     9           i  I
           20   34    10           j  I
           30   32    11     trimmed  [Ljava/lang/String;
      Exception table:
        from    to  target  type
           6    10      11  Class java.security.PrivilegedActionException
          21    23      24  Class java.lang.Exception
           2     4      35  Class javax.naming.NamingException
           5    34      35  Class javax.naming.NamingException
    MethodParameters:
           Name  Flags
      realmName  

  static java.lang.String[] getKerberosService(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=9, locals=13, args_size=2
        start local 0 // java.lang.String realmName
        start local 1 // java.lang.String protocol
         0: .line 148
            new java.lang.StringBuilder
            dup
            ldc "dns:///_kerberos."
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* protocol */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* realmName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* dnsUrl */
        start local 2 // java.lang.String dnsUrl
         1: .line 149
            aconst_null
            astore 3 /* hostports */
        start local 3 // java.lang.String[] hostports
         2: .line 156
            ldc "dns"
            new java.util.Hashtable
            dup
            iconst_0
            invokespecial java.util.Hashtable.<init>:(I)V
            invokestatic javax.naming.spi.NamingManager.getURLContext:(Ljava/lang/String;Ljava/util/Hashtable;)Ljavax/naming/Context;
            astore 4 /* ctx */
        start local 4 // javax.naming.Context ctx
         3: .line 157
            aload 4 /* ctx */
            instanceof javax.naming.directory.DirContext
            ifne 5
         4: .line 158
            aconst_null
            areturn
         5: .line 161
      StackMap locals: java.lang.String java.lang.String[] javax.naming.Context
      StackMap stack:
            aconst_null
            astore 5 /* attrs */
        start local 5 // javax.naming.directory.Attributes attrs
         6: .line 166
            aload 4 /* ctx */
            aload 2 /* dnsUrl */
            invokedynamic run(Ljavax/naming/Context;Ljava/lang/String;)Ljava/security/PrivilegedExceptionAction;
              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;
                  sun/security/krb5/KrbServiceLocator.lambda$1(Ljavax/naming/Context;Ljava/lang/String;)Ljavax/naming/directory/Attributes; (6)
                  ()Ljavax/naming/directory/Attributes;
         7: .line 168
            aconst_null
            iconst_1
            anewarray java.security.Permission
            dup
            iconst_0
         8: .line 169
            new java.net.SocketPermission
            dup
            ldc "*"
            ldc "connect,accept"
            invokespecial java.net.SocketPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            aastore
         9: .line 164
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object;
            checkcast javax.naming.directory.Attributes
            astore 5 /* attrs */
        10: .line 170
            goto 13
      StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String[] javax.naming.Context javax.naming.directory.Attributes
      StackMap stack: java.security.PrivilegedActionException
        11: astore 6 /* e */
        start local 6 // java.security.PrivilegedActionException e
        12: .line 171
            aload 6 /* e */
            invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
            checkcast javax.naming.NamingException
            athrow
        end local 6 // java.security.PrivilegedActionException e
        13: .line 176
      StackMap locals:
      StackMap stack:
            aload 5 /* attrs */
            ifnull 37
            aload 5 /* attrs */
            ldc "SRV"
            invokeinterface javax.naming.directory.Attributes.get:(Ljava/lang/String;)Ljavax/naming/directory/Attribute;
            dup
            astore 6 /* attr */
        start local 6 // javax.naming.directory.Attribute attr
        14: ifnull 37
        15: .line 177
            aload 6 /* attr */
            invokeinterface javax.naming.directory.Attribute.size:()I
            istore 7 /* numValues */
        start local 7 // int numValues
        16: .line 178
            iconst_0
            istore 8 /* numRecords */
        start local 8 // int numRecords
        17: .line 179
            iload 7 /* numValues */
            anewarray sun.security.krb5.KrbServiceLocator$SrvRecord
            astore 9 /* srvRecords */
        start local 9 // sun.security.krb5.KrbServiceLocator$SrvRecord[] srvRecords
        18: .line 182
            iconst_0
            istore 10 /* i */
        start local 10 // int i
        19: .line 183
            iconst_0
            istore 11 /* j */
        start local 11 // int j
        20: .line 184
            goto 26
        21: .line 186
      StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String[] javax.naming.Context javax.naming.directory.Attributes javax.naming.directory.Attribute int int sun.security.krb5.KrbServiceLocator$SrvRecord[] int int
      StackMap stack:
            aload 9 /* srvRecords */
            iload 11 /* j */
            new sun.security.krb5.KrbServiceLocator$SrvRecord
            dup
            aload 6 /* attr */
            iload 10 /* i */
            invokeinterface javax.naming.directory.Attribute.get:(I)Ljava/lang/Object;
            checkcast java.lang.String
            invokespecial sun.security.krb5.KrbServiceLocator$SrvRecord.<init>:(Ljava/lang/String;)V
            aastore
        22: .line 187
            iinc 11 /* j */ 1
        23: .line 188
            goto 25
      StackMap locals:
      StackMap stack: java.lang.Exception
        24: pop
        25: .line 191
      StackMap locals:
      StackMap stack:
            iinc 10 /* i */ 1
        26: .line 184
      StackMap locals:
      StackMap stack:
            iload 10 /* i */
            iload 7 /* numValues */
            if_icmplt 21
        27: .line 193
            iload 11 /* j */
            istore 8 /* numRecords */
        28: .line 196
            iload 8 /* numRecords */
            iload 7 /* numValues */
            if_icmpge 32
        29: .line 197
            iload 8 /* numRecords */
            anewarray sun.security.krb5.KrbServiceLocator$SrvRecord
            astore 12 /* trimmed */
        start local 12 // sun.security.krb5.KrbServiceLocator$SrvRecord[] trimmed
        30: .line 198
            aload 9 /* srvRecords */
            iconst_0
            aload 12 /* trimmed */
            iconst_0
            iload 8 /* numRecords */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        31: .line 199
            aload 12 /* trimmed */
            astore 9 /* srvRecords */
        end local 12 // sun.security.krb5.KrbServiceLocator$SrvRecord[] trimmed
        32: .line 205
      StackMap locals:
      StackMap stack:
            iload 8 /* numRecords */
            iconst_1
            if_icmple 34
        33: .line 206
            aload 9 /* srvRecords */
            invokestatic java.util.Arrays.sort:([Ljava/lang/Object;)V
        34: .line 210
      StackMap locals:
      StackMap stack:
            aload 9 /* srvRecords */
            invokestatic sun.security.krb5.KrbServiceLocator.extractHostports:([Lsun/security/krb5/KrbServiceLocator$SrvRecord;)[Ljava/lang/String;
            astore 3 /* hostports */
        end local 11 // int j
        end local 10 // int i
        end local 9 // sun.security.krb5.KrbServiceLocator$SrvRecord[] srvRecords
        end local 8 // int numRecords
        end local 7 // int numValues
        end local 6 // javax.naming.directory.Attribute attr
        end local 5 // javax.naming.directory.Attributes attrs
        end local 4 // javax.naming.Context ctx
        35: .line 212
            goto 37
      StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String[]
      StackMap stack: javax.naming.NamingException
        36: pop
        37: .line 216
      StackMap locals:
      StackMap stack:
            aload 3 /* hostports */
            areturn
        end local 3 // java.lang.String[] hostports
        end local 2 // java.lang.String dnsUrl
        end local 1 // java.lang.String protocol
        end local 0 // java.lang.String realmName
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   38     0   realmName  Ljava/lang/String;
            0   38     1    protocol  Ljava/lang/String;
            1   38     2      dnsUrl  Ljava/lang/String;
            2   38     3   hostports  [Ljava/lang/String;
            3   35     4         ctx  Ljavax/naming/Context;
            6   35     5       attrs  Ljavax/naming/directory/Attributes;
           12   13     6           e  Ljava/security/PrivilegedActionException;
           14   35     6        attr  Ljavax/naming/directory/Attribute;
           16   35     7   numValues  I
           17   35     8  numRecords  I
           18   35     9  srvRecords  [Lsun/security/krb5/KrbServiceLocator$SrvRecord;
           19   35    10           i  I
           20   35    11           j  I
           30   32    12     trimmed  [Lsun/security/krb5/KrbServiceLocator$SrvRecord;
      Exception table:
        from    to  target  type
           6    10      11  Class java.security.PrivilegedActionException
          21    23      24  Class java.lang.Exception
           2     4      36  Class javax.naming.NamingException
           5    35      36  Class javax.naming.NamingException
    MethodParameters:
           Name  Flags
      realmName  
      protocol   

  private static java.lang.String[] extractHostports(sun.security.krb5.KrbServiceLocator$SrvRecord[]);
    descriptor: ([Lsun/security/krb5/KrbServiceLocator$SrvRecord;)[Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=8, args_size=1
        start local 0 // sun.security.krb5.KrbServiceLocator$SrvRecord[] srvRecords
         0: .line 224
            aconst_null
            astore 1 /* hostports */
        start local 1 // java.lang.String[] hostports
         1: .line 226
            iconst_0
            istore 2 /* head */
        start local 2 // int head
         2: .line 227
            iconst_0
            istore 3 /* tail */
        start local 3 // int tail
         3: .line 228
            iconst_0
            istore 4 /* sublistLength */
        start local 4 // int sublistLength
         4: .line 229
            iconst_0
            istore 5 /* k */
        start local 5 // int k
         5: .line 230
            iconst_0
            istore 6 /* i */
        start local 6 // int i
         6: goto 22
         7: .line 231
      StackMap locals: sun.security.krb5.KrbServiceLocator$SrvRecord[] java.lang.String[] int int int int int
      StackMap stack:
            aload 1 /* hostports */
            ifnonnull 9
         8: .line 232
            aload 0 /* srvRecords */
            arraylength
            anewarray java.lang.String
            astore 1 /* hostports */
         9: .line 236
      StackMap locals:
      StackMap stack:
            iload 6 /* i */
            istore 2 /* head */
        10: .line 237
            goto 12
        11: .line 239
      StackMap locals:
      StackMap stack:
            iinc 6 /* i */ 1
        12: .line 237
      StackMap locals:
      StackMap stack:
            iload 6 /* i */
            aload 0 /* srvRecords */
            arraylength
            iconst_1
            isub
            if_icmpge 14
        13: .line 238
            aload 0 /* srvRecords */
            iload 6 /* i */
            aaload
            getfield sun.security.krb5.KrbServiceLocator$SrvRecord.priority:I
            aload 0 /* srvRecords */
            iload 6 /* i */
            iconst_1
            iadd
            aaload
            getfield sun.security.krb5.KrbServiceLocator$SrvRecord.priority:I
            if_icmpeq 11
        14: .line 241
      StackMap locals:
      StackMap stack:
            iload 6 /* i */
            istore 3 /* tail */
        15: .line 244
            iload 3 /* tail */
            iload 2 /* head */
            isub
            iconst_1
            iadd
            istore 4 /* sublistLength */
        16: .line 245
            iconst_0
            istore 7 /* j */
        start local 7 // int j
        17: goto 20
        18: .line 246
      StackMap locals: int
      StackMap stack:
            aload 1 /* hostports */
            iload 5 /* k */
            iinc 5 /* k */ 1
            aload 0 /* srvRecords */
            iload 2 /* head */
            iload 3 /* tail */
            invokestatic sun.security.krb5.KrbServiceLocator.selectHostport:([Lsun/security/krb5/KrbServiceLocator$SrvRecord;II)Ljava/lang/String;
            aastore
        19: .line 245
            iinc 7 /* j */ 1
      StackMap locals:
      StackMap stack:
        20: iload 7 /* j */
            iload 4 /* sublistLength */
            if_icmplt 18
        end local 7 // int j
        21: .line 230
            iinc 6 /* i */ 1
      StackMap locals:
      StackMap stack:
        22: iload 6 /* i */
            aload 0 /* srvRecords */
            arraylength
            if_icmplt 7
        end local 6 // int i
        23: .line 249
            aload 1 /* hostports */
            areturn
        end local 5 // int k
        end local 4 // int sublistLength
        end local 3 // int tail
        end local 2 // int head
        end local 1 // java.lang.String[] hostports
        end local 0 // sun.security.krb5.KrbServiceLocator$SrvRecord[] srvRecords
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   24     0     srvRecords  [Lsun/security/krb5/KrbServiceLocator$SrvRecord;
            1   24     1      hostports  [Ljava/lang/String;
            2   24     2           head  I
            3   24     3           tail  I
            4   24     4  sublistLength  I
            5   24     5              k  I
            6   23     6              i  I
           17   21     7              j  I
    MethodParameters:
            Name  Flags
      srvRecords  

  private static java.lang.String selectHostport(sun.security.krb5.KrbServiceLocator$SrvRecord[], int, int);
    descriptor: ([Lsun/security/krb5/KrbServiceLocator$SrvRecord;II)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=7, args_size=3
        start local 0 // sun.security.krb5.KrbServiceLocator$SrvRecord[] srvRecords
        start local 1 // int head
        start local 2 // int tail
         0: .line 258
            iload 1 /* head */
            iload 2 /* tail */
            if_icmpne 2
         1: .line 259
            aload 0 /* srvRecords */
            iload 1 /* head */
            aaload
            getfield sun.security.krb5.KrbServiceLocator$SrvRecord.hostport:Ljava/lang/String;
            areturn
         2: .line 263
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 3 /* sum */
        start local 3 // int sum
         3: .line 264
            iload 1 /* head */
            istore 4 /* i */
        start local 4 // int i
         4: goto 9
         5: .line 265
      StackMap locals: int int
      StackMap stack:
            aload 0 /* srvRecords */
            iload 4 /* i */
            aaload
            ifnull 8
         6: .line 266
            iload 3 /* sum */
            aload 0 /* srvRecords */
            iload 4 /* i */
            aaload
            getfield sun.security.krb5.KrbServiceLocator$SrvRecord.weight:I
            iadd
            istore 3 /* sum */
         7: .line 267
            aload 0 /* srvRecords */
            iload 4 /* i */
            aaload
            iload 3 /* sum */
            putfield sun.security.krb5.KrbServiceLocator$SrvRecord.sum:I
         8: .line 264
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
         9: iload 4 /* i */
            iload 2 /* tail */
            if_icmple 5
        end local 4 // int i
        10: .line 270
            aconst_null
            astore 4 /* hostport */
        start local 4 // java.lang.String hostport
        11: .line 274
            iload 3 /* sum */
            ifne 12
            iconst_0
            goto 13
      StackMap locals: sun.security.krb5.KrbServiceLocator$SrvRecord[] int int int java.lang.String
      StackMap stack:
        12: getstatic sun.security.krb5.KrbServiceLocator.random:Ljava/util/Random;
            iload 3 /* sum */
            iconst_1
            iadd
            invokevirtual java.util.Random.nextInt:(I)I
      StackMap locals:
      StackMap stack: int
        13: istore 5 /* target */
        start local 5 // int target
        14: .line 275
            iload 1 /* head */
            istore 6 /* i */
        start local 6 // int i
        15: goto 21
        16: .line 276
      StackMap locals: int int
      StackMap stack:
            aload 0 /* srvRecords */
            iload 6 /* i */
            aaload
            ifnull 20
            aload 0 /* srvRecords */
            iload 6 /* i */
            aaload
            getfield sun.security.krb5.KrbServiceLocator$SrvRecord.sum:I
            iload 5 /* target */
            if_icmplt 20
        17: .line 277
            aload 0 /* srvRecords */
            iload 6 /* i */
            aaload
            getfield sun.security.krb5.KrbServiceLocator$SrvRecord.hostport:Ljava/lang/String;
            astore 4 /* hostport */
        18: .line 278
            aload 0 /* srvRecords */
            iload 6 /* i */
            aconst_null
            aastore
        19: .line 279
            goto 22
        20: .line 275
      StackMap locals:
      StackMap stack:
            iinc 6 /* i */ 1
      StackMap locals:
      StackMap stack:
        21: iload 6 /* i */
            iload 2 /* tail */
            if_icmple 16
        end local 6 // int i
        22: .line 282
      StackMap locals:
      StackMap stack:
            aload 4 /* hostport */
            areturn
        end local 5 // int target
        end local 4 // java.lang.String hostport
        end local 3 // int sum
        end local 2 // int tail
        end local 1 // int head
        end local 0 // sun.security.krb5.KrbServiceLocator$SrvRecord[] srvRecords
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   23     0  srvRecords  [Lsun/security/krb5/KrbServiceLocator$SrvRecord;
            0   23     1        head  I
            0   23     2        tail  I
            3   23     3         sum  I
            4   10     4           i  I
           11   23     4    hostport  Ljava/lang/String;
           14   23     5      target  I
           15   22     6           i  I
    MethodParameters:
            Name  Flags
      srvRecords  
      head        
      tail        

  private static javax.naming.directory.Attributes lambda$0(javax.naming.Context, java.lang.String);
    descriptor: (Ljavax/naming/Context;Ljava/lang/String;)Ljavax/naming/directory/Attributes;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=2, args_size=2
         0: .line 93
            aload 0
            checkcast javax.naming.directory.DirContext
         1: .line 94
            aload 1
            getstatic sun.security.krb5.KrbServiceLocator.SRV_TXT_ATTR:[Ljava/lang/String;
         2: .line 93
            invokeinterface javax.naming.directory.DirContext.getAttributes:(Ljava/lang/String;[Ljava/lang/String;)Ljavax/naming/directory/Attributes;
         3: .line 94
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.Exception

  private static javax.naming.directory.Attributes lambda$1(javax.naming.Context, java.lang.String);
    descriptor: (Ljavax/naming/Context;Ljava/lang/String;)Ljavax/naming/directory/Attributes;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=2, args_size=2
         0: .line 166
            aload 0
            checkcast javax.naming.directory.DirContext
         1: .line 167
            aload 1
            getstatic sun.security.krb5.KrbServiceLocator.SRV_RR_ATTR:[Ljava/lang/String;
         2: .line 166
            invokeinterface javax.naming.directory.DirContext.getAttributes:(Ljava/lang/String;[Ljava/lang/String;)Ljavax/naming/directory/Attributes;
         3: .line 167
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.Exception
}
SourceFile: "KrbServiceLocator.java"
NestMembers:
  sun.security.krb5.KrbServiceLocator$SrvRecord
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  SrvRecord = sun.security.krb5.KrbServiceLocator$SrvRecord of sun.security.krb5.KrbServiceLocator