class com.sun.xml.internal.org.jvnet.mimepull.FactoryFinder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.xml.internal.org.jvnet.mimepull.FactoryFinder
super_class: java.lang.Object
{
private static java.lang.ClassLoader cl;
descriptor: Ljava/lang/ClassLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/xml/internal/org/jvnet/mimepull/FactoryFinder;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
putstatic com.sun.xml.internal.org.jvnet.mimepull.FactoryFinder.cl:Ljava/lang/ClassLoader;
return
LocalVariableTable:
Start End Slot Name Signature
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 Lcom/sun/xml/internal/org/jvnet/mimepull/FactoryFinder;
static java.lang.Object find(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokestatic com.sun.xml.internal.org.jvnet.mimepull.FactoryFinder.newInstance:(Ljava/lang/String;)Ljava/lang/Object;
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokestatic com.sun.xml.internal.org.jvnet.mimepull.FactoryFinder.findJarServiceProviderName:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 4: aload 2
ifnull 6
aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifle 6
5: aload 2
invokestatic com.sun.xml.internal.org.jvnet.mimepull.FactoryFinder.newInstance:(Ljava/lang/String;)Ljava/lang/Object;
areturn
6: StackMap locals: java.lang.String
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 factoryId Ljava/lang/String;
1 7 1 systemProp Ljava/lang/String;
4 7 2 providerName Ljava/lang/String;
Exceptions:
throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
MethodParameters:
Name Flags
factoryId
static java.lang.Object newInstance(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic com.sun.xml.internal.org.jvnet.mimepull.FactoryFinder.cl:Ljava/lang/ClassLoader;
aload 0
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
astore 2
start local 2 2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 className Ljava/lang/String;
1 3 1 providerClass Ljava/lang/Class;
2 3 2 instance Ljava/lang/Object;
Exceptions:
throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
MethodParameters:
Name Flags
className
private static java.lang.String findJarServiceProviderName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "META-INF/services/"
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;
astore 1
start local 1 1: getstatic com.sun.xml.internal.org.jvnet.mimepull.FactoryFinder.cl:Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: java.lang.String java.io.InputStream
StackMap stack:
aconst_null
astore 4
start local 4 5: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 2
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 4
6: aload 4
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 3
start local 3 7: goto 22
end local 3 StackMap locals: java.lang.String java.lang.String java.io.InputStream top java.io.BufferedReader
StackMap stack: java.io.IOException
8: pop
9: aload 4
ifnull 14
10: aload 4
invokevirtual java.io.BufferedReader.close:()V
11: goto 14
StackMap locals:
StackMap stack: java.io.IOException
12: astore 6
start local 6 13: ldc Lcom/sun/xml/internal/org/jvnet/mimepull/FactoryFinder;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
aconst_null
aload 6
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 6 14: StackMap locals:
StackMap stack:
aconst_null
areturn
15: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
16: aload 4
ifnull 21
17: aload 4
invokevirtual java.io.BufferedReader.close:()V
18: goto 21
StackMap locals: java.lang.String java.lang.String java.io.InputStream top java.io.BufferedReader java.lang.Throwable
StackMap stack: java.io.IOException
19: astore 6
start local 6 20: ldc Lcom/sun/xml/internal/org/jvnet/mimepull/FactoryFinder;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
aconst_null
aload 6
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 6 21: StackMap locals:
StackMap stack:
aload 5
athrow
start local 3 22: StackMap locals: java.lang.String java.lang.String java.io.InputStream java.lang.String java.io.BufferedReader
StackMap stack:
aload 4
ifnull 27
23: aload 4
invokevirtual java.io.BufferedReader.close:()V
24: goto 27
StackMap locals:
StackMap stack: java.io.IOException
25: astore 6
start local 6 26: ldc Lcom/sun/xml/internal/org/jvnet/mimepull/FactoryFinder;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
aconst_null
aload 6
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 6 27: StackMap locals:
StackMap stack:
aload 3
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 factoryId Ljava/lang/String;
1 28 1 serviceId Ljava/lang/String;
2 28 2 is Ljava/io/InputStream;
7 8 3 factoryClassName Ljava/lang/String;
22 28 3 factoryClassName Ljava/lang/String;
5 28 4 rd Ljava/io/BufferedReader;
13 14 6 ex Ljava/io/IOException;
20 21 6 ex Ljava/io/IOException;
26 27 6 ex Ljava/io/IOException;
Exception table:
from to target type
6 7 8 Class java.io.IOException
10 11 12 Class java.io.IOException
5 9 15 any
17 18 19 Class java.io.IOException
23 24 25 Class java.io.IOException
MethodParameters:
Name Flags
factoryId
}
SourceFile: "FactoryFinder.java"