class sun.misc.PathPermissions$1 implements java.security.PrivilegedAction<java.lang.Void>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.misc.PathPermissions$1
super_class: java.lang.Object
{
final sun.misc.PathPermissions this$0;
descriptor: Lsun/misc/PathPermissions;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(sun.misc.PathPermissions);
descriptor: (Lsun/misc/PathPermissions;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // sun.misc.PathPermissions$1 this
0: .line 548
aload 0 /* this */
aload 1
putfield sun.misc.PathPermissions$1.this$0:Lsun/misc/PathPermissions;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // sun.misc.PathPermissions$1 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/misc/PathPermissions$1;
MethodParameters:
Name Flags
this$0 final
public java.lang.Void run();
descriptor: ()Ljava/lang/Void;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 // sun.misc.PathPermissions$1 this
0: .line 550
iconst_0
istore 1 /* i */
start local 1 // int i
1: goto 27
2: .line 551
StackMap locals: int
StackMap stack:
aload 0 /* this */
getfield sun.misc.PathPermissions$1.this$0:Lsun/misc/PathPermissions;
getfield sun.misc.PathPermissions.path:[Ljava/io/File;
iload 1 /* i */
aaload
astore 2 /* f */
start local 2 // java.io.File f
3: .line 554
aload 2 /* f */
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
astore 3 /* path */
start local 3 // java.lang.String path
4: .line 555
goto 7
end local 3 // java.lang.String path
StackMap locals: sun.misc.PathPermissions$1 int java.io.File
StackMap stack: java.io.IOException
5: pop
6: .line 556
aload 2 /* f */
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
astore 3 /* path */
start local 3 // java.lang.String path
7: .line 558
StackMap locals: java.lang.String
StackMap stack:
iload 1 /* i */
ifne 9
8: .line 559
aload 0 /* this */
getfield sun.misc.PathPermissions$1.this$0:Lsun/misc/PathPermissions;
new java.io.File
dup
aload 3 /* path */
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokestatic sun.misc.Launcher.getFileURL:(Ljava/io/File;)Ljava/net/URL;
putfield sun.misc.PathPermissions.codeBase:Ljava/net/URL;
9: .line 561
StackMap locals:
StackMap stack:
aload 2 /* f */
invokevirtual java.io.File.isDirectory:()Z
ifeq 20
10: .line 562
aload 3 /* path */
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 15
11: .line 563
aload 0 /* this */
getfield sun.misc.PathPermissions$1.this$0:Lsun/misc/PathPermissions;
getfield sun.misc.PathPermissions.perms:Ljava/security/Permissions;
new java.io.FilePermission
dup
new java.lang.StringBuilder
dup
aload 3 /* path */
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: .line 564
ldc "read"
invokespecial java.io.FilePermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
13: .line 563
invokevirtual java.security.Permissions.add:(Ljava/security/Permission;)V
14: .line 565
goto 26
15: .line 566
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield sun.misc.PathPermissions$1.this$0:Lsun/misc/PathPermissions;
getfield sun.misc.PathPermissions.perms:Ljava/security/Permissions;
new java.io.FilePermission
dup
16: .line 567
new java.lang.StringBuilder
dup
aload 3 /* path */
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: .line 568
ldc "read"
invokespecial java.io.FilePermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
18: .line 566
invokevirtual java.security.Permissions.add:(Ljava/security/Permission;)V
19: .line 570
goto 26
20: .line 571
StackMap locals:
StackMap stack:
aload 3 /* path */
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 4 /* endIndex */
start local 4 // int endIndex
21: .line 572
iload 4 /* endIndex */
iconst_m1
if_icmpeq 26
22: .line 573
new java.lang.StringBuilder
dup
aload 3 /* path */
iconst_0
iload 4 /* endIndex */
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3 /* path */
23: .line 574
aload 0 /* this */
getfield sun.misc.PathPermissions$1.this$0:Lsun/misc/PathPermissions;
getfield sun.misc.PathPermissions.perms:Ljava/security/Permissions;
new java.io.FilePermission
dup
aload 3 /* path */
24: .line 575
ldc "read"
invokespecial java.io.FilePermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
25: .line 574
invokevirtual java.security.Permissions.add:(Ljava/security/Permission;)V
end local 4 // int endIndex
end local 3 // java.lang.String path
end local 2 // java.io.File f
26: .line 550
StackMap locals:
StackMap stack:
iinc 1 /* i */ 1
StackMap locals:
StackMap stack:
27: iload 1 /* i */
aload 0 /* this */
getfield sun.misc.PathPermissions$1.this$0:Lsun/misc/PathPermissions;
getfield sun.misc.PathPermissions.path:[Ljava/io/File;
arraylength
if_icmplt 2
end local 1 // int i
28: .line 581
aconst_null
areturn
end local 0 // sun.misc.PathPermissions$1 this
LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lsun/misc/PathPermissions$1;
1 28 1 i I
3 26 2 f Ljava/io/File;
4 5 3 path Ljava/lang/String;
7 26 3 path Ljava/lang/String;
21 26 4 endIndex I
Exception table:
from to target type
3 4 5 Class 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: .line 1
aload 0
invokevirtual sun.misc.PathPermissions$1.run:()Ljava/lang/Void;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/security/PrivilegedAction<Ljava/lang/Void;>;
SourceFile: "Launcher.java"
EnclosingMethod: sun.misc.PathPermissions.init:()V
NestHost: sun.misc.PathPermissions
InnerClasses:
sun.misc.PathPermissions$1