class com.sun.tools.internal.ws.wscompile.JavaCompilerHelper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.internal.ws.wscompile.JavaCompilerHelper
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // com.sun.tools.internal.ws.wscompile.JavaCompilerHelper this
0: .line 44
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.sun.tools.internal.ws.wscompile.JavaCompilerHelper this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/ws/wscompile/JavaCompilerHelper;
static java.io.File getJarFile(java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/io/File;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 // java.lang.Class clazz
0: .line 46
aconst_null
astore 1 /* url */
start local 1 // java.net.URL url
1: .line 48
aload 0 /* clazz */
new java.lang.StringBuilder
dup
bipush 47
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* clazz */
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.Class.getResource:(Ljava/lang/String;)Ljava/net/URL;
invokestatic com.sun.istack.internal.tools.ParallelWorldClassLoader.toJarUrl:(Ljava/net/URL;)Ljava/net/URL;
astore 1 /* url */
2: .line 49
new java.io.File
dup
aload 1 /* url */
invokevirtual java.net.URL.toURI:()Ljava/net/URI;
invokespecial java.io.File.<init>:(Ljava/net/URI;)V
3: areturn
4: .line 50
StackMap locals: java.lang.Class java.net.URL
StackMap stack: java.lang.ClassNotFoundException
astore 2 /* e */
start local 2 // java.lang.ClassNotFoundException e
5: .line 52
new java.lang.Error
dup
aload 2 /* e */
invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 // java.lang.ClassNotFoundException e
6: .line 53
StackMap locals:
StackMap stack: java.net.MalformedURLException
astore 2 /* e */
start local 2 // java.net.MalformedURLException e
7: .line 55
new java.lang.Error
dup
aload 2 /* e */
invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 // java.net.MalformedURLException e
8: .line 56
StackMap locals:
StackMap stack: java.net.URISyntaxException
pop
9: .line 58
new java.io.File
dup
aload 1 /* url */
invokevirtual java.net.URL.getPath:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
areturn
end local 1 // java.net.URL url
end local 0 // java.lang.Class clazz
LocalVariableTable:
Start End Slot Name Signature
0 10 0 clazz Ljava/lang/Class;
1 10 1 url Ljava/net/URL;
5 6 2 e Ljava/lang/ClassNotFoundException;
7 8 2 e Ljava/net/MalformedURLException;
Exception table:
from to target type
1 3 4 Class java.lang.ClassNotFoundException
1 3 6 Class java.net.MalformedURLException
1 3 8 Class java.net.URISyntaxException
MethodParameters:
Name Flags
clazz
static boolean compile(java.lang.String[], java.io.OutputStream, com.sun.tools.internal.ws.wscompile.ErrorReceiver);
descriptor: ([Ljava/lang/String;Ljava/io/OutputStream;Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 // java.lang.String[] args
start local 1 // java.io.OutputStream out
start local 2 // com.sun.tools.internal.ws.wscompile.ErrorReceiver receiver
0: .line 64
invokestatic javax.tools.ToolProvider.getSystemJavaCompiler:()Ljavax/tools/JavaCompiler;
astore 3 /* comp */
start local 3 // javax.tools.JavaCompiler comp
1: .line 65
aload 3 /* comp */
ifnonnull 4
2: .line 66
aload 2 /* receiver */
invokestatic com.sun.tools.internal.ws.resources.JavacompilerMessages.NO_JAVACOMPILER_ERROR:()Ljava/lang/String;
aconst_null
invokevirtual com.sun.tools.internal.ws.wscompile.ErrorReceiver.error:(Ljava/lang/String;Ljava/lang/Exception;)V
3: .line 67
iconst_0
ireturn
4: .line 69
StackMap locals: javax.tools.JavaCompiler
StackMap stack:
aload 3 /* comp */
aconst_null
aload 1 /* out */
aload 1 /* out */
aload 0 /* args */
invokeinterface javax.tools.JavaCompiler.run:(Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/io/OutputStream;[Ljava/lang/String;)I
ifne 5
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
6: ireturn
end local 3 // javax.tools.JavaCompiler comp
7: .line 70
StackMap locals: java.lang.String[] java.io.OutputStream com.sun.tools.internal.ws.wscompile.ErrorReceiver
StackMap stack: java.lang.SecurityException
astore 3 /* e */
start local 3 // java.lang.SecurityException e
8: .line 71
aload 2 /* receiver */
aload 3 /* e */
invokevirtual com.sun.tools.internal.ws.wscompile.ErrorReceiver.error:(Ljava/lang/Exception;)V
end local 3 // java.lang.SecurityException e
9: .line 73
iconst_0
ireturn
end local 2 // com.sun.tools.internal.ws.wscompile.ErrorReceiver receiver
end local 1 // java.io.OutputStream out
end local 0 // java.lang.String[] args
LocalVariableTable:
Start End Slot Name Signature
0 10 0 args [Ljava/lang/String;
0 10 1 out Ljava/io/OutputStream;
0 10 2 receiver Lcom/sun/tools/internal/ws/wscompile/ErrorReceiver;
1 7 3 comp Ljavax/tools/JavaCompiler;
8 9 3 e Ljava/lang/SecurityException;
Exception table:
from to target type
0 3 7 Class java.lang.SecurityException
4 6 7 Class java.lang.SecurityException
MethodParameters:
Name Flags
args
out
receiver
}
SourceFile: "JavaCompilerHelper.java"