public final class com.sun.tools.internal.ws.Invoker
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.tools.internal.ws.Invoker
super_class: java.lang.Object
{
static final java.lang.String[] maskedPackages;
descriptor: [Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
public static final boolean noSystemProxies;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: bipush 13
anewarray java.lang.String
dup
iconst_0
1: ldc "com.sun.istack.internal.tools."
aastore
dup
iconst_1
2: ldc "com.sun.tools.internal.jxc."
aastore
dup
iconst_2
3: ldc "com.sun.tools.internal.xjc."
aastore
dup
iconst_3
4: ldc "com.sun.tools.internal.ws."
aastore
dup
iconst_4
5: ldc "com.sun.codemodel.internal."
aastore
dup
iconst_5
6: ldc "com.sun.relaxng."
aastore
dup
bipush 6
7: ldc "com.sun.xml.internal.xsom."
aastore
dup
bipush 7
8: ldc "com.sun.xml.internal.bind."
aastore
dup
bipush 8
9: ldc "com.ctc.wstx."
aastore
dup
bipush 9
10: ldc "org.codehaus.stax2."
aastore
dup
bipush 10
11: ldc "com.sun.xml.internal.messaging.saaj."
aastore
dup
bipush 11
12: ldc "com.sun.xml.internal.ws."
aastore
dup
bipush 12
13: ldc "com.oracle.webservices.internal.api."
aastore
14: putstatic com.sun.tools.internal.ws.Invoker.maskedPackages:[Ljava/lang/String;
15: iconst_0
istore 0
start local 0 16: new java.lang.StringBuilder
dup
ldc Lcom/sun/tools/internal/ws/Invoker;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".noSystemProxies"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
istore 0
17: goto 23
StackMap locals: int
StackMap stack: java.lang.SecurityException
18: pop
19: iload 0
putstatic com.sun.tools.internal.ws.Invoker.noSystemProxies:Z
goto 24
20: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
21: iload 0
putstatic com.sun.tools.internal.ws.Invoker.noSystemProxies:Z
22: aload 1
athrow
23: StackMap locals:
StackMap stack:
iload 0
putstatic com.sun.tools.internal.ws.Invoker.noSystemProxies:Z
end local 0 24: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
16 24 0 noSysProxiesProperty Z
Exception table:
from to target type
16 17 18 Class java.lang.SecurityException
16 19 20 any
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/tools/internal/ws/Invoker;
static int invoke(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)I
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: getstatic com.sun.tools.internal.ws.Invoker.noSystemProxies:Z
ifne 4
1: ldc "java.net.useSystemProxies"
ldc "true"
invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
2: goto 4
StackMap locals:
StackMap stack: java.lang.SecurityException
3: pop
4: StackMap locals:
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 5: ldc Lcom/sun/tools/internal/ws/Invoker;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 3
start local 3 6: aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
ldc "-Xendorsed"
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 8
7: aload 3
invokestatic com.sun.tools.internal.ws.Invoker.createClassLoader:(Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
astore 3
goto 20
8: StackMap locals: java.lang.ClassLoader java.lang.ClassLoader
StackMap stack:
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
ldc "-target"
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
istore 4
start local 4 9: iload 4
iconst_m1
if_icmpeq 12
10: aload 1
iload 4
iconst_1
iadd
aaload
invokestatic com.sun.tools.internal.ws.wscompile.Options$Target.parse:(Ljava/lang/String;)Lcom/sun/tools/internal/ws/wscompile/Options$Target;
astore 5
start local 5 11: goto 13
end local 5 12: StackMap locals: int
StackMap stack:
invokestatic com.sun.tools.internal.ws.wscompile.Options$Target.getDefault:()Lcom/sun/tools/internal/ws/wscompile/Options$Target;
astore 5
start local 5 13: StackMap locals: com.sun.tools.internal.ws.wscompile.Options$Target
StackMap stack:
invokestatic com.sun.tools.internal.ws.wscompile.Options$Target.getLoadedAPIVersion:()Lcom/sun/tools/internal/ws/wscompile/Options$Target;
astore 6
start local 6 14: aload 6
aload 5
invokevirtual com.sun.tools.internal.ws.wscompile.Options$Target.isLaterThan:(Lcom/sun/tools/internal/ws/wscompile/Options$Target;)Z
ifne 20
15: ldc Ljavax/xml/ws/Service;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
ifnonnull 17
16: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 6
invokevirtual com.sun.tools.internal.ws.wscompile.Options$Target.getVersion:()Ljava/lang/String;
aload 5
invokevirtual com.sun.tools.internal.ws.wscompile.Options$Target.getVersion:()Ljava/lang/String;
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.INVOKER_NEED_ENDORSED:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
goto 18
17: StackMap locals: com.sun.tools.internal.ws.wscompile.Options$Target
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 6
invokevirtual com.sun.tools.internal.ws.wscompile.Options$Target.getVersion:()Ljava/lang/String;
ldc Ljavax/xml/ws/Service;
invokestatic com.sun.xml.internal.bind.util.Which.which:(Ljava/lang/Class;)Ljava/lang/String;
aload 5
invokevirtual com.sun.tools.internal.ws.wscompile.Options$Target.getVersion:()Ljava/lang/String;
invokestatic com.sun.tools.internal.ws.resources.WscompileMessages.WRAPPER_TASK_LOADING_INCORRECT_API:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
18: StackMap locals:
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 2
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
19: iconst_m1
ireturn
end local 6 end local 5 end local 4 20: StackMap locals:
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 3
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
21: aload 3
aload 0
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
start local 4 22: aload 4
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/io/OutputStream;
aastore
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 5
start local 5 23: aload 5
iconst_1
anewarray java.lang.Object
dup
iconst_0
getstatic java.lang.System.out:Ljava/io/PrintStream;
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 24: aload 4
ldc "run"
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc [Ljava/lang/String;
aastore
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 7
start local 7 25: aload 7
aload 6
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 8
start local 8 26: iload 8
ifeq 27
iconst_0
goto 28
StackMap locals: java.lang.String java.lang.String[] java.lang.ClassLoader java.lang.ClassLoader java.lang.Class java.lang.reflect.Constructor java.lang.Object java.lang.reflect.Method int
StackMap stack:
27: iconst_1
StackMap locals:
StackMap stack: int
28: istore 10
29: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 2
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
30: iload 10
ireturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 31: StackMap locals: java.lang.String java.lang.String[] java.lang.ClassLoader
StackMap stack: java.lang.reflect.InvocationTargetException
astore 3
start local 3 32: aload 3
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
athrow
end local 3 33: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 3
start local 3 34: aload 3
athrow
end local 3 35: StackMap locals:
StackMap stack: java.lang.Throwable
astore 9
36: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 2
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
37: aload 9
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 mainClass Ljava/lang/String;
0 38 1 args [Ljava/lang/String;
5 38 2 oldcc Ljava/lang/ClassLoader;
6 31 3 cl Ljava/lang/ClassLoader;
9 20 4 targetArgIndex I
11 12 5 targetVersion Lcom/sun/tools/internal/ws/wscompile/Options$Target;
13 20 5 targetVersion Lcom/sun/tools/internal/ws/wscompile/Options$Target;
14 20 6 loadedVersion Lcom/sun/tools/internal/ws/wscompile/Options$Target;
22 31 4 compileTool Ljava/lang/Class;
23 31 5 ctor Ljava/lang/reflect/Constructor;
24 31 6 tool Ljava/lang/Object;
25 31 7 runMethod Ljava/lang/reflect/Method;
26 31 8 r Z
32 33 3 e Ljava/lang/reflect/InvocationTargetException;
34 35 3 e Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
1 2 3 Class java.lang.SecurityException
5 18 31 Class java.lang.reflect.InvocationTargetException
20 29 31 Class java.lang.reflect.InvocationTargetException
5 18 33 Class java.lang.ClassNotFoundException
20 29 33 Class java.lang.ClassNotFoundException
5 18 35 any
20 29 35 any
31 35 35 any
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
mainClass
args
public static boolean checkIfLoading21API();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc Ljavax/xml/ws/Service;
ldc "getPort"
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Class;
aastore
dup
iconst_1
ldc [Ljavax/xml/ws/WebServiceFeature;
aastore
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
pop
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
goto 4
3: StackMap locals:
StackMap stack: java.lang.LinkageError
pop
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.lang.NoSuchMethodException
0 1 3 Class java.lang.LinkageError
public static boolean checkIfLoading22API();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc Ljavax/xml/ws/Service;
ldc "create"
iconst_3
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/net/URL;
aastore
dup
iconst_1
ldc Ljavax/xml/namespace/QName;
aastore
dup
iconst_2
ldc [Ljavax/xml/ws/WebServiceFeature;
aastore
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
pop
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
goto 4
3: StackMap locals:
StackMap stack: java.lang.LinkageError
pop
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.lang.NoSuchMethodException
0 1 3 Class java.lang.LinkageError
public static java.lang.ClassLoader createClassLoader(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokestatic com.sun.tools.internal.ws.Invoker.findIstack22APIs:(Ljava/lang/ClassLoader;)[Ljava/net/URL;
astore 1
start local 1 1: aload 1
arraylength
ifne 3
2: aload 0
areturn
3: StackMap locals: java.net.URL[]
StackMap stack:
new java.util.ArrayList
dup
getstatic com.sun.tools.internal.ws.Invoker.maskedPackages:[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 2
start local 2 4: aload 1
arraylength
iconst_1
if_icmple 7
5: aload 2
ldc "javax.xml.bind."
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 2
ldc "javax.xml.ws."
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals: java.util.List
StackMap stack:
new com.sun.istack.internal.tools.MaskingClassLoader
dup
aload 0
aload 2
invokespecial com.sun.istack.internal.tools.MaskingClassLoader.<init>:(Ljava/lang/ClassLoader;Ljava/util/Collection;)V
astore 0
8: new java.net.URLClassLoader
dup
aload 1
aload 0
invokespecial java.net.URLClassLoader.<init>:([Ljava/net/URL;Ljava/lang/ClassLoader;)V
astore 0
9: new com.sun.istack.internal.tools.ParallelWorldClassLoader
dup
aload 0
ldc ""
invokespecial com.sun.istack.internal.tools.ParallelWorldClassLoader.<init>:(Ljava/lang/ClassLoader;Ljava/lang/String;)V
astore 0
10: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 cl Ljava/lang/ClassLoader;
1 11 1 urls [Ljava/net/URL;
4 11 2 mask Ljava/util/List<Ljava/lang/String;>;
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException
MethodParameters:
Name Flags
cl
private static java.net.URL[] findIstack22APIs(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)[Ljava/net/URL;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: ldc Ljavax/xml/ws/Service;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
ifnonnull 10
2: aload 0
ldc "javax/xml/ws/EndpointContext.class"
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: new java.lang.ClassNotFoundException
dup
ldc "There's no JAX-WS 2.2 API in the classpath"
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.util.List java.net.URL
StackMap stack:
aload 1
aload 2
invokestatic com.sun.istack.internal.tools.ParallelWorldClassLoader.toJarUrl:(Ljava/net/URL;)Ljava/net/URL;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 0
ldc "javax/xml/bind/JAXBPermission.class"
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 2
7: aload 2
ifnonnull 9
8: new java.lang.ClassNotFoundException
dup
ldc "There's no JAXB 2.2 API in the classpath"
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 1
aload 2
invokestatic com.sun.istack.internal.tools.ParallelWorldClassLoader.toJarUrl:(Ljava/net/URL;)Ljava/net/URL;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 10: StackMap locals:
StackMap stack:
aload 1
aload 1
invokeinterface java.util.List.size:()I
anewarray java.net.URL
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.net.URL[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 cl Ljava/lang/ClassLoader;
1 11 1 urls Ljava/util/List<Ljava/net/URL;>;
3 10 2 res Ljava/net/URL;
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException
MethodParameters:
Name Flags
cl
}
SourceFile: "Invoker.java"
InnerClasses:
public final Target = com.sun.tools.internal.ws.wscompile.Options$Target of com.sun.tools.internal.ws.wscompile.Options