final class jdk.jfr.internal.jfc.JFC$KnownConfiguration
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.jfc.JFC$KnownConfiguration
super_class: java.lang.Object
{
private final java.lang.String content;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String filename;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private jdk.jfr.Configuration configuration;
descriptor: Ljdk/jfr/Configuration;
flags: (0x0002) ACC_PRIVATE
public void <init>(jdk.jfr.internal.SecuritySupport$SafePath);
descriptor: (Ljdk/jfr/internal/SecuritySupport$SafePath;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic jdk.jfr.internal.jfc.JFC$KnownConfiguration.readContent:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljava/lang/String;
putfield jdk.jfr.internal.jfc.JFC$KnownConfiguration.content:Ljava/lang/String;
2: aload 0
aload 1
invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toPath:()Ljava/nio/file/Path;
invokestatic jdk.jfr.internal.jfc.JFC.nameFromPath:(Ljava/nio/file/Path;)Ljava/lang/String;
putfield jdk.jfr.internal.jfc.JFC$KnownConfiguration.name:Ljava/lang/String;
3: aload 0
aload 1
invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toPath:()Ljava/nio/file/Path;
invokestatic jdk.jfr.internal.jfc.JFC.nullSafeFileName:(Ljava/nio/file/Path;)Ljava/lang/String;
putfield jdk.jfr.internal.jfc.JFC$KnownConfiguration.filename:Ljava/lang/String;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jfr/internal/jfc/JFC$KnownConfiguration;
0 5 1 knownPath Ljdk/jfr/internal/SecuritySupport$SafePath;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
knownPath
public boolean isNamed(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.jfc.JFC$KnownConfiguration.filename:Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
aload 0
getfield jdk.jfr.internal.jfc.JFC$KnownConfiguration.name:Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/jfc/JFC$KnownConfiguration;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public jdk.jfr.Configuration getConfigurationFile();
descriptor: ()Ljdk/jfr/Configuration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.jfc.JFC$KnownConfiguration.configuration:Ljdk/jfr/Configuration;
ifnonnull 2
1: aload 0
aload 0
getfield jdk.jfr.internal.jfc.JFC$KnownConfiguration.name:Ljava/lang/String;
aload 0
getfield jdk.jfr.internal.jfc.JFC$KnownConfiguration.content:Ljava/lang/String;
invokestatic jdk.jfr.internal.jfc.JFCParser.createConfiguration:(Ljava/lang/String;Ljava/lang/String;)Ljdk/jfr/Configuration;
putfield jdk.jfr.internal.jfc.JFC$KnownConfiguration.configuration:Ljdk/jfr/Configuration;
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.jfc.JFC$KnownConfiguration.configuration:Ljdk/jfr/Configuration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/jfc/JFC$KnownConfiguration;
Exceptions:
throws java.io.IOException, java.text.ParseException
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.jfc.JFC$KnownConfiguration.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/jfc/JFC$KnownConfiguration;
private static java.lang.String readContent(jdk.jfr.internal.SecuritySupport$SafePath);
descriptor: (Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokestatic jdk.jfr.internal.SecuritySupport.getFileSize:(Ljdk/jfr/internal/SecuritySupport$SafePath;)J
ldc 1048576
lcmp
ifle 2
1: new java.io.IOException
dup
ldc "Configuration with more than 1048576 characters can't be read."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aconst_null
astore 1
aconst_null
astore 2
3: aload 0
invokestatic jdk.jfr.internal.SecuritySupport.newFileInputStream:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljava/io/InputStream;
astore 3
start local 3 4: aload 3
invokestatic jdk.jfr.internal.jfc.JFC.readContent:(Ljava/io/InputStream;)Ljava/lang/String;
5: aload 3
ifnull 6
aload 3
invokevirtual java.io.InputStream.close:()V
6: StackMap locals: jdk.jfr.internal.SecuritySupport$SafePath java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.String
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 1
8: aload 3
ifnull 9
aload 3
invokevirtual java.io.InputStream.close:()V
end local 3 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 knownPath Ljdk/jfr/internal/SecuritySupport$SafePath;
4 9 3 r Ljava/io/InputStream;
Exception table:
from to target type
4 5 7 any
3 6 10 any
7 10 10 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
knownPath
}
SourceFile: "JFC.java"
NestHost: jdk.jfr.internal.jfc.JFC
InnerClasses:
public final SafePath = jdk.jfr.internal.SecuritySupport$SafePath of jdk.jfr.internal.SecuritySupport
private final KnownConfiguration = jdk.jfr.internal.jfc.JFC$KnownConfiguration of jdk.jfr.internal.jfc.JFC