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 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"
private static final java.lang.System$Logger SECURITY_LOGGER;
descriptor: Ljava/lang/System$Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean LOGGING_SECURITY;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
putstatic jdk.internal.event.EventHelper.LOG_LEVEL:Ljava/lang/System$Logger$Level;
1: ldc "jdk.event.security"
invokestatic java.lang.System.getLogger:(Ljava/lang/String;)Ljava/lang/System$Logger;
2: putstatic jdk.internal.event.EventHelper.SECURITY_LOGGER:Ljava/lang/System$Logger;
3: getstatic jdk.internal.event.EventHelper.SECURITY_LOGGER: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
4: putstatic jdk.internal.event.EventHelper.LOGGING_SECURITY:Z
5: return
LocalVariableTable:
Start End Slot Name Signature
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: aload 0
invokestatic jdk.internal.event.EventHelper.getDurationString:(Ljava/time/Instant;)Ljava/lang/String;
astore 7
start local 7 1: getstatic jdk.internal.event.EventHelper.SECURITY_LOGGER: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
2: 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
3: 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
4: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
5: 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 6 0 start Ljava/time/Instant;
0 6 1 peerHost Ljava/lang/String;
0 6 2 peerPort I
0 6 3 cipherSuite Ljava/lang/String;
0 6 4 protocolVersion Ljava/lang/String;
0 6 5 peerCertId J
1 6 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: invokestatic jdk.internal.event.EventHelper.isLoggingSecurity:()Z
ifeq 4
1: getstatic jdk.internal.event.EventHelper.SECURITY_LOGGER: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: StackMap locals:
StackMap stack:
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: aload 1
invokestatic java.util.stream.IntStream.of:([I)Ljava/util/stream/IntStream;
1: 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;
2: 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
3: astore 2
start local 2 4: getstatic jdk.internal.event.EventHelper.SECURITY_LOGGER:Ljava/lang/System$Logger;
getstatic jdk.internal.event.EventHelper.LOG_LEVEL:Ljava/lang/System$Logger$Level;
5: 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
6: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 anchorCertId I
0 8 1 certIds [I
4 8 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.SECURITY_LOGGER: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
1: 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
2: 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
3: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
4: 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 5 0 algId Ljava/lang/String;
0 5 1 serialNum Ljava/lang/String;
0 5 2 subject Ljava/lang/String;
0 5 3 issuer Ljava/lang/String;
0 5 4 keyType Ljava/lang/String;
0 5 5 length I
0 5 6 certId J
0 5 8 beginDate J
0 5 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 8
1: aload 0
getstatic java.time.Instant.MIN:Ljava/time/Instant;
invokevirtual java.time.Instant.equals:(Ljava/lang/Object;)Z
ifeq 3
2: ldc "N/A"
areturn
3: StackMap locals:
StackMap stack:
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 4: aload 1
invokevirtual java.time.Duration.toNanos:()J
ldc 1000
ldiv
lstore 2
start local 2 5: lload 2
ldc 1000000
lcmp
ifge 7
6: 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
7: 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 8: StackMap locals:
StackMap stack:
ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 start Ljava/time/Instant;
4 8 1 duration Ljava/time/Duration;
5 8 2 micros J
MethodParameters:
Name Flags
start
public static boolean isLoggingSecurity();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.internal.event.EventHelper.LOGGING_SECURITY: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