public final class com.sun.org.apache.xerces.internal.utils.ObjectFactory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.xerces.internal.utils.ObjectFactory
super_class: java.lang.Object
{
private static final java.lang.String JAXP_INTERNAL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.org.apache"
private static final java.lang.String STAX_INTERNAL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.xml.internal"
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=1, locals=0, args_size=0
0: invokestatic com.sun.org.apache.xerces.internal.utils.ObjectFactory.isDebugEnabled:()Z
putstatic com.sun.org.apache.xerces.internal.utils.ObjectFactory.DEBUG:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xerces/internal/utils/ObjectFactory;
private static boolean isDebugEnabled();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "xerces.debug"
invokestatic com.sun.org.apache.xerces.internal.utils.SecuritySupport.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ifnull 2
ldc "false"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
iconst_1
ireturn
StackMap locals: java.lang.String
StackMap stack:
2: iconst_0
3: ireturn
end local 0 4: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
5: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
1 4 0 val Ljava/lang/String;
Exception table:
from to target type
0 3 4 Class java.lang.SecurityException
private static void debugPrintln(java.util.function.Supplier<java.lang.String>);
descriptor: (Ljava/util/function/Supplier;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic com.sun.org.apache.xerces.internal.utils.ObjectFactory.DEBUG:Z
ifeq 2
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "XERCES: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 msgGen Ljava/util/function/Supplier<Ljava/lang/String;>;
Signature: (Ljava/util/function/Supplier<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
msgGen
public static java.lang.ClassLoader findClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
invokestatic com.sun.org.apache.xerces.internal.utils.SecuritySupport.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 0
start local 0 3: invokestatic com.sun.org.apache.xerces.internal.utils.SecuritySupport.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 1
start local 1 4: aload 1
astore 2
start local 2 5: StackMap locals: java.lang.ClassLoader java.lang.ClassLoader java.lang.ClassLoader
StackMap stack:
aload 0
aload 2
if_acmpne 15
6: ldc Lcom/sun/org/apache/xerces/internal/utils/ObjectFactory;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 3
start local 3 7: aload 1
astore 2
8: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 3
aload 2
if_acmpne 10
9: aload 1
areturn
10: StackMap locals:
StackMap stack:
aload 2
ifnonnull 12
11: goto 14
12: StackMap locals:
StackMap stack:
aload 2
invokestatic com.sun.org.apache.xerces.internal.utils.SecuritySupport.getParentClassLoader:(Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
astore 2
13: goto 8
14: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 15: StackMap locals:
StackMap stack:
aload 2
ifnonnull 17
16: goto 19
17: StackMap locals:
StackMap stack:
aload 2
invokestatic com.sun.org.apache.xerces.internal.utils.SecuritySupport.getParentClassLoader:(Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
astore 2
18: goto 5
19: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
3 20 0 context Ljava/lang/ClassLoader;
4 20 1 system Ljava/lang/ClassLoader;
5 20 2 chain Ljava/lang/ClassLoader;
7 15 3 current Ljava/lang/ClassLoader;
Exceptions:
throws com.sun.org.apache.xerces.internal.utils.ConfigurationError
public static java.lang.Object newInstance(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 2
1: aload 0
aconst_null
iload 1
invokestatic com.sun.org.apache.xerces.internal.utils.ObjectFactory.newInstance:(Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 0
3: invokestatic com.sun.org.apache.xerces.internal.utils.ObjectFactory.findClassLoader:()Ljava/lang/ClassLoader;
iload 1
4: invokestatic com.sun.org.apache.xerces.internal.utils.ObjectFactory.newInstance:(Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 className Ljava/lang/String;
0 5 1 doFallback Z
Exceptions:
throws com.sun.org.apache.xerces.internal.utils.ConfigurationError
MethodParameters:
Name Flags
className
doFallback
public static java.lang.Object newInstance(java.lang.String, java.lang.ClassLoader, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokestatic com.sun.org.apache.xerces.internal.utils.ObjectFactory.findProviderClass:(Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Class;
astore 3
start local 3 1: aload 3
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
astore 4
start local 4 2: aload 3
aload 1
invokedynamic get(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/function/Supplier;
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/org/apache/xerces/internal/utils/ObjectFactory.lambda$0(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic com.sun.org.apache.xerces.internal.utils.ObjectFactory.debugPrintln:(Ljava/util/function/Supplier;)V
3: aload 4
4: areturn
end local 4 end local 3 5: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 3
start local 3 6: new com.sun.org.apache.xerces.internal.utils.ConfigurationError
dup
7: new java.lang.StringBuilder
dup
ldc "Provider "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not found"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
8: invokespecial com.sun.org.apache.xerces.internal.utils.ConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 9: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 10: new com.sun.org.apache.xerces.internal.utils.ConfigurationError
dup
11: new java.lang.StringBuilder
dup
ldc "Provider "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " could not be instantiated: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: aload 3
13: invokespecial com.sun.org.apache.xerces.internal.utils.ConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 className Ljava/lang/String;
0 14 1 cl Ljava/lang/ClassLoader;
0 14 2 doFallback Z
1 5 3 providerClass Ljava/lang/Class;
2 5 4 instance Ljava/lang/Object;
6 9 3 x Ljava/lang/ClassNotFoundException;
10 14 3 x Ljava/lang/Exception;
Exception table:
from to target type
0 4 5 Class java.lang.ClassNotFoundException
0 4 9 Class java.lang.Exception
Exceptions:
throws com.sun.org.apache.xerces.internal.utils.ConfigurationError
MethodParameters:
Name Flags
className
cl
doFallback
public static java.lang.Class findProviderClass(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: invokestatic com.sun.org.apache.xerces.internal.utils.ObjectFactory.findClassLoader:()Ljava/lang/ClassLoader;
iload 1
2: invokestatic com.sun.org.apache.xerces.internal.utils.ObjectFactory.findProviderClass:(Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 className Ljava/lang/String;
0 3 1 doFallback Z
Exceptions:
throws java.lang.ClassNotFoundException, com.sun.org.apache.xerces.internal.utils.ConfigurationError
MethodParameters:
Name Flags
className
doFallback
public static java.lang.Class findProviderClass(java.lang.String, java.lang.ClassLoader, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 1: aload 3
ifnull 10
2: aload 0
ldc "com.sun.org.apache"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 4
3: aload 0
ldc "com.sun.xml.internal"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
4: StackMap locals: java.lang.SecurityManager
StackMap stack:
aconst_null
astore 1
5: goto 10
6: StackMap locals:
StackMap stack:
aload 0
ldc "."
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 4
start local 4 7: aload 0
astore 5
start local 5 8: iload 4
iconst_m1
if_icmpeq 9
aload 0
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
9: StackMap locals: int java.lang.String
StackMap stack:
aload 3
aload 5
invokevirtual java.lang.SecurityManager.checkPackageAccess:(Ljava/lang/String;)V
end local 5 end local 4 10: StackMap locals:
StackMap stack:
aload 1
ifnonnull 13
11: aload 0
iconst_0
ldc Lcom/sun/org/apache/xerces/internal/utils/ObjectFactory;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 4
start local 4 12: goto 27
end local 4 13: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
start local 4 14: goto 27
end local 4 StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
15: astore 5
start local 5 16: iload 2
ifeq 26
17: ldc Lcom/sun/org/apache/xerces/internal/utils/ObjectFactory;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 6
start local 6 18: aload 6
ifnonnull 21
19: aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
start local 4 20: goto 27
end local 4 StackMap locals: java.lang.String java.lang.ClassLoader int java.lang.SecurityManager top java.lang.ClassNotFoundException java.lang.ClassLoader
StackMap stack:
21: aload 1
aload 6
if_acmpeq 25
22: aload 6
astore 1
23: aload 1
aload 0
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
start local 4 24: goto 27
end local 4 25: StackMap locals:
StackMap stack:
aload 5
athrow
end local 6 26: StackMap locals:
StackMap stack:
aload 5
athrow
end local 5 start local 4 27: StackMap locals: java.lang.String java.lang.ClassLoader int java.lang.SecurityManager java.lang.Class
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 className Ljava/lang/String;
0 28 1 cl Ljava/lang/ClassLoader;
0 28 2 doFallback Z
1 28 3 security Ljava/lang/SecurityManager;
7 10 4 lastDot I
8 10 5 packageName Ljava/lang/String;
12 13 4 providerClass Ljava/lang/Class;
14 15 4 providerClass Ljava/lang/Class;
20 21 4 providerClass Ljava/lang/Class;
24 25 4 providerClass Ljava/lang/Class;
27 28 4 providerClass Ljava/lang/Class;
16 27 5 x Ljava/lang/ClassNotFoundException;
18 26 6 current Ljava/lang/ClassLoader;
Exception table:
from to target type
13 14 15 Class java.lang.ClassNotFoundException
Exceptions:
throws java.lang.ClassNotFoundException, com.sun.org.apache.xerces.internal.utils.ConfigurationError
MethodParameters:
Name Flags
className
cl
doFallback
private static java.lang.String lambda$0(java.lang.Class, java.lang.ClassLoader);
descriptor: (Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.StringBuilder
dup
ldc "created new instance of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
1: ldc " using ClassLoader: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ObjectFactory.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles