class jdk.nashorn.internal.runtime.Source$FileData extends jdk.nashorn.internal.runtime.Source$URLData
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nashorn.internal.runtime.Source$FileData
super_class: jdk.nashorn.internal.runtime.Source$URLData
{
private final java.io.File file;
descriptor: Ljava/io/File;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(java.io.File, java.nio.charset.Charset);
descriptor: (Ljava/io/File;Ljava/nio/charset/Charset;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic jdk.nashorn.internal.runtime.Source.getURLFromFile:(Ljava/io/File;)Ljava/net/URL;
aload 2
invokespecial jdk.nashorn.internal.runtime.Source$URLData.<init>:(Ljava/net/URL;Ljava/nio/charset/Charset;)V
1: aload 0
aload 1
putfield jdk.nashorn.internal.runtime.Source$FileData.file:Ljava/io/File;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/Source$FileData;
0 3 1 file Ljava/io/File;
0 3 2 cs Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
file final
cs final
protected void checkPermissionAndClose();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.Source$FileData.file:Ljava/io/File;
invokevirtual java.io.File.canRead:()Z
ifne 2
1: new java.io.FileNotFoundException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield jdk.nashorn.internal.runtime.Source$FileData.file:Ljava/io/File;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " (Permission Denied)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
athrow
StackMap locals:
StackMap stack:
2: iconst_2
anewarray java.lang.Object
dup
iconst_0
3: ldc "permission checked for "
aastore
dup
iconst_1
aload 0
getfield jdk.nashorn.internal.runtime.Source$FileData.file:Ljava/io/File;
aastore
invokestatic jdk.nashorn.internal.runtime.Source.debug:([Ljava/lang/Object;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/runtime/Source$FileData;
Exceptions:
throws java.io.IOException
protected void loadMeta();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.Source$FileData.length:I
ifne 4
aload 0
getfield jdk.nashorn.internal.runtime.Source$FileData.lastModified:J
lconst_0
lcmp
ifne 4
1: aload 0
aload 0
getfield jdk.nashorn.internal.runtime.Source$FileData.file:Ljava/io/File;
invokevirtual java.io.File.length:()J
l2i
putfield jdk.nashorn.internal.runtime.Source$FileData.length:I
2: aload 0
aload 0
getfield jdk.nashorn.internal.runtime.Source$FileData.file:Ljava/io/File;
invokevirtual java.io.File.lastModified:()J
putfield jdk.nashorn.internal.runtime.Source$FileData.lastModified:J
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: ldc "loaded metadata for "
aastore
dup
iconst_1
aload 0
getfield jdk.nashorn.internal.runtime.Source$FileData.file:Ljava/io/File;
aastore
invokestatic jdk.nashorn.internal.runtime.Source.debug:([Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/runtime/Source$FileData;
protected void load();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.Source$FileData.array:[C
ifnonnull 7
1: aload 0
aload 0
getfield jdk.nashorn.internal.runtime.Source$FileData.cs:Ljava/nio/charset/Charset;
ifnonnull 2
aload 0
getfield jdk.nashorn.internal.runtime.Source$FileData.file:Ljava/io/File;
invokestatic jdk.nashorn.internal.runtime.Source.readFully:(Ljava/io/File;)[C
goto 3
StackMap locals:
StackMap stack: jdk.nashorn.internal.runtime.Source$FileData
2: aload 0
getfield jdk.nashorn.internal.runtime.Source$FileData.file:Ljava/io/File;
aload 0
getfield jdk.nashorn.internal.runtime.Source$FileData.cs:Ljava/nio/charset/Charset;
invokestatic jdk.nashorn.internal.runtime.Source.readFully:(Ljava/io/File;Ljava/nio/charset/Charset;)[C
StackMap locals: jdk.nashorn.internal.runtime.Source$FileData
StackMap stack: jdk.nashorn.internal.runtime.Source$FileData char[]
3: putfield jdk.nashorn.internal.runtime.Source$FileData.array:[C
4: aload 0
aload 0
getfield jdk.nashorn.internal.runtime.Source$FileData.array:[C
arraylength
putfield jdk.nashorn.internal.runtime.Source$FileData.length:I
5: aload 0
aload 0
getfield jdk.nashorn.internal.runtime.Source$FileData.file:Ljava/io/File;
invokevirtual java.io.File.lastModified:()J
putfield jdk.nashorn.internal.runtime.Source$FileData.lastModified:J
iconst_2
anewarray java.lang.Object
dup
iconst_0
6: ldc "loaded content for "
aastore
dup
iconst_1
aload 0
getfield jdk.nashorn.internal.runtime.Source$FileData.file:Ljava/io/File;
aastore
invokestatic jdk.nashorn.internal.runtime.Source.debug:([Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/nashorn/internal/runtime/Source$FileData;
Exceptions:
throws java.io.IOException
}
SourceFile: "Source.java"
NestHost: jdk.nashorn.internal.runtime.Source
InnerClasses:
private FileData = jdk.nashorn.internal.runtime.Source$FileData of jdk.nashorn.internal.runtime.Source
private URLData = jdk.nashorn.internal.runtime.Source$URLData of jdk.nashorn.internal.runtime.Source