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

  private static final boolean DEBUG;
    descriptor: Z
    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 55
            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 58
            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 60
            new java.util.Random
            dup
            invokespecial java.util.Random.<init>:()V
            putstatic sun.security.krb5.KrbServiceLocator.random:Ljava/util/Random;
         3: .line 62
            getstatic sun.security.krb5.internal.Krb5.DEBUG:Z
            putstatic sun.security.krb5.KrbServiceLocator.DEBUG:Z
            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 64
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 65
            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=10, locals=12, args_size=1
        start local 0 // java.lang.String realmName
         0: .line 81
            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 82
            aconst_null
            astore 2 /* records */
        start local 2 // java.lang.String[] records
         2: .line 88
            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 89
            aload 3 /* ctx */
            instanceof javax.naming.directory.DirContext
            ifne 5
         4: .line 90
            aconst_null
            areturn
         5: .line 92
      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 95
            invokestatic sun.misc.SharedSecrets.getJavaSecurityAccess:()Lsun/misc/JavaSecurityAccess;
         7: .line 96
            new sun.security.krb5.KrbServiceLocator$1
            dup
            aload 3 /* ctx */
            aload 1 /* dnsUrl */
            invokespecial sun.security.krb5.KrbServiceLocator$1.<init>:(Ljavax/naming/Context;Ljava/lang/String;)V
         8: .line 100
            aconst_null
            iconst_1
            anewarray java.security.Permission
            dup
            iconst_0
         9: .line 101
            new java.net.SocketPermission
            dup
            ldc "*"
            ldc "connect,accept"
            invokespecial java.net.SocketPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            aastore
        10: .line 95
            invokeinterface sun.misc.JavaSecurityAccess.doPrivileged:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object;
            checkcast javax.naming.directory.Attributes
            astore 4 /* attrs */
        11: .line 102
            goto 14
      StackMap locals: java.lang.String java.lang.String java.lang.String[] javax.naming.Context javax.naming.directory.Attributes
      StackMap stack: java.security.PrivilegedActionException
        12: astore 5 /* e */
        start local 5 // java.security.PrivilegedActionException e
        13: .line 103
            aload 5 /* e */
            invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
            checkcast javax.naming.NamingException
            athrow
        end local 5 // java.security.PrivilegedActionException e
        14: .line 107
      StackMap locals:
      StackMap stack:
            aload 4 /* attrs */
            ifnull 37
            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
        15: ifnull 37
        16: .line 108
            aload 5 /* attr */
            invokeinterface javax.naming.directory.Attribute.size:()I
            istore 6 /* numValues */
        start local 6 // int numValues
        17: .line 109
            iconst_0
            istore 7 /* numRecords */
        start local 7 // int numRecords
        18: .line 110
            iload 6 /* numValues */
            anewarray java.lang.String
            astore 8 /* txtRecords */
        start local 8 // java.lang.String[] txtRecords
        19: .line 113
            iconst_0
            istore 9 /* i */
        start local 9 // int i
        20: .line 114
            iconst_0
            istore 10 /* j */
        start local 10 // int j
        21: .line 115
            goto 27
        22: .line 117
      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
        23: .line 118
            iinc 10 /* j */ 1
        24: .line 119
            goto 26
      StackMap locals:
      StackMap stack: java.lang.Exception
        25: pop
        26: .line 122
      StackMap locals:
      StackMap stack:
            iinc 9 /* i */ 1
        27: .line 115
      StackMap locals:
      StackMap stack:
            iload 9 /* i */
            iload 6 /* numValues */
            if_icmplt 22
        28: .line 124
            iload 10 /* j */
            istore 7 /* numRecords */
        29: .line 127
            iload 7 /* numRecords */
            iload 6 /* numValues */
            if_icmpge 34
        30: .line 128
            iload 7 /* numRecords */
            anewarray java.lang.String
            astore 11 /* trimmed */
        start local 11 // java.lang.String[] trimmed
        31: .line 129
            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
        32: .line 130
            aload 11 /* trimmed */
            astore 2 /* records */
        end local 11 // java.lang.String[] trimmed
        33: .line 131
            goto 37
        34: .line 132
      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
        35: .line 135
            goto 37
      StackMap locals: java.lang.String java.lang.String java.lang.String[]
      StackMap stack: javax.naming.NamingException
        36: pop
        37: .line 138
      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   38     0   realmName  Ljava/lang/String;
            1   38     1      dnsUrl  Ljava/lang/String;
            2   38     2     records  [Ljava/lang/String;
            3   35     3         ctx  Ljavax/naming/Context;
            6   35     4       attrs  Ljavax/naming/directory/Attributes;
           13   14     5           e  Ljava/security/PrivilegedActionException;
           15   35     5        attr  Ljavax/naming/directory/Attribute;
           17   35     6   numValues  I
           18   35     7  numRecords  I
           19   35     8  txtRecords  [Ljava/lang/String;
           20   35     9           i  I
           21   35    10           j  I
           31   33    11     trimmed  [Ljava/lang/String;
      Exception table:
        from    to  target  type
           6    11      12  Class java.security.PrivilegedActionException
          22    24      25  Class java.lang.Exception
           2     4      36  Class javax.naming.NamingException
           5    35      36  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=10, locals=13, args_size=2
        start local 0 // java.lang.String realmName
        start local 1 // java.lang.String protocol
         0: .line 153
            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 154
            aconst_null
            astore 3 /* hostports */
        start local 3 // java.lang.String[] hostports
         2: .line 161
            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 162
            aload 4 /* ctx */
            instanceof javax.naming.directory.DirContext
            ifne 5
         4: .line 163
            aconst_null
            areturn
         5: .line 166
      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 169
            invokestatic sun.misc.SharedSecrets.getJavaSecurityAccess:()Lsun/misc/JavaSecurityAccess;
         7: .line 170
            new sun.security.krb5.KrbServiceLocator$2
            dup
            aload 4 /* ctx */
            aload 2 /* dnsUrl */
            invokespecial sun.security.krb5.KrbServiceLocator$2.<init>:(Ljavax/naming/Context;Ljava/lang/String;)V
         8: .line 174
            aconst_null
            iconst_1
            anewarray java.security.Permission
            dup
            iconst_0
         9: .line 175
            new java.net.SocketPermission
            dup
            ldc "*"
            ldc "connect,accept"
            invokespecial java.net.SocketPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            aastore
        10: .line 169
            invokeinterface sun.misc.JavaSecurityAccess.doPrivileged:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object;
            checkcast javax.naming.directory.Attributes
            astore 5 /* attrs */
        11: .line 176
            goto 14
      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
        12: astore 6 /* e */
        start local 6 // java.security.PrivilegedActionException e
        13: .line 177
            aload 6 /* e */
            invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
            checkcast javax.naming.NamingException
            athrow
        end local 6 // java.security.PrivilegedActionException e
        14: .line 182
      StackMap locals:
      StackMap stack:
            aload 5 /* attrs */
            ifnull 38
            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
        15: ifnull 38
        16: .line 183
            aload 6 /* attr */
            invokeinterface javax.naming.directory.Attribute.size:()I
            istore 7 /* numValues */
        start local 7 // int numValues
        17: .line 184
            iconst_0
            istore 8 /* numRecords */
        start local 8 // int numRecords
        18: .line 185
            iload 7 /* numValues */
            anewarray sun.security.krb5.KrbServiceLocator$SrvRecord
            astore 9 /* srvRecords */
        start local 9 // sun.security.krb5.KrbServiceLocator$SrvRecord[] srvRecords
        19: .line 188
            iconst_0
            istore 10 /* i */
        start local 10 // int i
        20: .line 189
            iconst_0
            istore 11 /* j */
        start local 11 // int j
        21: .line 190
            goto 27
        22: .line 192
      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
        23: .line 193
            iinc 11 /* j */ 1
        24: .line 194
            goto 26
      StackMap locals:
      StackMap stack: java.lang.Exception
        25: pop
        26: .line 197
      StackMap locals:
      StackMap stack:
            iinc 10 /* i */ 1
        27: .line 190
      StackMap locals:
      StackMap stack:
            iload 10 /* i */
            iload 7 /* numValues */
            if_icmplt 22
        28: .line 199
            iload 11 /* j */
            istore 8 /* numRecords */
        29: .line 202
            iload 8 /* numRecords */
            iload 7 /* numValues */
            if_icmpge 33
        30: .line 203
            iload 8 /* numRecords */
            anewarray sun.security.krb5.KrbServiceLocator$SrvRecord
            astore 12 /* trimmed */
        start local 12 // sun.security.krb5.KrbServiceLocator$SrvRecord[] trimmed
        31: .line 204
            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
        32: .line 205
            aload 12 /* trimmed */
            astore 9 /* srvRecords */
        end local 12 // sun.security.krb5.KrbServiceLocator$SrvRecord[] trimmed
        33: .line 211
      StackMap locals:
      StackMap stack:
            iload 8 /* numRecords */
            iconst_1
            if_icmple 35
        34: .line 212
            aload 9 /* srvRecords */
            invokestatic java.util.Arrays.sort:([Ljava/lang/Object;)V
        35: .line 216
      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
        36: .line 218
            goto 38
      StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String[]
      StackMap stack: javax.naming.NamingException
        37: pop
        38: .line 222
      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   39     0   realmName  Ljava/lang/String;
            0   39     1    protocol  Ljava/lang/String;
            1   39     2      dnsUrl  Ljava/lang/String;
            2   39     3   hostports  [Ljava/lang/String;
            3   36     4         ctx  Ljavax/naming/Context;
            6   36     5       attrs  Ljavax/naming/directory/Attributes;
           13   14     6           e  Ljava/security/PrivilegedActionException;
           15   36     6        attr  Ljavax/naming/directory/Attribute;
           17   36     7   numValues  I
           18   36     8  numRecords  I
           19   36     9  srvRecords  [Lsun/security/krb5/KrbServiceLocator$SrvRecord;
           20   36    10           i  I
           21   36    11           j  I
           31   33    12     trimmed  [Lsun/security/krb5/KrbServiceLocator$SrvRecord;
      Exception table:
        from    to  target  type
           6    11      12  Class java.security.PrivilegedActionException
          22    24      25  Class java.lang.Exception
           2     4      37  Class javax.naming.NamingException
           5    36      37  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 230
            aconst_null
            astore 1 /* hostports */
        start local 1 // java.lang.String[] hostports
         1: .line 232
            iconst_0
            istore 2 /* head */
        start local 2 // int head
         2: .line 233
            iconst_0
            istore 3 /* tail */
        start local 3 // int tail
         3: .line 234
            iconst_0
            istore 4 /* sublistLength */
        start local 4 // int sublistLength
         4: .line 235
            iconst_0
            istore 5 /* k */
        start local 5 // int k
         5: .line 236
            iconst_0
            istore 6 /* i */
        start local 6 // int i
         6: goto 22
         7: .line 237
      StackMap locals: sun.security.krb5.KrbServiceLocator$SrvRecord[] java.lang.String[] int int int int int
      StackMap stack:
            aload 1 /* hostports */
            ifnonnull 9
         8: .line 238
            aload 0 /* srvRecords */
            arraylength
            anewarray java.lang.String
            astore 1 /* hostports */
         9: .line 242
      StackMap locals:
      StackMap stack:
            iload 6 /* i */
            istore 2 /* head */
        10: .line 243
            goto 12
        11: .line 245
      StackMap locals:
      StackMap stack:
            iinc 6 /* i */ 1
        12: .line 243
      StackMap locals:
      StackMap stack:
            iload 6 /* i */
            aload 0 /* srvRecords */
            arraylength
            iconst_1
            isub
            if_icmpge 14
        13: .line 244
            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 247
      StackMap locals:
      StackMap stack:
            iload 6 /* i */
            istore 3 /* tail */
        15: .line 250
            iload 3 /* tail */
            iload 2 /* head */
            isub
            iconst_1
            iadd
            istore 4 /* sublistLength */
        16: .line 251
            iconst_0
            istore 7 /* j */
        start local 7 // int j
        17: goto 20
        18: .line 252
      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 251
            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 236
            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 255
            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 264
            iload 1 /* head */
            iload 2 /* tail */
            if_icmpne 2
         1: .line 265
            aload 0 /* srvRecords */
            iload 1 /* head */
            aaload
            getfield sun.security.krb5.KrbServiceLocator$SrvRecord.hostport:Ljava/lang/String;
            areturn
         2: .line 269
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 3 /* sum */
        start local 3 // int sum
         3: .line 270
            iload 1 /* head */
            istore 4 /* i */
        start local 4 // int i
         4: goto 9
         5: .line 271
      StackMap locals: int int
      StackMap stack:
            aload 0 /* srvRecords */
            iload 4 /* i */
            aaload
            ifnull 8
         6: .line 272
            iload 3 /* sum */
            aload 0 /* srvRecords */
            iload 4 /* i */
            aaload
            getfield sun.security.krb5.KrbServiceLocator$SrvRecord.weight:I
            iadd
            istore 3 /* sum */
         7: .line 273
            aload 0 /* srvRecords */
            iload 4 /* i */
            aaload
            iload 3 /* sum */
            putfield sun.security.krb5.KrbServiceLocator$SrvRecord.sum:I
         8: .line 270
      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 276
            aconst_null
            astore 4 /* hostport */
        start local 4 // java.lang.String hostport
        11: .line 280
            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 281
            iload 1 /* head */
            istore 6 /* i */
        start local 6 // int i
        15: goto 21
        16: .line 282
      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 283
            aload 0 /* srvRecords */
            iload 6 /* i */
            aaload
            getfield sun.security.krb5.KrbServiceLocator$SrvRecord.hostport:Ljava/lang/String;
            astore 4 /* hostport */
        18: .line 284
            aload 0 /* srvRecords */
            iload 6 /* i */
            aconst_null
            aastore
        19: .line 285
            goto 22
        20: .line 281
      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 288
      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        
}
SourceFile: "KrbServiceLocator.java"
NestMembers:
  sun.security.krb5.KrbServiceLocator$1  sun.security.krb5.KrbServiceLocator$2  sun.security.krb5.KrbServiceLocator$SrvRecord
InnerClasses:
  sun.security.krb5.KrbServiceLocator$1
  sun.security.krb5.KrbServiceLocator$2
  SrvRecord = sun.security.krb5.KrbServiceLocator$SrvRecord of sun.security.krb5.KrbServiceLocator