public final class jdk.internal.event.EventHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.internal.event.EventHelper
super_class: java.lang.Object
{
private static final jdk.internal.misc.JavaUtilJarAccess JUJA;
descriptor: Ljdk/internal/misc/JavaUtilJarAccess;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile boolean loggingSecurity;
descriptor: Z
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile java.lang.System$Logger securityLogger;
descriptor: Ljava/lang/System$Logger;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static final java.lang.invoke.VarHandle LOGGER_HANDLE;
descriptor: Ljava/lang/invoke/VarHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.System$Logger$Level LOG_LEVEL;
descriptor: Ljava/lang/System$Logger$Level;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String SECURITY_LOGGER_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jdk.event.security"
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: ldc Ljdk/internal/event/EventHelper;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.internal.event.EventHelper.$assertionsDisabled:Z
3: invokestatic jdk.internal.misc.SharedSecrets.javaUtilJarAccess:()Ljdk/internal/misc/JavaUtilJarAccess;
putstatic jdk.internal.event.EventHelper.JUJA:Ljdk/internal/misc/JavaUtilJarAccess;
4: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
5: ldc Ljdk/internal/event/EventHelper;
ldc "securityLogger"
ldc Ljava/lang/System$Logger;
6: invokevirtual java.lang.invoke.MethodHandles$Lookup.findStaticVarHandle:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/VarHandle;
7: putstatic jdk.internal.event.EventHelper.LOGGER_HANDLE:Ljava/lang/invoke/VarHandle;
8: goto 11
StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
9: astore 0
start local 0 10: new java.lang.Error
dup
aload 0
invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 11: StackMap locals:
StackMap stack:
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
putstatic jdk.internal.event.EventHelper.LOG_LEVEL:Ljava/lang/System$Logger$Level;
12: return
LocalVariableTable:
Start End Slot Name Signature
10 11 0 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
4 8 9 Class java.lang.ReflectiveOperationException
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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 Ljdk/internal/event/EventHelper;
public static void logTLSHandshakeEvent(java.time.Instant, java.lang.String, int, java.lang.String, java.lang.String, long);
descriptor: (Ljava/time/Instant;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;J)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: getstatic jdk.internal.event.EventHelper.$assertionsDisabled:Z
ifne 1
getstatic jdk.internal.event.EventHelper.securityLogger:Ljava/lang/System$Logger;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.internal.event.EventHelper.getDurationString:(Ljava/time/Instant;)Ljava/lang/String;
astore 7
start local 7 2: getstatic jdk.internal.event.EventHelper.securityLogger:Ljava/lang/System$Logger;
getstatic jdk.internal.event.EventHelper.LOG_LEVEL:Ljava/lang/System$Logger$Level;
new java.lang.StringBuilder
dup
aload 7
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: ldc " TLSHandshake: {0}:{1,number,#}, {2}, {3}, {4,number,#}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_5
anewarray java.lang.Object
dup
iconst_0
4: aload 1
aastore
dup
iconst_1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 4
aastore
dup
iconst_3
aload 3
aastore
dup
iconst_4
lload 5
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
5: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
6: return
end local 7 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 start Ljava/time/Instant;
0 7 1 peerHost Ljava/lang/String;
0 7 2 peerPort I
0 7 3 cipherSuite Ljava/lang/String;
0 7 4 protocolVersion Ljava/lang/String;
0 7 5 peerCertId J
2 7 7 prepend Ljava/lang/String;
MethodParameters:
Name Flags
start
peerHost
peerPort
cipherSuite
protocolVersion
peerCertId
public static void logSecurityPropertyEvent(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.event.EventHelper.$assertionsDisabled:Z
ifne 1
getstatic jdk.internal.event.EventHelper.securityLogger:Ljava/lang/System$Logger;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic jdk.internal.event.EventHelper.securityLogger:Ljava/lang/System$Logger;
getstatic jdk.internal.event.EventHelper.LOG_LEVEL:Ljava/lang/System$Logger$Level;
2: ldc "SecurityPropertyModification: key:{0}, value:{1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
aastore
3: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 key Ljava/lang/String;
0 5 1 value Ljava/lang/String;
MethodParameters:
Name Flags
key
value
public static void logX509ValidationEvent(int, int[]);
descriptor: (I[I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.event.EventHelper.$assertionsDisabled:Z
ifne 1
getstatic jdk.internal.event.EventHelper.securityLogger:Ljava/lang/System$Logger;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokestatic java.util.stream.IntStream.of:([I)Ljava/util/stream/IntStream;
2: invokedynamic apply()Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
java/lang/Integer.toString(I)Ljava/lang/String; (6)
(I)Ljava/lang/String;
invokeinterface java.util.stream.IntStream.mapToObj:(Ljava/util/function/IntFunction;)Ljava/util/stream/Stream;
3: ldc ", "
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
4: astore 2
start local 2 5: getstatic jdk.internal.event.EventHelper.securityLogger:Ljava/lang/System$Logger;
getstatic jdk.internal.event.EventHelper.LOG_LEVEL:Ljava/lang/System$Logger$Level;
6: ldc "ValidationChain: {0,number,#}, {1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 2
aastore
7: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 anchorCertId I
0 9 1 certIds [I
5 9 2 codes Ljava/lang/String;
MethodParameters:
Name Flags
anchorCertId
certIds
public static void logX509CertificateEvent(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, long, long, long);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IJJJ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=12, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 8 start local 10 0: getstatic jdk.internal.event.EventHelper.$assertionsDisabled:Z
ifne 1
getstatic jdk.internal.event.EventHelper.securityLogger:Ljava/lang/System$Logger;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic jdk.internal.event.EventHelper.securityLogger:Ljava/lang/System$Logger;
getstatic jdk.internal.event.EventHelper.LOG_LEVEL:Ljava/lang/System$Logger$Level;
ldc "X509Certificate: Alg:{0}, Serial:{1}, Subject:{2}, Issuer:{3}, Key type:{4}, Length:{5,number,#}, Cert Id:{6,number,#}, Valid from:{7}, Valid until:{8}"
bipush 9
anewarray java.lang.Object
dup
iconst_0
2: aload 0
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 2
aastore
dup
iconst_3
aload 3
aastore
dup
iconst_4
aload 4
aastore
dup
iconst_5
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 6
3: lload 6
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
bipush 7
new java.util.Date
dup
lload 8
invokespecial java.util.Date.<init>:(J)V
aastore
dup
bipush 8
new java.util.Date
dup
lload 10
invokespecial java.util.Date.<init>:(J)V
aastore
4: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
5: return
end local 10 end local 8 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 algId Ljava/lang/String;
0 6 1 serialNum Ljava/lang/String;
0 6 2 subject Ljava/lang/String;
0 6 3 issuer Ljava/lang/String;
0 6 4 keyType Ljava/lang/String;
0 6 5 length I
0 6 6 certId J
0 6 8 beginDate J
0 6 10 endDate J
MethodParameters:
Name Flags
algId
serialNum
subject
issuer
keyType
length
certId
beginDate
endDate
private static java.lang.String getDurationString(java.time.Instant);
descriptor: (Ljava/time/Instant;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
ifnull 6
1: aload 0
invokestatic java.time.Instant.now:()Ljava/time/Instant;
invokestatic java.time.Duration.between:(Ljava/time/temporal/Temporal;Ljava/time/temporal/Temporal;)Ljava/time/Duration;
astore 1
start local 1 2: aload 1
invokevirtual java.time.Duration.toNanos:()J
ldc 1000
ldiv
lstore 2
start local 2 3: lload 2
ldc 1000000
lcmp
ifge 5
4: new java.lang.StringBuilder
dup
ldc "duration = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 2
l2d
ldc 1000.0
ddiv
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc " ms:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
5: StackMap locals: java.time.Duration long
StackMap stack:
new java.lang.StringBuilder
dup
ldc "duration = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 2
ldc 1000
ldiv
l2d
ldc 1000.0
ddiv
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc " s:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 6: StackMap locals:
StackMap stack:
ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 start Ljava/time/Instant;
2 6 1 duration Ljava/time/Duration;
3 6 2 micros J
MethodParameters:
Name Flags
start
public static boolean isLoggingSecurity();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic jdk.internal.event.EventHelper.securityLogger:Ljava/lang/System$Logger;
ifnonnull 3
getstatic jdk.internal.event.EventHelper.JUJA:Ljdk/internal/misc/JavaUtilJarAccess;
invokeinterface jdk.internal.misc.JavaUtilJarAccess.isInitializing:()Z
ifne 3
1: getstatic jdk.internal.event.EventHelper.LOGGER_HANDLE:Ljava/lang/invoke/VarHandle;
aconst_null
ldc "jdk.event.security"
invokestatic java.lang.System.getLogger:(Ljava/lang/String;)Ljava/lang/System$Logger;
invokevirtual java.lang.invoke.VarHandle.compareAndSet:(Ljava/lang/Void;Ljava/lang/System$Logger;)V
2: getstatic jdk.internal.event.EventHelper.securityLogger:Ljava/lang/System$Logger;
getstatic jdk.internal.event.EventHelper.LOG_LEVEL:Ljava/lang/System$Logger$Level;
invokeinterface java.lang.System$Logger.isLoggable:(Ljava/lang/System$Logger$Level;)Z
putstatic jdk.internal.event.EventHelper.loggingSecurity:Z
3: StackMap locals:
StackMap stack:
getstatic jdk.internal.event.EventHelper.loggingSecurity:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "EventHelper.java"
InnerClasses:
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