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 46
            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 52
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 53
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 1 /* sm */
        start local 1 // java.lang.SecurityManager sm
         2: .line 54
            aload 1 /* sm */
            ifnonnull 8
         3: .line 55
            aload 0 /* this */
         4: .line 56
            ldc Ljavax/naming/ldap/spi/LdapDnsProvider;
         5: .line 57
            invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
         6: .line 55
            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 58
            goto 16
         8: .line 60
      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 59
            astore 2 /* pa */
        start local 2 // java.security.PrivilegedAction pa
        10: .line 64
            aload 0 /* this */
        11: .line 65
            aload 2 /* pa */
        12: .line 66
            aconst_null
            iconst_2
            anewarray java.security.Permission
            dup
            iconst_0
        13: .line 67
            new java.lang.RuntimePermission
            dup
            ldc "ldapDnsProvider"
            invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
            aastore
            dup
            iconst_1
        14: .line 68
            getstatic sun.security.util.SecurityConstants.GET_CLASSLOADER_PERMISSION:Ljava/lang/RuntimePermission;
            aastore
        15: .line 64
            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 70
      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 76
            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 77
      StackMap locals:
      StackMap stack:
            getstatic com.sun.jndi.ldap.LdapDnsProviderService.LOCK:Ljava/lang/Object;
            dup
            astore 0
            monitorenter
         2: .line 78
            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 79
      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 77
            aload 0
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 0
            monitorexit
         8: athrow
         9: .line 81
      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=7, 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 96
            aconst_null
            astore 3 /* result */
        start local 3 // javax.naming.ldap.spi.LdapDnsProviderResult result
         1: .line 97
            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 98
            getstatic com.sun.jndi.ldap.LdapDnsProviderService.LOCK:Ljava/lang/Object;
            dup
            astore 5
            monitorenter
         3: .line 99
            aload 0 /* this */
            getfield com.sun.jndi.ldap.LdapDnsProviderService.providers:Ljava/util/ServiceLoader;
            invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
            astore 6 /* iterator */
        start local 6 // java.util.Iterator iterator
         4: .line 100
            goto 9
         5: .line 101
      StackMap locals: com.sun.jndi.ldap.LdapDnsProviderService java.lang.String java.util.Hashtable javax.naming.ldap.spi.LdapDnsProviderResult java.util.Hashtable java.lang.Object java.util.Iterator
      StackMap stack:
            aload 6 /* 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;
         6: .line 102
            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;
         7: .line 103
            aconst_null
            invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast javax.naming.ldap.spi.LdapDnsProviderResult
         8: .line 101
            astore 3 /* result */
         9: .line 100
      StackMap locals:
      StackMap stack:
            aload 3 /* result */
            ifnonnull 10
            aload 6 /* iterator */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
        end local 6 // java.util.Iterator iterator
        10: .line 98
      StackMap locals:
      StackMap stack:
            aload 5
            monitorexit
        11: goto 14
      StackMap locals:
      StackMap stack: java.lang.Throwable
        12: aload 5
            monitorexit
        13: athrow
        14: .line 107
      StackMap locals:
      StackMap stack:
            aload 3 /* result */
            ifnonnull 18
        15: .line 108
            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;
        16: .line 109
            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
        17: .line 108
            areturn
        18: .line 111
      StackMap locals:
      StackMap stack:
            aload 3 /* result */
            areturn
        end local 4 // java.util.Hashtable envCopy
        end local 3 // javax.naming.ldap.spi.LdapDnsProviderResult result
        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   19     0      this  Lcom/sun/jndi/ldap/LdapDnsProviderService;
            0   19     1       url  Ljava/lang/String;
            0   19     2       env  Ljava/util/Hashtable<**>;
            1   19     3    result  Ljavax/naming/ldap/spi/LdapDnsProviderResult;
            2   19     4   envCopy  Ljava/util/Hashtable<**>;
            4   10     6  iterator  Ljava/util/Iterator<Ljavax/naming/ldap/spi/LdapDnsProvider;>;
      Exception table:
        from    to  target  type
           3    11      12  any
          12    13      12  any
    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 61
            ldc Ljavax/naming/ldap/spi/LdapDnsProvider;
         1: .line 62
            invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
         2: .line 60
            invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
         3: .line 62
            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 102
            aload 0 /* r */
            invokevirtual javax.naming.ldap.spi.LdapDnsProviderResult.getEndpoints:()Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 1
            iconst_0
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_1
      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