class javax.xml.bind.ModuleUtil
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.xml.bind.ModuleUtil
super_class: java.lang.Object
{
private static java.util.logging.Logger logger;
descriptor: Ljava/util/logging/Logger;
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 "javax.xml.bind"
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
putstatic javax.xml.bind.ModuleUtil.logger:Ljava/util/logging/Logger;
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 Ljavax/xml/bind/ModuleUtil;
static java.lang.Class[] getClassesFromContextPath(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)[Ljava/lang/Class;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
ifnull 2
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
2: StackMap locals: java.util.List
StackMap stack:
aload 2
iconst_0
anewarray java.lang.Class
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.Class[]
areturn
3: StackMap locals:
StackMap stack:
aload 0
ldc ":"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 4: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 17
StackMap locals: java.lang.String java.lang.ClassLoader java.util.List java.lang.String[] top int int java.lang.String[]
StackMap stack:
5: aload 7
iload 5
aaload
astore 4
start local 4 6: aload 1
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".ObjectFactory"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 8
start local 8 7: aload 2
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: goto 16
end local 8 9: StackMap locals: java.lang.String java.lang.ClassLoader java.util.List java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack: java.lang.ClassNotFoundException
pop
10: aload 4
aload 1
invokestatic javax.xml.bind.ModuleUtil.findFirstByJaxbIndex:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
astore 9
start local 9 11: aload 9
ifnull 16
12: aload 2
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 13: goto 16
StackMap locals:
StackMap stack: java.io.IOException
14: astore 9
start local 9 15: new javax.xml.bind.JAXBException
dup
aload 9
invokespecial javax.xml.bind.JAXBException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 9 end local 4 16: StackMap locals: java.lang.String java.lang.ClassLoader java.util.List java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
17: iload 5
iload 6
if_icmplt 5
18: getstatic javax.xml.bind.ModuleUtil.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 20
19: getstatic javax.xml.bind.ModuleUtil.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Resolved classes from context path: {0}"
aload 2
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V
20: StackMap locals: java.lang.String java.lang.ClassLoader java.util.List java.lang.String[]
StackMap stack:
aload 2
iconst_0
anewarray java.lang.Class
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.Class[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 contextPath Ljava/lang/String;
0 21 1 classLoader Ljava/lang/ClassLoader;
1 21 2 classes Ljava/util/List<Ljava/lang/Class;>;
4 21 3 tokens [Ljava/lang/String;
6 16 4 pkg Ljava/lang/String;
7 9 8 o Ljava/lang/Class<*>;
11 13 9 firstByJaxbIndex Ljava/lang/Class;
15 16 9 e Ljava/io/IOException;
Exception table:
from to target type
6 8 9 Class java.lang.ClassNotFoundException
10 13 14 Class java.io.IOException
Exceptions:
throws javax.xml.bind.JAXBException
MethodParameters:
Name Flags
contextPath
classLoader
static java.lang.Class findFirstByJaxbIndex(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 0
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/jaxb.index"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
aload 2
invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: java.lang.String java.io.InputStream
StackMap stack:
new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 3
ldc "UTF-8"
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
5: astore 4
start local 4 6: aload 4
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 5
start local 5 7: goto 17
8: StackMap locals: java.io.BufferedReader java.lang.String
StackMap stack:
aload 5
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 5
9: aload 5
ldc "#"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 10
aload 5
invokevirtual java.lang.String.length:()I
ifne 12
10: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 5
11: goto 17
12: StackMap locals:
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 8
13: aload 4
invokevirtual java.io.BufferedReader.close:()V
14: aload 8
areturn
15: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 6
start local 6 16: new javax.xml.bind.JAXBException
dup
ldc "ContextFinder.ErrorLoadClass"
aload 5
aload 0
invokestatic javax.xml.bind.Messages.format:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
aload 6
invokespecial javax.xml.bind.JAXBException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 17: StackMap locals:
StackMap stack:
aload 5
ifnonnull 8
end local 5 18: goto 22
StackMap locals: java.lang.String java.lang.ClassLoader java.lang.String java.io.InputStream java.io.BufferedReader
StackMap stack: java.lang.Throwable
19: astore 7
20: aload 4
invokevirtual java.io.BufferedReader.close:()V
21: aload 7
athrow
22: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.io.BufferedReader.close:()V
23: aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 pkg Ljava/lang/String;
0 24 1 classLoader Ljava/lang/ClassLoader;
1 24 2 resource Ljava/lang/String;
2 24 3 resourceAsStream Ljava/io/InputStream;
6 24 4 in Ljava/io/BufferedReader;
7 18 5 className Ljava/lang/String;
16 17 6 e Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
12 13 15 Class java.lang.ClassNotFoundException
6 13 19 any
15 19 19 any
Exceptions:
throws java.io.IOException, javax.xml.bind.JAXBException
MethodParameters:
Name Flags
pkg
classLoader
static void delegateAddOpensToImplModule(java.lang.Class[], java.lang.Class<?>);
descriptor: ([Ljava/lang/Class;Ljava/lang/Class;)V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=10, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 2
start local 2 1: ldc Ljavax/xml/bind/JAXBContext;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 3
start local 3 2: aload 0
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 18
StackMap locals: java.lang.Class[] java.lang.Class java.lang.Module java.lang.Module top int int java.lang.Class[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 4
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 8
start local 8 5: aload 4
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
astore 9
start local 9 6: aload 8
invokevirtual java.lang.Module.isNamed:()Z
ifne 8
7: goto 17
8: StackMap locals: java.lang.Class[] java.lang.Class java.lang.Module java.lang.Module java.lang.Class int int java.lang.Class[] java.lang.Module java.lang.String
StackMap stack:
aload 8
aload 9
aload 3
invokevirtual java.lang.Module.isOpen:(Ljava/lang/String;Ljava/lang/Module;)Z
ifne 12
9: new javax.xml.bind.JAXBException
dup
ldc "JAXBClasses.notOpen"
10: aload 9
aload 4
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 8
invokevirtual java.lang.Module.getName:()Ljava/lang/String;
11: invokestatic javax.xml.bind.Messages.format:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokespecial javax.xml.bind.JAXBException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 8
aload 9
aload 2
invokevirtual java.lang.Module.addOpens:(Ljava/lang/String;Ljava/lang/Module;)Ljava/lang/Module;
pop
13: getstatic javax.xml.bind.ModuleUtil.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 17
14: getstatic javax.xml.bind.ModuleUtil.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Propagating openness of package {0} in {1} to {2}."
15: iconst_3
anewarray java.lang.String
dup
iconst_0
aload 9
aastore
dup
iconst_1
aload 8
invokevirtual java.lang.Module.getName:()Ljava/lang/String;
aastore
dup
iconst_2
aload 2
invokevirtual java.lang.Module.getName:()Ljava/lang/String;
aastore
16: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V
end local 9 end local 8 end local 4 17: StackMap locals: java.lang.Class[] java.lang.Class java.lang.Module java.lang.Module top int int java.lang.Class[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
18: iload 5
iload 6
if_icmplt 3
19: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 classes [Ljava/lang/Class;
0 20 1 factorySPI Ljava/lang/Class<*>;
1 20 2 implModule Ljava/lang/Module;
2 20 3 jaxbModule Ljava/lang/Module;
4 17 4 cls Ljava/lang/Class;
5 17 8 classModule Ljava/lang/Module;
6 17 9 packageName Ljava/lang/String;
Exceptions:
throws javax.xml.bind.JAXBException
Signature: ([Ljava/lang/Class;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
classes
factorySPI
}
SourceFile: "ModuleUtil.java"