public final class java.io.ObjectInputFilter$Config
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.io.ObjectInputFilter$Config
super_class: java.lang.Object
{
private static final java.lang.Object serialFilterLock;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.System$Logger configLog;
descriptor: Ljava/lang/System$Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String SERIAL_FILTER_PROPNAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jdk.serialFilter"
private static final java.io.ObjectInputFilter configuredFilter;
descriptor: Ljava/io/ObjectInputFilter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile java.io.ObjectInputFilter serialFilter;
descriptor: Ljava/io/ObjectInputFilter;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic java.io.ObjectInputFilter$Config.serialFilterLock:Ljava/lang/Object;
1: invokedynamic run()Ljava/security/PrivilegedAction;
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;
java/io/ObjectInputFilter$Config.lambda$0()Ljava/io/ObjectInputFilter; (6)
()Ljava/io/ObjectInputFilter;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.io.ObjectInputFilter
2: putstatic java.io.ObjectInputFilter$Config.configuredFilter:Ljava/io/ObjectInputFilter;
3: getstatic java.io.ObjectInputFilter$Config.configuredFilter:Ljava/io/ObjectInputFilter;
ifnull 4
ldc "java.io.serialization"
invokestatic java.lang.System.getLogger:(Ljava/lang/String;)Ljava/lang/System$Logger;
goto 5
StackMap locals:
StackMap stack:
4: aconst_null
StackMap locals:
StackMap stack: java.lang.System$Logger
5: putstatic java.io.ObjectInputFilter$Config.configLog:Ljava/lang/System$Logger;
6: invokedynamic createFilter2()Ljdk/internal/access/JavaObjectInputFilterAccess;
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/String;)Ljava/io/ObjectInputFilter;
java/io/ObjectInputFilter$Config.createFilter2(Ljava/lang/String;)Ljava/io/ObjectInputFilter; (6)
(Ljava/lang/String;)Ljava/io/ObjectInputFilter;
invokestatic jdk.internal.access.SharedSecrets.setJavaObjectInputFilterAccess:(Ljdk/internal/access/JavaObjectInputFilterAccess;)V
7: getstatic java.io.ObjectInputFilter$Config.configuredFilter:Ljava/io/ObjectInputFilter;
putstatic java.io.ObjectInputFilter$Config.serialFilter:Ljava/io/ObjectInputFilter;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/io/ObjectInputFilter$Config;
static void filterLog(java.lang.System$Logger$Level, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic java.io.ObjectInputFilter$Config.configLog:Ljava/lang/System$Logger;
ifnull 2
1: getstatic java.io.ObjectInputFilter$Config.configLog:Ljava/lang/System$Logger;
aload 0
aload 1
aload 2
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 level Ljava/lang/System$Logger$Level;
0 3 1 msg Ljava/lang/String;
0 3 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
level
msg
args
public static java.io.ObjectInputFilter getSerialFilter();
descriptor: ()Ljava/io/ObjectInputFilter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.io.ObjectInputFilter$Config.serialFilter:Ljava/io/ObjectInputFilter;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static void setSerialFilter(java.io.ObjectInputFilter);
descriptor: (Ljava/io/ObjectInputFilter;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
ldc "filter"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 1
getstatic java.io.ObjectStreamConstants.SERIAL_FILTER_PERMISSION:Ljava/io/SerializablePermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
4: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic java.io.ObjectInputFilter$Config.serialFilterLock:Ljava/lang/Object;
dup
astore 2
monitorenter
5: getstatic java.io.ObjectInputFilter$Config.serialFilter:Ljava/io/ObjectInputFilter;
ifnull 7
6: new java.lang.IllegalStateException
dup
ldc "Serial filter can only be set once"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.lang.Object
StackMap stack:
aload 0
putstatic java.io.ObjectInputFilter$Config.serialFilter:Ljava/io/ObjectInputFilter;
8: aload 2
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 filter Ljava/io/ObjectInputFilter;
2 13 1 sm Ljava/lang/SecurityManager;
Exception table:
from to target type
5 9 10 any
10 11 10 any
MethodParameters:
Name Flags
filter
public static java.io.ObjectInputFilter createFilter(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/ObjectInputFilter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "pattern"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
iconst_1
invokestatic java.io.ObjectInputFilter$Config$Global.createFilter:(Ljava/lang/String;Z)Ljava/io/ObjectInputFilter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 pattern Ljava/lang/String;
MethodParameters:
Name Flags
pattern
static java.io.ObjectInputFilter createFilter2(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/ObjectInputFilter;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "pattern"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
iconst_0
invokestatic java.io.ObjectInputFilter$Config$Global.createFilter:(Ljava/lang/String;Z)Ljava/io/ObjectInputFilter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 pattern Ljava/lang/String;
MethodParameters:
Name Flags
pattern
private static java.io.ObjectInputFilter lambda$0();
descriptor: ()Ljava/io/ObjectInputFilter;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=3, args_size=0
0: invokestatic jdk.internal.util.StaticProperty.jdkSerialFilter:()Ljava/lang/String;
astore 0
start local 0 1: aload 0
ifnonnull 3
2: ldc "jdk.serialFilter"
invokestatic java.security.Security.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
ifnull 15
4: ldc "java.io.serialization"
invokestatic java.lang.System.getLogger:(Ljava/lang/String;)Ljava/lang/System$Logger;
5: astore 1
start local 1 6: aload 1
getstatic java.lang.System$Logger$Level.INFO:Ljava/lang/System$Logger$Level;
7: ldc "Creating serialization filter from {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
8: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
9: aload 0
invokestatic java.io.ObjectInputFilter$Config.createFilter:(Ljava/lang/String;)Ljava/io/ObjectInputFilter;
10: areturn
11: StackMap locals: java.lang.String java.lang.System$Logger
StackMap stack: java.lang.RuntimeException
astore 2
start local 2 12: aload 1
getstatic java.lang.System$Logger$Level.ERROR:Ljava/lang/System$Logger$Level;
13: ldc "Error configuring filter: {0}"
aload 2
14: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 end local 1 15: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 16 0 props Ljava/lang/String;
6 15 1 log Ljava/lang/System$Logger;
12 15 2 re Ljava/lang/RuntimeException;
Exception table:
from to target type
9 10 11 Class java.lang.RuntimeException
}
SourceFile: "ObjectInputFilter.java"
NestHost: java.io.ObjectInputFilter
InnerClasses:
public final Config = java.io.ObjectInputFilter$Config of java.io.ObjectInputFilter
final Global = java.io.ObjectInputFilter$Config$Global of java.io.ObjectInputFilter$Config
public abstract Logger = java.lang.System$Logger of java.lang.System
public final Level = java.lang.System$Logger$Level of java.lang.System$Logger
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles