final class com.sun.jndi.ldap.LdapDnsProviderService
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.sun.jndi.ldap.LdapDnsProviderService
  super_class: java.lang.Object
{
  private static volatile com.sun.jndi.ldap.LdapDnsProviderService service;
    descriptor: Lcom/sun/jndi/ldap/LdapDnsProviderService;
    flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE

  private static final java.lang.Object LOCK;
    descriptor: Ljava/lang/Object;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.util.ServiceLoader<javax.naming.ldap.spi.LdapDnsProvider> providers;
    descriptor: Ljava/util/ServiceLoader;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/ServiceLoader<Ljavax/naming/ldap/spi/LdapDnsProvider;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 44
            iconst_0
            newarray 10
            putstatic com.sun.jndi.ldap.LdapDnsProviderService.LOCK:Ljava/lang/Object;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=9, locals=3, args_size=1
        start local 0 // com.sun.jndi.ldap.LdapDnsProviderService this
         0: .line 50
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 51
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 1 /* sm */
        start local 1 // java.lang.SecurityManager sm
         2: .line 52
            aload 1 /* sm */
            ifnonnull 8
         3: .line 53
            aload 0 /* this */
         4: .line 54
            ldc Ljavax/naming/ldap/spi/LdapDnsProvider;
         5: .line 55
            invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
         6: .line 53
            invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
            putfield com.sun.jndi.ldap.LdapDnsProviderService.providers:Ljava/util/ServiceLoader;
         7: .line 56
            goto 16
         8: .line 58
      StackMap locals: com.sun.jndi.ldap.LdapDnsProviderService java.lang.SecurityManager
      StackMap stack:
            invokedynamic run()Ljava/security/PrivilegedAction;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  com/sun/jndi/ldap/LdapDnsProviderService.lambda$0()Ljava/util/ServiceLoader; (6)
                  ()Ljava/util/ServiceLoader;
         9: .line 57
            astore 2 /* pa */
        start local 2 // java.security.PrivilegedAction pa
        10: .line 62
            aload 0 /* this */
        11: .line 63
            aload 2 /* pa */
        12: .line 64
            aconst_null
            iconst_2
            anewarray java.security.Permission
            dup
            iconst_0
        13: .line 65
            new java.lang.RuntimePermission
            dup
            ldc "ldapDnsProvider"
            invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
            aastore
            dup
            iconst_1
        14: .line 66
            getstatic sun.security.util.SecurityConstants.GET_CLASSLOADER_PERMISSION:Ljava/lang/RuntimePermission;
            aastore
        15: .line 62
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object;
            checkcast java.util.ServiceLoader
            putfield com.sun.jndi.ldap.LdapDnsProviderService.providers:Ljava/util/ServiceLoader;
        end local 2 // java.security.PrivilegedAction pa
        16: .line 68
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.SecurityManager sm
        end local 0 // com.sun.jndi.ldap.LdapDnsProviderService this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   17     0  this  Lcom/sun/jndi/ldap/LdapDnsProviderService;
            2   17     1    sm  Ljava/lang/SecurityManager;
           10   16     2    pa  Ljava/security/PrivilegedAction<Ljava/util/ServiceLoader<Ljavax/naming/ldap/spi/LdapDnsProvider;>;>;

  static com.sun.jndi.ldap.LdapDnsProviderService getInstance();
    descriptor: ()Lcom/sun/jndi/ldap/LdapDnsProviderService;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=0
         0: .line 74
            getstatic com.sun.jndi.ldap.LdapDnsProviderService.service:Lcom/sun/jndi/ldap/LdapDnsProviderService;
            ifnull 1
            getstatic com.sun.jndi.ldap.LdapDnsProviderService.service:Lcom/sun/jndi/ldap/LdapDnsProviderService;
            areturn
         1: .line 75
      StackMap locals:
      StackMap stack:
            getstatic com.sun.jndi.ldap.LdapDnsProviderService.LOCK:Ljava/lang/Object;
            dup
            astore 0
            monitorenter
         2: .line 76
            getstatic com.sun.jndi.ldap.LdapDnsProviderService.service:Lcom/sun/jndi/ldap/LdapDnsProviderService;
            ifnull 4
            getstatic com.sun.jndi.ldap.LdapDnsProviderService.service:Lcom/sun/jndi/ldap/LdapDnsProviderService;
            aload 0
            monitorexit
         3: areturn
         4: .line 77
      StackMap locals: java.lang.Object
      StackMap stack:
            new com.sun.jndi.ldap.LdapDnsProviderService
            dup
            invokespecial com.sun.jndi.ldap.LdapDnsProviderService.<init>:()V
            putstatic com.sun.jndi.ldap.LdapDnsProviderService.service:Lcom/sun/jndi/ldap/LdapDnsProviderService;
         5: .line 75
            aload 0
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 0
            monitorexit
         8: athrow
         9: .line 79
      StackMap locals:
      StackMap stack:
            getstatic com.sun.jndi.ldap.LdapDnsProviderService.service:Lcom/sun/jndi/ldap/LdapDnsProviderService;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
      Exception table:
        from    to  target  type
           2     3       7  any
           4     6       7  any
           7     8       7  any

  javax.naming.ldap.spi.LdapDnsProviderResult lookupEndpoints(java.lang.String, java.util.Hashtable<?, ?>);
    descriptor: (Ljava/lang/String;Ljava/util/Hashtable;)Ljavax/naming/ldap/spi/LdapDnsProviderResult;
    flags: (0x0000) 
    Code:
      stack=5, locals=6, args_size=3
        start local 0 // com.sun.jndi.ldap.LdapDnsProviderService this
        start local 1 // java.lang.String url
        start local 2 // java.util.Hashtable env
         0: .line 94
            aload 0 /* this */
            getfield com.sun.jndi.ldap.LdapDnsProviderService.providers:Ljava/util/ServiceLoader;
            invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
            astore 3 /* iterator */
        start local 3 // java.util.Iterator iterator
         1: .line 95
            new java.util.Hashtable
            dup
            aload 2 /* env */
            invokespecial java.util.Hashtable.<init>:(Ljava/util/Map;)V
            astore 4 /* envCopy */
        start local 4 // java.util.Hashtable envCopy
         2: .line 96
            aconst_null
            astore 5 /* result */
        start local 5 // javax.naming.ldap.spi.LdapDnsProviderResult result
         3: .line 98
            goto 8
         4: .line 99
      StackMap locals: java.util.Iterator java.util.Hashtable javax.naming.ldap.spi.LdapDnsProviderResult
      StackMap stack:
            aload 3 /* iterator */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast javax.naming.ldap.spi.LdapDnsProvider
            aload 1 /* url */
            aload 4 /* envCopy */
            invokevirtual javax.naming.ldap.spi.LdapDnsProvider.lookupEndpoints:(Ljava/lang/String;Ljava/util/Map;)Ljava/util/Optional;
         5: .line 100
            invokedynamic test()Ljava/util/function/Predicate;
              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;)Z
                  com/sun/jndi/ldap/LdapDnsProviderService.lambda$1(Ljavax/naming/ldap/spi/LdapDnsProviderResult;)Z (6)
                  (Ljavax/naming/ldap/spi/LdapDnsProviderResult;)Z
            invokevirtual java.util.Optional.filter:(Ljava/util/function/Predicate;)Ljava/util/Optional;
         6: .line 101
            aconst_null
            invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast javax.naming.ldap.spi.LdapDnsProviderResult
         7: .line 99
            astore 5 /* result */
         8: .line 98
      StackMap locals:
      StackMap stack:
            aload 5 /* result */
            ifnonnull 9
            aload 3 /* iterator */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         9: .line 104
      StackMap locals:
      StackMap stack:
            aload 5 /* result */
            ifnonnull 13
        10: .line 105
            new com.sun.jndi.ldap.DefaultLdapDnsProvider
            dup
            invokespecial com.sun.jndi.ldap.DefaultLdapDnsProvider.<init>:()V
            aload 1 /* url */
            aload 2 /* env */
            invokevirtual com.sun.jndi.ldap.DefaultLdapDnsProvider.lookupEndpoints:(Ljava/lang/String;Ljava/util/Map;)Ljava/util/Optional;
        11: .line 106
            new javax.naming.ldap.spi.LdapDnsProviderResult
            dup
            ldc ""
            invokestatic java.util.List.of:()Ljava/util/List;
            invokespecial javax.naming.ldap.spi.LdapDnsProviderResult.<init>:(Ljava/lang/String;Ljava/util/List;)V
            invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast javax.naming.ldap.spi.LdapDnsProviderResult
        12: .line 105
            areturn
        13: .line 108
      StackMap locals:
      StackMap stack:
            aload 5 /* result */
            areturn
        end local 5 // javax.naming.ldap.spi.LdapDnsProviderResult result
        end local 4 // java.util.Hashtable envCopy
        end local 3 // java.util.Iterator iterator
        end local 2 // java.util.Hashtable env
        end local 1 // java.lang.String url
        end local 0 // com.sun.jndi.ldap.LdapDnsProviderService this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   14     0      this  Lcom/sun/jndi/ldap/LdapDnsProviderService;
            0   14     1       url  Ljava/lang/String;
            0   14     2       env  Ljava/util/Hashtable<**>;
            1   14     3  iterator  Ljava/util/Iterator<Ljavax/naming/ldap/spi/LdapDnsProvider;>;
            2   14     4   envCopy  Ljava/util/Hashtable<**>;
            3   14     5    result  Ljavax/naming/ldap/spi/LdapDnsProviderResult;
    Exceptions:
      throws javax.naming.NamingException
    Signature: (Ljava/lang/String;Ljava/util/Hashtable<**>;)Ljavax/naming/ldap/spi/LdapDnsProviderResult;
    MethodParameters:
      Name  Flags
      url   
      env   

  private static java.util.ServiceLoader lambda$0();
    descriptor: ()Ljava/util/ServiceLoader;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 59
            ldc Ljavax/naming/ldap/spi/LdapDnsProvider;
         1: .line 60
            invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
         2: .line 58
            invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
         3: .line 60
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static boolean lambda$1(javax.naming.ldap.spi.LdapDnsProviderResult);
    descriptor: (Ljavax/naming/ldap/spi/LdapDnsProviderResult;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javax.naming.ldap.spi.LdapDnsProviderResult r
         0: .line 100
            aload 0 /* r */
            invokevirtual javax.naming.ldap.spi.LdapDnsProviderResult.getEndpoints:()Ljava/util/List;
            invokeinterface java.util.List.size:()I
            ifle 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // javax.naming.ldap.spi.LdapDnsProviderResult r
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0     r  Ljavax/naming/ldap/spi/LdapDnsProviderResult;
}
SourceFile: "LdapDnsProviderService.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles