final class jdk.jfr.internal.SecuritySupport$Privileged extends jdk.jfr.internal.consumer.FileAccess
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.SecuritySupport$Privileged
super_class: jdk.jfr.internal.consumer.FileAccess
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jdk.jfr.internal.consumer.FileAccess.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/SecuritySupport$Privileged;
public java.io.RandomAccessFile openRAF(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)Ljava/io/RandomAccessFile;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokedynamic call(Ljava/io/File;Ljava/lang/String;)Ljava/util/concurrent/Callable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/jfr/internal/SecuritySupport$Privileged.lambda$0(Ljava/io/File;Ljava/lang/String;)Ljava/io/RandomAccessFile; (6)
()Ljava/io/RandomAccessFile;
invokestatic jdk.jfr.internal.SecuritySupport.doPrivilegedIOWithReturn:(Ljava/util/concurrent/Callable;)Ljava/lang/Object;
checkcast java.io.RandomAccessFile
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/SecuritySupport$Privileged;
0 1 1 f Ljava/io/File;
0 1 2 mode Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
f
mode
public java.nio.file.DirectoryStream<java.nio.file.Path> newDirectoryStream(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic call(Ljava/nio/file/Path;)Ljava/util/concurrent/Callable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/jfr/internal/SecuritySupport$Privileged.lambda$1(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream; (6)
()Ljava/nio/file/DirectoryStream;
invokestatic jdk.jfr.internal.SecuritySupport.doPrivilegedIOWithReturn:(Ljava/util/concurrent/Callable;)Ljava/lang/Object;
checkcast java.nio.file.DirectoryStream
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/SecuritySupport$Privileged;
0 1 1 directory Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
directory
public java.lang.String getAbsolutePath(java.io.File);
descriptor: (Ljava/io/File;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic call(Ljava/io/File;)Ljava/util/concurrent/Callable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/jfr/internal/SecuritySupport$Privileged.lambda$2(Ljava/io/File;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic jdk.jfr.internal.SecuritySupport.doPrivilegedIOWithReturn:(Ljava/util/concurrent/Callable;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/SecuritySupport$Privileged;
0 1 1 f Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
f
public long length(java.io.File);
descriptor: (Ljava/io/File;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic call(Ljava/io/File;)Ljava/util/concurrent/Callable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/jfr/internal/SecuritySupport$Privileged.lambda$3(Ljava/io/File;)Ljava/lang/Long; (6)
()Ljava/lang/Long;
invokestatic jdk.jfr.internal.SecuritySupport.doPrivilegedIOWithReturn:(Ljava/util/concurrent/Callable;)Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/SecuritySupport$Privileged;
0 1 1 f Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
f
public long fileSize(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic call(Ljava/nio/file/Path;)Ljava/util/concurrent/Callable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/jfr/internal/SecuritySupport$Privileged.lambda$4(Ljava/nio/file/Path;)Ljava/lang/Long; (6)
()Ljava/lang/Long;
invokestatic jdk.jfr.internal.SecuritySupport.doPrivilegedIOWithReturn:(Ljava/util/concurrent/Callable;)Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/SecuritySupport$Privileged;
0 1 1 p Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
p
private static java.io.RandomAccessFile lambda$0(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)Ljava/io/RandomAccessFile;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
0: new java.io.RandomAccessFile
dup
aload 0
aload 1
invokespecial java.io.RandomAccessFile.<init>:(Ljava/io/File;Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
private static java.nio.file.DirectoryStream lambda$1(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
private static java.lang.String lambda$2(java.io.File);
descriptor: (Ljava/io/File;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
private static java.lang.Long lambda$3(java.io.File);
descriptor: (Ljava/io/File;)Ljava/lang/Long;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: aload 0
invokevirtual java.io.File.length:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
private static java.lang.Long lambda$4(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/lang/Long;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: aload 0
invokestatic java.nio.file.Files.size:(Ljava/nio/file/Path;)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
SourceFile: "SecuritySupport.java"
NestHost: jdk.jfr.internal.SecuritySupport
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private final Privileged = jdk.jfr.internal.SecuritySupport$Privileged of jdk.jfr.internal.SecuritySupport