class jdk.nashorn.internal.runtime.CodeStore$DirectoryCodeStore$1 implements java.security.PrivilegedExceptionAction<java.io.File>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nashorn.internal.runtime.CodeStore$DirectoryCodeStore$1
super_class: java.lang.Object
{
private final java.lang.String val$path;
descriptor: Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final jdk.nashorn.internal.runtime.ScriptEnvironment val$env;
descriptor: Ljdk/nashorn/internal/runtime/ScriptEnvironment;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final boolean val$readOnly;
descriptor: Z
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.lang.String, jdk.nashorn.internal.runtime.ScriptEnvironment, boolean);
descriptor: (Ljava/lang/String;Ljdk/nashorn/internal/runtime/ScriptEnvironment;Z)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield jdk.nashorn.internal.runtime.CodeStore$DirectoryCodeStore$1.val$path:Ljava/lang/String;
aload 0
aload 2
putfield jdk.nashorn.internal.runtime.CodeStore$DirectoryCodeStore$1.val$env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
aload 0
iload 3
putfield jdk.nashorn.internal.runtime.CodeStore$DirectoryCodeStore$1.val$readOnly:Z
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/CodeStore$DirectoryCodeStore$1;
MethodParameters:
Name Flags
val$path final
val$env final
val$readOnly final
public java.io.File run();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new java.io.File
dup
aload 0
getfield jdk.nashorn.internal.runtime.CodeStore$DirectoryCodeStore$1.val$path:Ljava/lang/String;
aload 0
getfield jdk.nashorn.internal.runtime.CodeStore$DirectoryCodeStore$1.val$env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
invokestatic jdk.nashorn.internal.runtime.CodeStore$DirectoryCodeStore.getVersionDir:(Ljdk/nashorn/internal/runtime/ScriptEnvironment;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.io.File.getAbsoluteFile:()Ljava/io/File;
astore 1
start local 1 1: aload 0
getfield jdk.nashorn.internal.runtime.CodeStore$DirectoryCodeStore$1.val$readOnly:Z
ifeq 6
2: aload 1
invokevirtual java.io.File.exists:()Z
ifeq 3
aload 1
invokevirtual java.io.File.isDirectory:()Z
ifne 4
3: StackMap locals: java.io.File
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Not a directory: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.File.canRead:()Z
ifne 12
5: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Directory not readable: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.File.exists:()Z
ifne 8
aload 1
invokevirtual java.io.File.mkdirs:()Z
ifne 8
7: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Could not create directory: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.File.isDirectory:()Z
ifne 10
9: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Not a directory: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.File.canRead:()Z
ifeq 11
aload 1
invokevirtual java.io.File.canWrite:()Z
ifne 12
11: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Directory not readable or writable: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/nashorn/internal/runtime/CodeStore$DirectoryCodeStore$1;
1 13 1 dir Ljava/io/File;
Exceptions:
throws java.io.IOException
public java.lang.Object run();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual jdk.nashorn.internal.runtime.CodeStore$DirectoryCodeStore$1.run:()Ljava/io/File;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Ljava/lang/Object;Ljava/security/PrivilegedExceptionAction<Ljava/io/File;>;
SourceFile: "CodeStore.java"
EnclosingMethod: jdk.nashorn.internal.runtime.CodeStore$DirectoryCodeStore.checkDirectory:(Ljava/lang/String;Ljdk/nashorn/internal/runtime/ScriptEnvironment;Z)Ljava/io/File;
NestHost: jdk.nashorn.internal.runtime.CodeStore
InnerClasses:
public DirectoryCodeStore = jdk.nashorn.internal.runtime.CodeStore$DirectoryCodeStore of jdk.nashorn.internal.runtime.CodeStore
jdk.nashorn.internal.runtime.CodeStore$DirectoryCodeStore$1