public abstract class sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine extends sun.jvm.hotspot.utilities.soql.MapScriptObject
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine
super_class: sun.jvm.hotspot.utilities.soql.MapScriptObject
{
private java.io.BufferedReader inReader;
descriptor: Ljava/io/BufferedReader;
flags: (0x0002) ACC_PRIVATE
protected final boolean debug;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private boolean quitting;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.script.ScriptEngine engine;
descriptor: Ljavax/script/ScriptEngine;
flags: (0x0002) ACC_PRIVATE
public void startConsole();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.start:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.start:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
public void defineFunction(java.lang.Object, java.lang.reflect.Method);
descriptor: (Ljava/lang/Object;Ljava/lang/reflect/Method;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.putFunction:(Ljava/lang/Object;Ljava/lang/reflect/Method;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 2 1 target Ljava/lang/Object;
0 2 2 method Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
target
method
public java.lang.Object call(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.engine:Ljavax/script/ScriptEngine;
checkcast javax.script.Invocable
astore 3
start local 3 1: aload 3
aload 1
aload 2
invokeinterface javax.script.Invocable.invokeFunction:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
2: areturn
3: StackMap locals: sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine java.lang.String java.lang.Object[] javax.script.Invocable
StackMap stack: java.lang.RuntimeException
astore 4
start local 4 4: aload 4
athrow
end local 4 5: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 6: new java.lang.RuntimeException
dup
aload 4
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 7 1 name Ljava/lang/String;
0 7 2 args [Ljava/lang/Object;
1 7 3 invocable Ljavax/script/Invocable;
4 5 4 re Ljava/lang/RuntimeException;
6 7 4 exp Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.RuntimeException
1 2 5 Class java.lang.Exception
MethodParameters:
Name Flags
name
args
public java.lang.Object address(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
iconst_1
if_icmpeq 1
getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
areturn
1: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
astore 2
start local 2 2: aload 2
ifnull 4
aload 2
instanceof sun.jvm.hotspot.utilities.soql.JSJavaObject
ifeq 4
3: aload 2
checkcast sun.jvm.hotspot.utilities.soql.JSJavaObject
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaObject.getOop:()Lsun/jvm/hotspot/oops/Oop;
invokevirtual sun.jvm.hotspot.oops.Oop.getHandle:()Lsun/jvm/hotspot/debugger/OopHandle;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
4: StackMap locals: java.lang.Object
StackMap stack:
getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 5 1 args [Ljava/lang/Object;
2 5 2 o Ljava/lang/Object;
MethodParameters:
Name Flags
args
public java.lang.Object classof(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
arraylength
iconst_1
if_icmpeq 2
1: getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
astore 2
start local 2 3: aload 2
ifnull 14
4: aload 2
instanceof sun.jvm.hotspot.utilities.soql.JSJavaObject
ifeq 10
5: aload 2
instanceof sun.jvm.hotspot.utilities.soql.JSJavaInstance
ifeq 7
6: aload 2
checkcast sun.jvm.hotspot.utilities.soql.JSJavaInstance
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaInstance.getJSJavaClass:()Lsun/jvm/hotspot/utilities/soql/JSJavaClass;
areturn
7: StackMap locals: java.lang.Object
StackMap stack:
aload 2
instanceof sun.jvm.hotspot.utilities.soql.JSJavaArray
ifeq 9
8: aload 2
checkcast sun.jvm.hotspot.utilities.soql.JSJavaArray
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaArray.getJSJavaClass:()Lsun/jvm/hotspot/utilities/soql/JSJavaClass;
areturn
9: StackMap locals:
StackMap stack:
getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
areturn
10: StackMap locals:
StackMap stack:
aload 2
instanceof java.lang.String
ifeq 13
11: aload 2
checkcast java.lang.String
invokestatic sun.jvm.hotspot.utilities.SystemDictionaryHelper.findInstanceKlass:(Ljava/lang/String;)Lsun/jvm/hotspot/oops/InstanceKlass;
astore 3
start local 3 12: aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getJSJavaFactory:()Lsun/jvm/hotspot/utilities/soql/JSJavaFactory;
aload 3
invokeinterface sun.jvm.hotspot.utilities.soql.JSJavaFactory.newJSJavaKlass:(Lsun/jvm/hotspot/oops/Klass;)Lsun/jvm/hotspot/utilities/soql/JSJavaKlass;
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaKlass.getJSJavaClass:()Lsun/jvm/hotspot/utilities/soql/JSJavaClass;
areturn
end local 3 13: StackMap locals:
StackMap stack:
getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
areturn
14: StackMap locals:
StackMap stack:
getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 15 1 args [Ljava/lang/Object;
3 15 2 o Ljava/lang/Object;
12 13 3 ik Lsun/jvm/hotspot/oops/InstanceKlass;
MethodParameters:
Name Flags
args
public java.lang.Object dumpClass(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aload 1
arraylength
ifne 2
1: getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
areturn
2: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
astore 2
start local 2 3: aload 2
ifnonnull 5
4: getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
areturn
5: StackMap locals: java.lang.Object
StackMap stack:
aconst_null
astore 3
start local 3 6: aload 2
instanceof java.lang.String
ifeq 18
7: aload 2
checkcast java.lang.String
astore 4
start local 4 8: aload 4
ldc "0x"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 16
9: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
astore 5
start local 5 10: aload 5
invokevirtual sun.jvm.hotspot.runtime.VM.getDebugger:()Lsun/jvm/hotspot/debugger/JVMDebugger;
aload 4
invokeinterface sun.jvm.hotspot.debugger.JVMDebugger.parseAddress:(Ljava/lang/String;)Lsun/jvm/hotspot/debugger/Address;
astore 6
start local 6 11: aload 6
lconst_0
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
invokestatic sun.jvm.hotspot.oops.Metadata.instantiateWrapperFor:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/oops/Metadata;
astore 7
start local 7 12: aload 7
instanceof sun.jvm.hotspot.oops.InstanceKlass
ifeq 15
13: aload 7
checkcast sun.jvm.hotspot.oops.InstanceKlass
astore 3
14: goto 24
15: StackMap locals: sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine java.lang.Object[] java.lang.Object sun.jvm.hotspot.oops.InstanceKlass java.lang.String sun.jvm.hotspot.runtime.VM sun.jvm.hotspot.debugger.Address sun.jvm.hotspot.oops.Metadata
StackMap stack:
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
areturn
end local 7 end local 6 end local 5 16: StackMap locals:
StackMap stack:
aload 2
checkcast java.lang.String
invokestatic sun.jvm.hotspot.utilities.SystemDictionaryHelper.findInstanceKlass:(Ljava/lang/String;)Lsun/jvm/hotspot/oops/InstanceKlass;
astore 3
end local 4 17: goto 24
StackMap locals:
StackMap stack:
18: aload 2
instanceof sun.jvm.hotspot.utilities.soql.JSJavaClass
ifeq 23
19: aload 2
checkcast sun.jvm.hotspot.utilities.soql.JSJavaClass
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaClass.getJSJavaKlass:()Lsun/jvm/hotspot/utilities/soql/JSJavaKlass;
astore 4
start local 4 20: aload 4
ifnull 24
aload 4
instanceof sun.jvm.hotspot.utilities.soql.JSJavaInstanceKlass
ifeq 24
21: aload 4
checkcast sun.jvm.hotspot.utilities.soql.JSJavaInstanceKlass
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaInstanceKlass.getInstanceKlass:()Lsun/jvm/hotspot/oops/InstanceKlass;
astore 3
end local 4 22: goto 24
23: StackMap locals:
StackMap stack:
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
areturn
24: StackMap locals:
StackMap stack:
aload 3
ifnonnull 25
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
areturn
25: StackMap locals:
StackMap stack:
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 4
start local 4 26: aload 1
arraylength
iconst_1
if_icmple 29
27: aload 4
aload 1
iconst_1
aaload
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
28: goto 30
29: StackMap locals: java.lang.StringBuffer
StackMap stack:
aload 4
bipush 46
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
30: StackMap locals:
StackMap stack:
aload 4
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
31: aload 4
aload 3
invokevirtual sun.jvm.hotspot.oops.InstanceKlass.getName:()Lsun/jvm/hotspot/oops/Symbol;
invokevirtual sun.jvm.hotspot.oops.Symbol.asString:()Ljava/lang/String;
bipush 47
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
32: aload 4
ldc ".class"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
33: aload 4
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
astore 5
start local 5 34: new java.io.File
dup
aload 5
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 6
start local 6 35: aload 5
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 7
start local 7 36: new java.io.File
dup
aload 5
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 8
start local 8 37: aload 8
invokevirtual java.io.File.mkdirs:()Z
pop
38: new java.io.FileOutputStream
dup
aload 6
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 9
start local 9 39: new sun.jvm.hotspot.tools.jcore.ClassWriter
dup
aload 3
aload 9
invokespecial sun.jvm.hotspot.tools.jcore.ClassWriter.<init>:(Lsun/jvm/hotspot/oops/InstanceKlass;Ljava/io/OutputStream;)V
astore 10
start local 10 40: aload 10
invokevirtual sun.jvm.hotspot.tools.jcore.ClassWriter.write:()V
41: aload 9
invokevirtual java.io.FileOutputStream.close:()V
end local 10 end local 9 end local 8 end local 7 42: goto 46
StackMap locals: sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine java.lang.Object[] java.lang.Object sun.jvm.hotspot.oops.InstanceKlass java.lang.StringBuffer java.lang.String java.io.File
StackMap stack: java.io.IOException
43: astore 7
start local 7 44: aload 0
aload 7
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
aload 7
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.printError:(Ljava/lang/String;Ljava/lang/Exception;)V
45: getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
areturn
end local 7 46: StackMap locals:
StackMap stack:
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 47 1 args [Ljava/lang/Object;
3 47 2 clazz Ljava/lang/Object;
6 47 3 ik Lsun/jvm/hotspot/oops/InstanceKlass;
8 17 4 name Ljava/lang/String;
10 16 5 vm Lsun/jvm/hotspot/runtime/VM;
11 16 6 addr Lsun/jvm/hotspot/debugger/Address;
12 16 7 metadata Lsun/jvm/hotspot/oops/Metadata;
20 22 4 jk Lsun/jvm/hotspot/utilities/soql/JSJavaKlass;
26 47 4 buf Ljava/lang/StringBuffer;
34 47 5 fileName Ljava/lang/String;
35 47 6 file Ljava/io/File;
36 42 7 index I
37 42 8 dir Ljava/io/File;
39 42 9 fos Ljava/io/FileOutputStream;
40 42 10 cw Lsun/jvm/hotspot/tools/jcore/ClassWriter;
44 46 7 exp Ljava/io/IOException;
Exception table:
from to target type
35 42 43 Class java.io.IOException
MethodParameters:
Name Flags
args
public java.lang.Object dumpHeap(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: ldc "heap.bin"
astore 2
start local 2 1: aload 1
arraylength
ifle 3
2: aload 1
iconst_0
aaload
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 2
3: StackMap locals: java.lang.String
StackMap stack:
new sun.jvm.hotspot.tools.JMap
dup
invokespecial sun.jvm.hotspot.tools.JMap.<init>:()V
aload 2
invokevirtual sun.jvm.hotspot.tools.JMap.writeHeapHprofBin:(Ljava/lang/String;)Z
ifeq 4
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
goto 5
StackMap locals:
StackMap stack:
4: getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
StackMap locals:
StackMap stack: java.lang.Boolean
5: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 6 1 args [Ljava/lang/Object;
1 6 2 fileName Ljava/lang/String;
MethodParameters:
Name Flags
args
public void help(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "Function/Variable Description"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
1: aload 0
ldc "================= ==========="
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
2: aload 0
ldc "address(jobject) returns the address of the Java object"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
3: aload 0
ldc "classof(jobject) returns the class object of the Java object"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
4: aload 0
ldc "dumpClass(jclass,[dir]) writes .class for the given Java Class"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
5: aload 0
ldc "dumpHeap([file]) writes heap in hprof binary format"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
6: aload 0
ldc "help() prints this help message"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
7: aload 0
ldc "identityHash(jobject) returns the hashCode of the Java object"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
8: aload 0
ldc "mirror(jobject) returns a local mirror of the Java object"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
9: aload 0
ldc "load([file1, file2,...]) loads JavaScript file(s). With no files, reads <stdin>"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
10: aload 0
ldc "object(string) converts a string address into Java object"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
11: aload 0
ldc "owner(jobject) returns the owner thread of this monitor or null"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
12: aload 0
ldc "sizeof(jobject) returns the size of Java object in bytes"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
13: aload 0
ldc "staticof(jclass, field) returns a static field of the given Java class"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
14: aload 0
ldc "read([prompt]) reads a single line from standard input"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
15: aload 0
ldc "quit() quits the interactive load call"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
16: aload 0
ldc "jvm the target jvm that is being debugged"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 18 1 args [Ljava/lang/Object;
MethodParameters:
Name Flags
args
public java.lang.Object identityHash(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
iconst_1
if_icmpeq 1
getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
areturn
1: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
astore 2
start local 2 2: aload 2
ifnull 4
aload 2
instanceof sun.jvm.hotspot.utilities.soql.JSJavaObject
ifeq 4
3: new java.lang.Long
dup
aload 2
checkcast sun.jvm.hotspot.utilities.soql.JSJavaObject
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaObject.getOop:()Lsun/jvm/hotspot/oops/Oop;
invokevirtual sun.jvm.hotspot.oops.Oop.identityHash:()J
invokespecial java.lang.Long.<init>:(J)V
areturn
4: StackMap locals: java.lang.Object
StackMap stack:
getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 5 1 args [Ljava/lang/Object;
2 5 2 o Ljava/lang/Object;
MethodParameters:
Name Flags
args
public void load(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
aaload
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.processSource:(Ljava/lang/String;)V
3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
aload 1
arraylength
if_icmplt 2
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 6 1 args [Ljava/lang/Object;
1 5 2 i I
MethodParameters:
Name Flags
args
public java.lang.Object mirror(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
aaload
astore 2
start local 2 1: getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
astore 3
start local 3 2: aload 2
ifnull 17
3: aload 2
instanceof sun.jvm.hotspot.utilities.soql.JSJavaObject
ifeq 10
4: aload 2
checkcast sun.jvm.hotspot.utilities.soql.JSJavaObject
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaObject.getOop:()Lsun/jvm/hotspot/oops/Oop;
astore 4
start local 4 5: aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getObjectReader:()Lsun/jvm/hotspot/utilities/ObjectReader;
aload 4
invokevirtual sun.jvm.hotspot.utilities.ObjectReader.readObject:(Lsun/jvm/hotspot/oops/Oop;)Ljava/lang/Object;
astore 3
6: goto 17
StackMap locals: sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine java.lang.Object[] java.lang.Object java.lang.Object sun.jvm.hotspot.oops.Oop
StackMap stack: java.lang.Exception
7: astore 5
start local 5 8: aload 0
getfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.debug:Z
ifeq 17
aload 5
aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getErrorStream:()Ljava/io/PrintStream;
invokevirtual java.lang.Exception.printStackTrace:(Ljava/io/PrintStream;)V
end local 5 end local 4 9: goto 17
StackMap locals:
StackMap stack:
10: aload 2
instanceof sun.jvm.hotspot.utilities.soql.JSMetadata
ifeq 17
11: aload 2
checkcast sun.jvm.hotspot.utilities.soql.JSMetadata
invokevirtual sun.jvm.hotspot.utilities.soql.JSMetadata.getMetadata:()Lsun/jvm/hotspot/oops/Metadata;
astore 4
start local 4 12: aload 4
instanceof sun.jvm.hotspot.oops.InstanceKlass
ifeq 17
13: aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getObjectReader:()Lsun/jvm/hotspot/utilities/ObjectReader;
aload 4
checkcast sun.jvm.hotspot.oops.InstanceKlass
invokevirtual sun.jvm.hotspot.utilities.ObjectReader.readClass:(Lsun/jvm/hotspot/oops/InstanceKlass;)Ljava/lang/Class;
astore 3
14: goto 17
StackMap locals: sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine java.lang.Object[] java.lang.Object java.lang.Object sun.jvm.hotspot.oops.Metadata
StackMap stack: java.lang.Exception
15: astore 5
start local 5 16: aload 0
getfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.debug:Z
ifeq 17
aload 5
aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getErrorStream:()Ljava/io/PrintStream;
invokevirtual java.lang.Exception.printStackTrace:(Ljava/io/PrintStream;)V
end local 5 end local 4 17: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 18 1 args [Ljava/lang/Object;
1 18 2 o Ljava/lang/Object;
2 18 3 res Ljava/lang/Object;
5 9 4 oop Lsun/jvm/hotspot/oops/Oop;
8 9 5 e Ljava/lang/Exception;
12 17 4 metadata Lsun/jvm/hotspot/oops/Metadata;
16 17 5 e Ljava/lang/Exception;
Exception table:
from to target type
5 6 7 Class java.lang.Exception
12 14 15 Class java.lang.Exception
MethodParameters:
Name Flags
args
public java.lang.Object owner(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
aaload
astore 2
start local 2 1: aload 2
ifnull 3
aload 2
instanceof sun.jvm.hotspot.utilities.soql.JSJavaObject
ifeq 3
2: aload 0
aload 2
checkcast sun.jvm.hotspot.utilities.soql.JSJavaObject
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getOwningThread:(Lsun/jvm/hotspot/utilities/soql/JSJavaObject;)Lsun/jvm/hotspot/utilities/soql/JSJavaThread;
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 4 1 args [Ljava/lang/Object;
1 4 2 o Ljava/lang/Object;
MethodParameters:
Name Flags
args
public java.lang.Object object(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
aaload
astore 2
start local 2 1: aload 2
ifnull 6
aload 2
instanceof java.lang.String
ifeq 6
2: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
astore 3
start local 3 3: aload 3
invokevirtual sun.jvm.hotspot.runtime.VM.getDebugger:()Lsun/jvm/hotspot/debugger/JVMDebugger;
aload 2
checkcast java.lang.String
invokeinterface sun.jvm.hotspot.debugger.JVMDebugger.parseAddress:(Ljava/lang/String;)Lsun/jvm/hotspot/debugger/Address;
astore 4
start local 4 4: aload 3
invokevirtual sun.jvm.hotspot.runtime.VM.getObjectHeap:()Lsun/jvm/hotspot/oops/ObjectHeap;
aload 4
lconst_0
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetToAsOopHandle:(J)Lsun/jvm/hotspot/debugger/OopHandle;
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.newOop:(Lsun/jvm/hotspot/debugger/OopHandle;)Lsun/jvm/hotspot/oops/Oop;
astore 5
start local 5 5: aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getJSJavaFactory:()Lsun/jvm/hotspot/utilities/soql/JSJavaFactory;
aload 5
invokeinterface sun.jvm.hotspot.utilities.soql.JSJavaFactory.newJSJavaObject:(Lsun/jvm/hotspot/oops/Oop;)Lsun/jvm/hotspot/utilities/soql/JSJavaObject;
areturn
end local 5 end local 4 end local 3 6: StackMap locals: java.lang.Object
StackMap stack:
getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 7 1 args [Ljava/lang/Object;
1 7 2 o Ljava/lang/Object;
3 6 3 vm Lsun/jvm/hotspot/runtime/VM;
4 6 4 addr Lsun/jvm/hotspot/debugger/Address;
5 6 5 oop Lsun/jvm/hotspot/oops/Oop;
MethodParameters:
Name Flags
args
public java.lang.Object sizeof(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
iconst_1
if_icmpeq 1
getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
areturn
1: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
astore 2
start local 2 2: aload 2
ifnull 4
aload 2
instanceof sun.jvm.hotspot.utilities.soql.JSJavaObject
ifeq 4
3: new java.lang.Long
dup
aload 2
checkcast sun.jvm.hotspot.utilities.soql.JSJavaObject
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaObject.getOop:()Lsun/jvm/hotspot/oops/Oop;
invokevirtual sun.jvm.hotspot.oops.Oop.getObjectSize:()J
invokespecial java.lang.Long.<init>:(J)V
areturn
4: StackMap locals: java.lang.Object
StackMap stack:
getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 5 1 args [Ljava/lang/Object;
2 5 2 o Ljava/lang/Object;
MethodParameters:
Name Flags
args
public java.lang.Object staticof(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
aaload
astore 2
start local 2 1: aload 1
iconst_1
aaload
astore 3
start local 3 2: aload 3
ifnull 4
aload 2
ifnull 4
3: aload 3
instanceof java.lang.String
ifne 5
4: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
areturn
5: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 6: aload 2
instanceof sun.jvm.hotspot.utilities.soql.JSJavaClass
ifeq 12
7: aload 2
checkcast sun.jvm.hotspot.utilities.soql.JSJavaClass
astore 5
start local 5 8: aload 5
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaClass.getJSJavaKlass:()Lsun/jvm/hotspot/utilities/soql/JSJavaKlass;
astore 6
start local 6 9: aload 6
ifnull 16
aload 6
instanceof sun.jvm.hotspot.utilities.soql.JSJavaInstanceKlass
ifeq 16
10: aload 6
checkcast sun.jvm.hotspot.utilities.soql.JSJavaInstanceKlass
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaInstanceKlass.getInstanceKlass:()Lsun/jvm/hotspot/oops/InstanceKlass;
astore 4
end local 6 end local 5 11: goto 16
StackMap locals: sun.jvm.hotspot.oops.InstanceKlass
StackMap stack:
12: aload 2
instanceof java.lang.String
ifeq 15
13: aload 2
checkcast java.lang.String
invokestatic sun.jvm.hotspot.utilities.SystemDictionaryHelper.findInstanceKlass:(Ljava/lang/String;)Lsun/jvm/hotspot/oops/InstanceKlass;
astore 4
14: goto 16
15: StackMap locals:
StackMap stack:
getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
areturn
16: StackMap locals:
StackMap stack:
aload 4
ifnonnull 18
17: getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
areturn
18: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getJSJavaFactory:()Lsun/jvm/hotspot/utilities/soql/JSJavaFactory;
astore 5
start local 5 19: aload 5
aload 4
invokeinterface sun.jvm.hotspot.utilities.soql.JSJavaFactory.newJSJavaKlass:(Lsun/jvm/hotspot/oops/Klass;)Lsun/jvm/hotspot/utilities/soql/JSJavaKlass;
checkcast sun.jvm.hotspot.utilities.soql.JSJavaInstanceKlass
aload 3
checkcast java.lang.String
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaInstanceKlass.getStaticFieldValue:(Ljava/lang/String;)Ljava/lang/Object;
20: areturn
21: StackMap locals: sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine java.lang.Object[] java.lang.Object java.lang.Object sun.jvm.hotspot.oops.InstanceKlass sun.jvm.hotspot.utilities.soql.JSJavaFactory
StackMap stack: java.lang.NoSuchFieldException
pop
22: getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.UNDEFINED:Ljava/lang/Object;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 23 1 args [Ljava/lang/Object;
1 23 2 classname Ljava/lang/Object;
2 23 3 fieldname Ljava/lang/Object;
6 23 4 ik Lsun/jvm/hotspot/oops/InstanceKlass;
8 11 5 jclass Lsun/jvm/hotspot/utilities/soql/JSJavaClass;
9 11 6 jk Lsun/jvm/hotspot/utilities/soql/JSJavaKlass;
19 23 5 factory Lsun/jvm/hotspot/utilities/soql/JSJavaFactory;
Exception table:
from to target type
19 20 21 Class java.lang.NoSuchFieldException
MethodParameters:
Name Flags
args
public java.lang.Object read(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getInputReader:()Ljava/io/BufferedReader;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.io.BufferedReader
StackMap stack:
aload 1
arraylength
ifle 6
4: aload 0
aload 1
iconst_0
aaload
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.print:(Ljava/lang/String;)V
5: aload 0
ldc ":"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.print:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
7: areturn
8: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 9: aload 3
invokevirtual java.io.IOException.printStackTrace:()V
10: new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 11 1 args [Ljava/lang/Object;
1 11 2 in Ljava/io/BufferedReader;
9 11 3 exp Ljava/io/IOException;
Exception table:
from to target type
6 7 8 Class java.io.IOException
MethodParameters:
Name Flags
args
public void quit(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.quit:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 2 1 args [Ljava/lang/Object;
MethodParameters:
Name Flags
args
public void writeln(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
aaload
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.print:(Ljava/lang/String;)V
3: aload 0
ldc " "
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.print:(Ljava/lang/String;)V
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmplt 2
end local 2 6: aload 0
ldc ""
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 8 1 args [Ljava/lang/Object;
1 6 2 i I
MethodParameters:
Name Flags
args
public void write(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
aaload
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.print:(Ljava/lang/String;)V
3: aload 0
ldc " "
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.print:(Ljava/lang/String;)V
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmplt 2
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 7 1 args [Ljava/lang/Object;
1 6 2 i I
MethodParameters:
Name Flags
args
protected void start(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.engine:Ljavax/script/ScriptEngine;
invokeinterface javax.script.ScriptEngine.getContext:()Ljavax/script/ScriptContext;
astore 2
start local 2 1: aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getOutputStream:()Ljava/io/PrintStream;
astore 3
start local 3 2: aload 3
ifnull 4
3: aload 2
new java.io.PrintWriter
dup
aload 3
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;)V
invokeinterface javax.script.ScriptContext.setWriter:(Ljava/io/Writer;)V
4: StackMap locals: javax.script.ScriptContext java.io.OutputStream
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getErrorStream:()Ljava/io/PrintStream;
astore 4
start local 4 5: aload 4
ifnull 7
6: aload 2
new java.io.PrintWriter
dup
aload 4
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;)V
invokeinterface javax.script.ScriptContext.setErrorWriter:(Ljava/io/Writer;)V
7: StackMap locals: java.io.OutputStream
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.loadInitFile:()V
8: aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.loadUserInitFile:()V
9: aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getJSJavaFactory:()Lsun/jvm/hotspot/utilities/soql/JSJavaFactory;
astore 5
start local 5 10: aload 5
ifnull 11
aload 5
invokeinterface sun.jvm.hotspot.utilities.soql.JSJavaFactory.newJSJavaVM:()Lsun/jvm/hotspot/utilities/soql/JSJavaVM;
goto 12
StackMap locals: sun.jvm.hotspot.utilities.soql.JSJavaFactory
StackMap stack:
11: aconst_null
StackMap locals:
StackMap stack: sun.jvm.hotspot.utilities.soql.JSJavaVM
12: astore 6
start local 6 13: aload 0
ldc "main"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 6
aastore
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.call:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
14: iload 1
ifeq 16
15: aload 0
aconst_null
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.processSource:(Ljava/lang/String;)V
16: StackMap locals: sun.jvm.hotspot.utilities.soql.JSJavaVM
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 17 1 console Z
1 17 2 context Ljavax/script/ScriptContext;
2 17 3 out Ljava/io/OutputStream;
5 17 4 err Ljava/io/OutputStream;
10 17 5 fac Lsun/jvm/hotspot/utilities/soql/JSJavaFactory;
13 17 6 jvm Lsun/jvm/hotspot/utilities/soql/JSJavaVM;
MethodParameters:
Name Flags
console
protected void <init>(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.jvm.hotspot.utilities.soql.MapScriptObject.<init>:()V
1: aload 0
iload 1
putfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.debug:Z
2: new javax.script.ScriptEngineManager
dup
invokespecial javax.script.ScriptEngineManager.<init>:()V
astore 2
start local 2 3: aload 0
aload 2
ldc "javascript"
invokevirtual javax.script.ScriptEngineManager.getEngineByName:(Ljava/lang/String;)Ljavax/script/ScriptEngine;
putfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.engine:Ljavax/script/ScriptEngine;
4: aload 0
getfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.engine:Ljavax/script/ScriptEngine;
ifnonnull 6
5: new java.lang.RuntimeException
dup
ldc "can't load JavaScript engine"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine int javax.script.ScriptEngineManager
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getMethods:()[Ljava/lang/reflect/Method;
astore 3
start local 3 7: iconst_0
istore 4
start local 4 8: goto 17
9: StackMap locals: java.lang.reflect.Method[] int
StackMap stack:
aload 3
iload 4
aaload
astore 5
start local 5 10: aload 5
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifne 12
11: goto 16
12: StackMap locals: java.lang.reflect.Method
StackMap stack:
aload 5
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
astore 6
start local 6 13: aload 6
arraylength
iconst_1
if_icmpne 16
14: aload 6
iconst_0
aaload
ldc [Ljava/lang/Object;
if_acmpne 16
15: aload 0
aload 0
aload 5
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.putFunction:(Ljava/lang/Object;Ljava/lang/reflect/Method;)V
end local 6 end local 5 16: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
17: iload 4
aload 3
arraylength
if_icmplt 9
end local 4 18: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 19 1 debug Z
3 19 2 manager Ljavax/script/ScriptEngineManager;
7 19 3 methods [Ljava/lang/reflect/Method;
8 18 4 i I
10 16 5 m Ljava/lang/reflect/Method;
13 16 6 argTypes [Ljava/lang/Class;
MethodParameters:
Name Flags
debug
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokespecial sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.<init>:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
protected abstract sun.jvm.hotspot.utilities.ObjectReader getObjectReader();
descriptor: ()Lsun/jvm/hotspot/utilities/ObjectReader;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract sun.jvm.hotspot.utilities.soql.JSJavaFactory getJSJavaFactory();
descriptor: ()Lsun/jvm/hotspot/utilities/soql/JSJavaFactory;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected void printPrompt(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.flush:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 3 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
protected void loadInitFile();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=1
start local 0 0: ldc Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
ldc "sa.js"
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 1
start local 1 1: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 1
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 2
start local 2 2: aload 0
aload 2
ldc "sa.js"
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.evalReader:(Ljava/io/Reader;Ljava/lang/String;)Ljava/lang/Object;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
1 4 1 is Ljava/io/InputStream;
2 4 2 reader Ljava/io/BufferedReader;
protected void loadUserInitFile();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.io.File
dup
aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getUserInitFileDir:()Ljava/lang/String;
aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getUserInitFileName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
invokevirtual java.io.File.exists:()Z
ifeq 3
aload 1
invokevirtual java.io.File.isFile:()Z
ifeq 3
2: aload 0
aload 1
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.processSource:(Ljava/lang/String;)V
3: StackMap locals: java.io.File
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
1 4 1 initFile Ljava/io/File;
protected java.lang.String getUserInitFileDir();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "user.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
protected java.lang.String getUserInitFileName();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "jsdb.js"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
protected java.io.BufferedReader getInputReader();
descriptor: ()Ljava/io/BufferedReader;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.inReader:Ljava/io/BufferedReader;
ifnonnull 2
1: aload 0
new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
getstatic java.lang.System.in:Ljava/io/InputStream;
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
putfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.inReader:Ljava/io/BufferedReader;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.inReader:Ljava/io/BufferedReader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
protected java.io.PrintStream getOutputStream();
descriptor: ()Ljava/io/PrintStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
protected java.io.PrintStream getErrorStream();
descriptor: ()Ljava/io/PrintStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.err:Ljava/io/PrintStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
protected void print(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getOutputStream:()Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
protected void println(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getOutputStream:()Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
protected void printError(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.printError:(Ljava/lang/String;Ljava/lang/Exception;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 2 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
protected void printError(java.lang.String, java.lang.Exception);
descriptor: (Ljava/lang/String;Ljava/lang/Exception;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getErrorStream:()Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: aload 2
ifnull 3
aload 0
getfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.debug:Z
ifeq 3
2: aload 2
aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getErrorStream:()Ljava/io/PrintStream;
invokevirtual java.lang.Exception.printStackTrace:(Ljava/io/PrintStream;)V
3: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 4 1 message Ljava/lang/String;
0 4 2 exp Ljava/lang/Exception;
MethodParameters:
Name Flags
message
exp
protected boolean isQuitting();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.quitting:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
protected void quit();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.quitting:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
protected javax.script.ScriptEngine getScriptEngine();
descriptor: ()Ljavax/script/ScriptEngine;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.engine:Ljavax/script/ScriptEngine;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
private sun.jvm.hotspot.utilities.soql.JSJavaThread getOwningThread(sun.jvm.hotspot.utilities.soql.JSJavaObject);
descriptor: (Lsun/jvm/hotspot/utilities/soql/JSJavaObject;)Lsun/jvm/hotspot/utilities/soql/JSJavaThread;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaObject.getOop:()Lsun/jvm/hotspot/oops/Oop;
astore 2
start local 2 1: aload 2
invokevirtual sun.jvm.hotspot.oops.Oop.getMark:()Lsun/jvm/hotspot/oops/Mark;
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aconst_null
astore 5
start local 5 4: aconst_null
astore 6
start local 6 5: aload 3
invokevirtual sun.jvm.hotspot.oops.Mark.hasMonitor:()Z
ifne 9
6: aload 3
invokevirtual sun.jvm.hotspot.oops.Mark.hasLocker:()Z
ifeq 11
7: aload 3
invokevirtual sun.jvm.hotspot.oops.Mark.locker:()Lsun/jvm/hotspot/runtime/BasicLock;
invokevirtual sun.jvm.hotspot.runtime.BasicLock.getAddress:()Lsun/jvm/hotspot/debugger/Address;
astore 5
8: goto 11
9: StackMap locals: sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine sun.jvm.hotspot.utilities.soql.JSJavaObject sun.jvm.hotspot.oops.Oop sun.jvm.hotspot.oops.Mark sun.jvm.hotspot.runtime.ObjectMonitor sun.jvm.hotspot.debugger.Address sun.jvm.hotspot.utilities.soql.JSJavaThread
StackMap stack:
aload 3
invokevirtual sun.jvm.hotspot.oops.Mark.monitor:()Lsun/jvm/hotspot/runtime/ObjectMonitor;
astore 4
10: aload 4
invokevirtual sun.jvm.hotspot.runtime.ObjectMonitor.owner:()Lsun/jvm/hotspot/debugger/Address;
astore 5
11: StackMap locals:
StackMap stack:
aload 5
ifnull 14
12: aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getJSJavaFactory:()Lsun/jvm/hotspot/utilities/soql/JSJavaFactory;
astore 7
start local 7 13: aload 7
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getThreads:()Lsun/jvm/hotspot/runtime/Threads;
aload 5
invokevirtual sun.jvm.hotspot.runtime.Threads.owningThreadFromMonitor:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/runtime/JavaThread;
invokeinterface sun.jvm.hotspot.utilities.soql.JSJavaFactory.newJSJavaThread:(Lsun/jvm/hotspot/runtime/JavaThread;)Lsun/jvm/hotspot/utilities/soql/JSJavaThread;
astore 6
end local 7 14: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 15 1 jo Lsun/jvm/hotspot/utilities/soql/JSJavaObject;
1 15 2 oop Lsun/jvm/hotspot/oops/Oop;
2 15 3 mark Lsun/jvm/hotspot/oops/Mark;
3 15 4 mon Lsun/jvm/hotspot/runtime/ObjectMonitor;
4 15 5 owner Lsun/jvm/hotspot/debugger/Address;
5 15 6 owningThread Lsun/jvm/hotspot/utilities/soql/JSJavaThread;
13 14 7 factory Lsun/jvm/hotspot/utilities/soql/JSJavaFactory;
MethodParameters:
Name Flags
jo
private void processSource(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 19
1: aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.getInputReader:()Ljava/io/BufferedReader;
pop
2: ldc "<stdin>"
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: iconst_0
istore 4
start local 4 5: StackMap locals: java.lang.String int int
StackMap stack:
iload 3
istore 5
start local 5 6: aload 0
ldc "jsdb> "
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.printPrompt:(Ljava/lang/String;)V
7: aload 0
getstatic sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.EMPTY_ARRAY:[Ljava/lang/Object;
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.read:([Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 8: aload 6
ifnonnull 11
9: iconst_1
istore 4
10: goto 26
11: StackMap locals: int java.lang.Object
StackMap stack:
iinc 3 1
12: aload 0
aload 6
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aload 2
iload 5
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.evalString:(Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/Object;
astore 7
start local 7 13: aload 7
ifnull 15
14: aload 0
aload 7
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.printError:(Ljava/lang/String;)V
15: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.isQuitting:()Z
ifeq 17
16: goto 26
end local 7 end local 6 end local 5 17: StackMap locals:
StackMap stack:
iload 4
ifeq 5
end local 4 end local 3 end local 2 18: goto 26
19: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 20: new java.io.BufferedReader
dup
new java.io.FileReader
dup
aload 1
invokespecial java.io.FileReader.<init>:(Ljava/lang/String;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 2
21: aload 0
aload 2
aload 1
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.evalReader:(Ljava/io/Reader;Ljava/lang/String;)Ljava/lang/Object;
pop
22: goto 26
StackMap locals: sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine java.lang.String java.io.Reader
StackMap stack: java.io.FileNotFoundException
23: astore 3
start local 3 24: aload 0
new java.lang.StringBuilder
dup
ldc "File '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' not found"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.println:(Ljava/lang/String;)V
25: new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 26: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 27 1 filename Ljava/lang/String;
3 18 2 sourceName Ljava/lang/String;
4 18 3 lineno I
5 18 4 hitEOF Z
6 17 5 startline I
8 17 6 source Ljava/lang/Object;
13 17 7 result Ljava/lang/Object;
20 26 2 in Ljava/io/Reader;
24 26 3 ex Ljava/io/FileNotFoundException;
Exception table:
from to target type
20 22 23 Class java.io.FileNotFoundException
MethodParameters:
Name Flags
filename
protected java.lang.Object evalString(java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.engine:Ljavax/script/ScriptEngine;
ldc "javax.script.filename"
aload 2
invokeinterface javax.script.ScriptEngine.put:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
getfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.engine:Ljavax/script/ScriptEngine;
aload 1
invokeinterface javax.script.ScriptEngine.eval:(Ljava/lang/String;)Ljava/lang/Object;
2: areturn
3: StackMap locals:
StackMap stack: javax.script.ScriptException
astore 4
start local 4 4: aload 0
aload 4
invokevirtual javax.script.ScriptException.toString:()Ljava/lang/String;
aload 4
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.printError:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 4 5: goto 8
6: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 7: aload 0
aload 4
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
aload 4
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.printError:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 4 8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 9 1 source Ljava/lang/String;
0 9 2 filename Ljava/lang/String;
0 9 3 lineNum I
4 5 4 sexp Ljavax/script/ScriptException;
7 8 4 exp Ljava/lang/Exception;
Exception table:
from to target type
0 2 3 Class javax.script.ScriptException
0 2 6 Class java.lang.Exception
MethodParameters:
Name Flags
source
filename
lineNum
private java.lang.Object evalReader(java.io.Reader, java.lang.String);
descriptor: (Ljava/io/Reader;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.engine:Ljavax/script/ScriptEngine;
ldc "javax.script.filename"
aload 2
invokeinterface javax.script.ScriptEngine.put:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
getfield sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.engine:Ljavax/script/ScriptEngine;
aload 1
invokeinterface javax.script.ScriptEngine.eval:(Ljava/io/Reader;)Ljava/lang/Object;
astore 5
2: aload 1
invokevirtual java.io.Reader.close:()V
3: goto 6
StackMap locals: sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine java.io.Reader java.lang.String top top java.lang.Object
StackMap stack: java.io.IOException
4: astore 6
start local 6 5: aload 0
aload 6
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
aload 6
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.printError:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 6 6: StackMap locals:
StackMap stack:
aload 5
areturn
7: StackMap locals: sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine java.io.Reader java.lang.String
StackMap stack: javax.script.ScriptException
astore 3
start local 3 8: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 3
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
9: aload 0
aload 3
invokevirtual javax.script.ScriptException.toString:()Ljava/lang/String;
aload 3
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.printError:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 3 10: aload 1
invokevirtual java.io.Reader.close:()V
11: goto 21
StackMap locals:
StackMap stack: java.io.IOException
12: astore 6
start local 6 13: aload 0
aload 6
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
aload 6
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.printError:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 6 14: goto 21
15: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
16: aload 1
invokevirtual java.io.Reader.close:()V
17: goto 20
StackMap locals: sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine java.io.Reader java.lang.String top java.lang.Throwable
StackMap stack: java.io.IOException
18: astore 6
start local 6 19: aload 0
aload 6
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
aload 6
invokevirtual sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine.printError:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 6 20: StackMap locals:
StackMap stack:
aload 4
athrow
21: StackMap locals: sun.jvm.hotspot.utilities.soql.JSJavaScriptEngine java.io.Reader java.lang.String
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/jvm/hotspot/utilities/soql/JSJavaScriptEngine;
0 22 1 in Ljava/io/Reader;
0 22 2 filename Ljava/lang/String;
8 10 3 sexp Ljavax/script/ScriptException;
5 6 6 ioe Ljava/io/IOException;
13 14 6 ioe Ljava/io/IOException;
19 20 6 ioe Ljava/io/IOException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
0 2 7 Class javax.script.ScriptException
10 11 12 Class java.io.IOException
0 2 15 any
7 10 15 any
16 17 18 Class java.io.IOException
MethodParameters:
Name Flags
in
filename
}
SourceFile: "JSJavaScriptEngine.java"