class org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter
super_class: java.lang.Object
{
private static final java.lang.String GENERIC_CLASS_LOADER_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "weblogic.utils.classloaders.GenericClassLoader"
private static final java.lang.String CLASS_PRE_PROCESSOR_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "weblogic.utils.classloaders.ClassPreProcessor"
private final java.lang.ClassLoader classLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Class<?> wlPreProcessorClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<*>;
private final java.lang.reflect.Method addPreProcessorMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.reflect.Method getClassFinderMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.reflect.Method getParentMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.reflect.Constructor<?> wlGenericClassLoaderConstructor;
descriptor: Ljava/lang/reflect/Constructor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/reflect/Constructor<*>;
public void <init>(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "weblogic.utils.classloaders.GenericClassLoader"
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 2
start local 2 2: aload 0
aload 1
ldc "weblogic.utils.classloaders.ClassPreProcessor"
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
putfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.wlPreProcessorClass:Ljava/lang/Class;
3: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
4: ldc "addInstanceClassPreProcessor"
iconst_1
anewarray java.lang.Class
dup
iconst_0
aload 0
getfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.wlPreProcessorClass:Ljava/lang/Class;
aastore
5: invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.addPreProcessorMethod:Ljava/lang/reflect/Method;
6: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc "getClassFinder"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.getClassFinderMethod:Ljava/lang/reflect/Method;
7: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc "getParent"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.getParentMethod:Ljava/lang/reflect/Method;
8: aload 0
aload 2
iconst_2
anewarray java.lang.Class
dup
iconst_0
9: aload 0
getfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.getClassFinderMethod:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
aastore
dup
iconst_1
ldc Ljava/lang/ClassLoader;
aastore
10: invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
putfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.wlGenericClassLoaderConstructor:Ljava/lang/reflect/Constructor;
11: goto 16
end local 2 12: StackMap locals: org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter java.lang.ClassLoader
StackMap stack: java.lang.Throwable
astore 3
start local 3 13: new java.lang.IllegalStateException
dup
14: ldc "Could not initialize WebLogic LoadTimeWeaver because WebLogic 10 API classes are not available"
aload 3
15: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 start local 2 16: StackMap locals: java.lang.Class
StackMap stack:
aload 2
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 20
17: new java.lang.IllegalArgumentException
dup
18: new java.lang.StringBuilder
dup
ldc "ClassLoader must be an instance of ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.classLoader:Ljava/lang/ClassLoader;
21: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/springframework/instrument/classloading/weblogic/WebLogicClassLoaderAdapter;
0 22 1 classLoader Ljava/lang/ClassLoader;
2 12 2 wlGenericClassLoaderClass Ljava/lang/Class<*>;
16 22 2 wlGenericClassLoaderClass Ljava/lang/Class<*>;
13 16 3 ex Ljava/lang/Throwable;
Exception table:
from to target type
1 11 12 Class java.lang.Throwable
MethodParameters:
Name Flags
classLoader
public void addTransformer(java.lang.instrument.ClassFileTransformer);
descriptor: (Ljava/lang/instrument/ClassFileTransformer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ldc "ClassFileTransformer must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: new org.springframework.instrument.classloading.weblogic.WebLogicClassPreProcessorAdapter
dup
aload 1
aload 0
getfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.classLoader:Ljava/lang/ClassLoader;
invokespecial org.springframework.instrument.classloading.weblogic.WebLogicClassPreProcessorAdapter.<init>:(Ljava/lang/instrument/ClassFileTransformer;Ljava/lang/ClassLoader;)V
astore 2
start local 2 2: aload 0
getfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.wlPreProcessorClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
3: iconst_1
anewarray java.lang.Class
dup
iconst_0
aload 0
getfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.wlPreProcessorClass:Ljava/lang/Class;
aastore
aload 2
4: invokestatic java.lang.reflect.Proxy.newProxyInstance:(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
astore 3
start local 3 5: aload 0
getfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.addPreProcessorMethod:Ljava/lang/reflect/Method;
aload 0
getfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.classLoader:Ljava/lang/ClassLoader;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 end local 2 6: goto 11
7: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 2
start local 2 8: new java.lang.IllegalStateException
dup
ldc "WebLogic addInstanceClassPreProcessor method threw exception"
aload 2
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 10: new java.lang.IllegalStateException
dup
ldc "Could not invoke WebLogic addInstanceClassPreProcessor method"
aload 2
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/instrument/classloading/weblogic/WebLogicClassLoaderAdapter;
0 12 1 transformer Ljava/lang/instrument/ClassFileTransformer;
2 6 2 adapter Ljava/lang/reflect/InvocationHandler;
5 6 3 adapterInstance Ljava/lang/Object;
8 9 2 ex Ljava/lang/reflect/InvocationTargetException;
10 11 2 ex Ljava/lang/Throwable;
Exception table:
from to target type
1 6 7 Class java.lang.reflect.InvocationTargetException
1 6 9 Class java.lang.Throwable
MethodParameters:
Name Flags
transformer
public java.lang.ClassLoader getClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.classLoader:Ljava/lang/ClassLoader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/instrument/classloading/weblogic/WebLogicClassLoaderAdapter;
public java.lang.ClassLoader getThrowawayClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.getClassFinderMethod:Ljava/lang/reflect/Method;
aload 0
getfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.classLoader:Ljava/lang/ClassLoader;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: aload 0
getfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.getParentMethod:Ljava/lang/reflect/Method;
aload 0
getfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.classLoader:Ljava/lang/ClassLoader;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 2: aload 0
getfield org.springframework.instrument.classloading.weblogic.WebLogicClassLoaderAdapter.wlGenericClassLoaderConstructor:Ljava/lang/reflect/Constructor;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
3: areturn
end local 2 end local 1 4: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 1
start local 1 5: new java.lang.IllegalStateException
dup
ldc "WebLogic GenericClassLoader constructor failed"
aload 1
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 7: new java.lang.IllegalStateException
dup
ldc "Could not construct WebLogic GenericClassLoader"
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/instrument/classloading/weblogic/WebLogicClassLoaderAdapter;
1 4 1 classFinder Ljava/lang/Object;
2 4 2 parent Ljava/lang/Object;
5 6 1 ex Ljava/lang/reflect/InvocationTargetException;
7 8 1 ex Ljava/lang/Throwable;
Exception table:
from to target type
0 3 4 Class java.lang.reflect.InvocationTargetException
0 3 6 Class java.lang.Throwable
}
SourceFile: "WebLogicClassLoaderAdapter.java"