class javax.xml.stream.FactoryFinder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.xml.stream.FactoryFinder
super_class: java.lang.Object
{
private static final java.lang.String DEFAULT_PACKAGE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.xml.internal."
private static boolean debug;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.util.Properties cacheProps;
descriptor: Ljava/util/Properties;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile boolean firstTime;
descriptor: Z
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static final javax.xml.stream.SecuritySupport ss;
descriptor: Ljavax/xml/stream/SecuritySupport;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc Ljavax/xml/stream/FactoryFinder;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic javax.xml.stream.FactoryFinder.$assertionsDisabled:Z
3: iconst_0
putstatic javax.xml.stream.FactoryFinder.debug:Z
4: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
putstatic javax.xml.stream.FactoryFinder.cacheProps:Ljava/util/Properties;
5: iconst_1
putstatic javax.xml.stream.FactoryFinder.firstTime:Z
6: new javax.xml.stream.SecuritySupport
dup
invokespecial javax.xml.stream.SecuritySupport.<init>:()V
putstatic javax.xml.stream.FactoryFinder.ss:Ljavax/xml/stream/SecuritySupport;
7: getstatic javax.xml.stream.FactoryFinder.ss:Ljavax/xml/stream/SecuritySupport;
ldc "jaxp.debug"
invokevirtual javax.xml.stream.SecuritySupport.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 8: aload 0
ifnull 9
ldc "false"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
iconst_1
goto 10
StackMap locals: java.lang.String
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: putstatic javax.xml.stream.FactoryFinder.debug:Z
end local 0 11: goto 14
12: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
13: iconst_0
putstatic javax.xml.stream.FactoryFinder.debug:Z
14: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
8 11 0 val Ljava/lang/String;
Exception table:
from to target type
7 11 12 Class java.lang.SecurityException
void <init>();
descriptor: ()V
flags: (0x0000)
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 Ljavax/xml/stream/FactoryFinder;
private static void dPrint(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 javax.xml.stream.FactoryFinder.debug:Z
ifeq 2
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "JAXP: "
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
private static java.lang.Class getProviderClass(java.lang.String, java.lang.ClassLoader, boolean, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;ZZ)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 9
1: iload 3
ifeq 4
2: aload 0
iconst_0
ldc Ljavax/xml/stream/FactoryFinder;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
3: areturn
4: StackMap locals:
StackMap stack:
getstatic javax.xml.stream.FactoryFinder.ss:Ljavax/xml/stream/SecuritySupport;
invokevirtual javax.xml.stream.SecuritySupport.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 1
5: aload 1
ifnonnull 7
6: new java.lang.ClassNotFoundException
dup
invokespecial java.lang.ClassNotFoundException.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 1
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
8: areturn
9: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 1
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
10: areturn
11: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 4
start local 4 12: iload 2
ifeq 14
13: aload 0
iconst_0
ldc Ljavax/xml/stream/FactoryFinder;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
areturn
14: StackMap locals: java.lang.ClassNotFoundException
StackMap stack:
aload 4
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 className Ljava/lang/String;
0 15 1 cl Ljava/lang/ClassLoader;
0 15 2 doFallback Z
0 15 3 useBSClsLoader Z
12 15 4 e1 Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
0 3 11 Class java.lang.ClassNotFoundException
4 8 11 Class java.lang.ClassNotFoundException
9 10 11 Class java.lang.ClassNotFoundException
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
className
cl
doFallback
useBSClsLoader
static <T> T newInstance(java.lang.Class<T>, java.lang.String, java.lang.ClassLoader, );
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
iconst_0
invokestatic javax.xml.stream.FactoryFinder.newInstance:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/ClassLoader;ZZ)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/Class<TT;>;
0 1 1 className Ljava/lang/String;
0 1 2 cl Ljava/lang/ClassLoader;
0 1 3 doFallback Z
Exceptions:
throws javax.xml.stream.FactoryConfigurationError
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/String;Ljava/lang/ClassLoader;Z)TT;
MethodParameters:
Name Flags
type
className
cl
doFallback
static <T> T newInstance(java.lang.Class<T>, java.lang.String, java.lang.ClassLoader, boolean, );
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/ClassLoader;ZZ)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic javax.xml.stream.FactoryFinder.$assertionsDisabled:Z
ifne 1
aload 0
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 5
2: aload 1
ifnull 5
aload 1
ldc "com.sun.xml.internal."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
3: aconst_null
astore 2
4: iconst_1
istore 4
5: StackMap locals:
StackMap stack:
aload 1
aload 2
iload 3
iload 4
invokestatic javax.xml.stream.FactoryFinder.getProviderClass:(Ljava/lang/String;Ljava/lang/ClassLoader;ZZ)Ljava/lang/Class;
astore 5
start local 5 6: aload 0
aload 5
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 8
7: new java.lang.ClassCastException
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " cannot be cast to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: java.lang.Class
StackMap stack:
aload 5
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
astore 6
start local 6 9: aload 2
astore 7
start local 7 10: aload 5
aload 7
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;
javax/xml/stream/FactoryFinder.lambda$0(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic javax.xml.stream.FactoryFinder.dPrint:(Ljava/util/function/Supplier;)V
11: aload 0
aload 6
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
12: areturn
end local 7 end local 6 end local 5 13: StackMap locals: java.lang.Class java.lang.String java.lang.ClassLoader int int
StackMap stack: java.lang.ClassNotFoundException
astore 5
start local 5 14: new javax.xml.stream.FactoryConfigurationError
dup
15: new java.lang.StringBuilder
dup
ldc "Provider "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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 5
16: invokespecial javax.xml.stream.FactoryConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 5 17: StackMap locals:
StackMap stack: java.lang.Exception
astore 5
start local 5 18: new javax.xml.stream.FactoryConfigurationError
dup
19: new java.lang.StringBuilder
dup
ldc "Provider "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
20: aload 5
21: invokespecial javax.xml.stream.FactoryConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 type Ljava/lang/Class<TT;>;
0 22 1 className Ljava/lang/String;
0 22 2 cl Ljava/lang/ClassLoader;
0 22 3 doFallback Z
0 22 4 useBSClsLoader Z
6 13 5 providerClass Ljava/lang/Class<*>;
9 13 6 instance Ljava/lang/Object;
10 13 7 clD Ljava/lang/ClassLoader;
14 17 5 x Ljava/lang/ClassNotFoundException;
18 22 5 x Ljava/lang/Exception;
Exception table:
from to target type
5 12 13 Class java.lang.ClassNotFoundException
5 12 17 Class java.lang.Exception
Exceptions:
throws javax.xml.stream.FactoryConfigurationError
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/String;Ljava/lang/ClassLoader;ZZ)TT;
MethodParameters:
Name Flags
type
className
cl
doFallback
useBSClsLoader
static <T> T find(java.lang.Class<T>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aconst_null
aload 1
invokestatic javax.xml.stream.FactoryFinder.find:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/Class<TT;>;
0 1 1 fallbackClassName Ljava/lang/String;
Exceptions:
throws javax.xml.stream.FactoryConfigurationError
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/String;)TT;
MethodParameters:
Name Flags
type
fallbackClassName
static <T> T find(java.lang.Class<T>, java.lang.String, java.lang.ClassLoader, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokedynamic get(Ljava/lang/String;)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;
javax/xml/stream/FactoryFinder.lambda$1(Ljava/lang/String;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic javax.xml.stream.FactoryFinder.dPrint:(Ljava/util/function/Supplier;)V
1: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: getstatic javax.xml.stream.FactoryFinder.ss:Ljavax/xml/stream/SecuritySupport;
aload 1
invokevirtual javax.xml.stream.SecuritySupport.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 3: goto 5
end local 4 4: StackMap locals:
StackMap stack:
aload 1
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 5: StackMap locals: java.lang.String
StackMap stack:
aload 4
ifnull 13
6: aload 4
invokedynamic get(Ljava/lang/String;)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;
javax/xml/stream/FactoryFinder.lambda$2(Ljava/lang/String;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic javax.xml.stream.FactoryFinder.dPrint:(Ljava/util/function/Supplier;)V
7: aload 0
aload 4
aload 2
iconst_1
invokestatic javax.xml.stream.FactoryFinder.newInstance:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Object;
8: areturn
end local 4 9: StackMap locals: java.lang.Class java.lang.String java.lang.ClassLoader java.lang.String
StackMap stack: java.lang.SecurityException
astore 4
start local 4 10: new javax.xml.stream.FactoryConfigurationError
dup
11: new java.lang.StringBuilder
dup
ldc "Failed to read factoryId '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
12: invokespecial javax.xml.stream.FactoryConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 4 13: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 14: getstatic javax.xml.stream.FactoryFinder.firstTime:Z
ifeq 37
15: getstatic javax.xml.stream.FactoryFinder.cacheProps:Ljava/util/Properties;
dup
astore 5
monitorenter
16: getstatic javax.xml.stream.FactoryFinder.firstTime:Z
ifeq 33
17: new java.lang.StringBuilder
dup
getstatic javax.xml.stream.FactoryFinder.ss:Ljavax/xml/stream/SecuritySupport;
ldc "java.home"
invokevirtual javax.xml.stream.SecuritySupport.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: ldc "conf"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "stax.properties"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
20: new java.io.File
dup
aload 4
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 6
start local 6 21: iconst_0
putstatic javax.xml.stream.FactoryFinder.firstTime:Z
22: getstatic javax.xml.stream.FactoryFinder.ss:Ljavax/xml/stream/SecuritySupport;
aload 6
invokevirtual javax.xml.stream.SecuritySupport.doesFileExist:(Ljava/io/File;)Z
ifeq 26
23: aload 6
invokedynamic get(Ljava/io/File;)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;
javax/xml/stream/FactoryFinder.lambda$3(Ljava/io/File;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic javax.xml.stream.FactoryFinder.dPrint:(Ljava/util/function/Supplier;)V
24: getstatic javax.xml.stream.FactoryFinder.cacheProps:Ljava/util/Properties;
getstatic javax.xml.stream.FactoryFinder.ss:Ljavax/xml/stream/SecuritySupport;
aload 6
invokevirtual javax.xml.stream.SecuritySupport.getFileInputStream:(Ljava/io/File;)Ljava/io/FileInputStream;
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
25: goto 33
26: StackMap locals: java.lang.String java.util.Properties java.io.File
StackMap stack:
new java.lang.StringBuilder
dup
getstatic javax.xml.stream.FactoryFinder.ss:Ljavax/xml/stream/SecuritySupport;
ldc "java.home"
invokevirtual javax.xml.stream.SecuritySupport.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
27: ldc "conf"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "jaxp.properties"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
28: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
29: new java.io.File
dup
aload 4
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 7
start local 7 30: getstatic javax.xml.stream.FactoryFinder.ss:Ljavax/xml/stream/SecuritySupport;
aload 7
invokevirtual javax.xml.stream.SecuritySupport.doesFileExist:(Ljava/io/File;)Z
ifeq 33
31: aload 7
invokedynamic get(Ljava/io/File;)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;
javax/xml/stream/FactoryFinder.lambda$4(Ljava/io/File;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic javax.xml.stream.FactoryFinder.dPrint:(Ljava/util/function/Supplier;)V
32: getstatic javax.xml.stream.FactoryFinder.cacheProps:Ljava/util/Properties;
getstatic javax.xml.stream.FactoryFinder.ss:Ljavax/xml/stream/SecuritySupport;
aload 7
invokevirtual javax.xml.stream.SecuritySupport.getFileInputStream:(Ljava/io/File;)Ljava/io/FileInputStream;
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
end local 7 end local 6 33: StackMap locals:
StackMap stack:
aload 5
monitorexit
34: goto 37
StackMap locals:
StackMap stack: java.lang.Throwable
35: aload 5
monitorexit
36: athrow
37: StackMap locals:
StackMap stack:
getstatic javax.xml.stream.FactoryFinder.cacheProps:Ljava/util/Properties;
aload 1
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 38: aload 5
ifnull 45
39: aload 4
astore 6
start local 6 40: aload 6
aload 5
invokedynamic get(Ljava/lang/String;Ljava/lang/String;)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;
javax/xml/stream/FactoryFinder.lambda$5(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic javax.xml.stream.FactoryFinder.dPrint:(Ljava/util/function/Supplier;)V
41: aload 0
aload 5
aload 2
iconst_1
invokestatic javax.xml.stream.FactoryFinder.newInstance:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Object;
42: areturn
end local 6 end local 5 43: StackMap locals:
StackMap stack: java.lang.Exception
astore 5
start local 5 44: getstatic javax.xml.stream.FactoryFinder.debug:Z
ifeq 45
aload 5
invokevirtual java.lang.Exception.printStackTrace:()V
end local 5 45: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 49
46: aload 0
aload 2
invokestatic javax.xml.stream.FactoryFinder.findServiceProvider:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/lang/Object;
astore 5
start local 5 47: aload 5
ifnull 50
48: aload 5
areturn
end local 5 49: StackMap locals:
StackMap stack:
getstatic javax.xml.stream.FactoryFinder.$assertionsDisabled:Z
ifne 50
aload 3
ifnull 50
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
50: StackMap locals:
StackMap stack:
aload 3
ifnonnull 54
51: new javax.xml.stream.FactoryConfigurationError
dup
52: new java.lang.StringBuilder
dup
ldc "Provider for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " cannot be found"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
53: invokespecial javax.xml.stream.FactoryConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
54: StackMap locals:
StackMap stack:
aload 3
invokedynamic get(Ljava/lang/String;)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;
javax/xml/stream/FactoryFinder.lambda$6(Ljava/lang/String;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic javax.xml.stream.FactoryFinder.dPrint:(Ljava/util/function/Supplier;)V
55: aload 0
aload 3
aload 2
iconst_1
invokestatic javax.xml.stream.FactoryFinder.newInstance:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 56 0 type Ljava/lang/Class<TT;>;
0 56 1 factoryId Ljava/lang/String;
0 56 2 cl Ljava/lang/ClassLoader;
0 56 3 fallbackClassName Ljava/lang/String;
3 4 4 systemProp Ljava/lang/String;
5 9 4 systemProp Ljava/lang/String;
10 13 4 se Ljava/lang/SecurityException;
14 56 4 configFile Ljava/lang/String;
21 33 6 fStax Ljava/io/File;
30 33 7 fJaxp Ljava/io/File;
38 43 5 factoryClassName Ljava/lang/String;
40 43 6 foundIn Ljava/lang/String;
44 45 5 ex Ljava/lang/Exception;
47 49 5 provider TT;
Exception table:
from to target type
1 8 9 Class java.lang.SecurityException
16 34 35 any
35 36 35 any
14 42 43 Class java.lang.Exception
Exceptions:
throws javax.xml.stream.FactoryConfigurationError
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/String;Ljava/lang/ClassLoader;Ljava/lang/String;)TT;
MethodParameters:
Name Flags
type
factoryId
cl
fallbackClassName
private static <T> T findServiceProvider(java.lang.Class<T>, java.lang.ClassLoader);
descriptor: (Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: new javax.xml.stream.FactoryFinder$1
dup
aload 1
aload 0
invokespecial javax.xml.stream.FactoryFinder$1.<init>:(Ljava/lang/ClassLoader;Ljava/lang/Class;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.util.ServiceConfigurationError
astore 2
start local 2 3: new java.lang.RuntimeException
dup
4: new java.lang.StringBuilder
dup
ldc "Provider for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " cannot be created"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
5: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
astore 3
start local 3 6: new javax.xml.stream.FactoryConfigurationError
dup
aload 3
aload 3
invokevirtual java.lang.RuntimeException.getMessage:()Ljava/lang/String;
invokespecial javax.xml.stream.FactoryConfigurationError.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
7: astore 4
start local 4 8: aload 4
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 type Ljava/lang/Class<TT;>;
0 9 1 cl Ljava/lang/ClassLoader;
3 9 2 e Ljava/util/ServiceConfigurationError;
6 9 3 x Ljava/lang/RuntimeException;
8 9 4 error Ljavax/xml/stream/FactoryConfigurationError;
Exception table:
from to target type
0 1 2 Class java.util.ServiceConfigurationError
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/ClassLoader;)TT;
MethodParameters:
Name Flags
type final
cl final
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
private static java.lang.String lambda$1(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.StringBuilder
dup
ldc "find factoryId ="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$2(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.StringBuilder
dup
ldc "found system property, value="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$3(java.io.File);
descriptor: (Ljava/io/File;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.StringBuilder
dup
ldc "Read properties file "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$4(java.io.File);
descriptor: (Ljava/io/File;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.StringBuilder
dup
ldc "Read properties file "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$5(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)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 "found in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " value="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$6(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.StringBuilder
dup
ldc "loaded from fallback value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "FactoryFinder.java"
NestMembers:
javax.xml.stream.FactoryFinder$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
javax.xml.stream.FactoryFinder$1