class sun.nio.ch.DatagramSocketAdaptor$DatagramPackets
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.DatagramSocketAdaptor$DatagramPackets
super_class: java.lang.Object
{
private static final java.lang.invoke.VarHandle LENGTH;
descriptor: Ljava/lang/invoke/VarHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.VarHandle BUF_LENGTH;
descriptor: Ljava/lang/invoke/VarHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: invokedynamic run()Ljava/security/PrivilegedExceptionAction;
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;
sun/nio/ch/DatagramSocketAdaptor$DatagramPackets.lambda$0()Ljava/lang/invoke/MethodHandles$Lookup; (6)
()Ljava/lang/invoke/MethodHandles$Lookup;
astore 0
start local 0 1: aload 0
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.invoke.MethodHandles$Lookup
astore 1
start local 1 2: aload 1
ldc Ljava/net/DatagramPacket;
ldc "length"
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
invokevirtual java.lang.invoke.MethodHandles$Lookup.findVarHandle:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/VarHandle;
putstatic sun.nio.ch.DatagramSocketAdaptor$DatagramPackets.LENGTH:Ljava/lang/invoke/VarHandle;
3: aload 1
ldc Ljava/net/DatagramPacket;
ldc "bufLength"
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
invokevirtual java.lang.invoke.MethodHandles$Lookup.findVarHandle:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/VarHandle;
putstatic sun.nio.ch.DatagramSocketAdaptor$DatagramPackets.BUF_LENGTH:Ljava/lang/invoke/VarHandle;
end local 1 end local 0 4: goto 7
StackMap locals:
StackMap stack: java.lang.Exception
5: astore 0
start local 0 6: new java.lang.ExceptionInInitializerError
dup
aload 0
invokespecial java.lang.ExceptionInInitializerError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 7: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
1 4 0 pa Ljava/security/PrivilegedExceptionAction<Ljava/lang/invoke/MethodHandles$Lookup;>;
2 4 1 l Ljava/lang/invoke/MethodHandles$Lookup;
6 7 0 e Ljava/lang/Exception;
Exception table:
from to target type
0 4 5 Class java.lang.Exception
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 Lsun/nio/ch/DatagramSocketAdaptor$DatagramPackets;
static void setLength(java.net.DatagramPacket, int);
descriptor: (Ljava/net/DatagramPacket;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: getstatic sun.nio.ch.DatagramSocketAdaptor$DatagramPackets.LENGTH:Ljava/lang/invoke/VarHandle;
aload 0
iload 1
invokevirtual java.lang.invoke.VarHandle.set:(Ljava/net/DatagramPacket;I)V
2: aload 2
monitorexit
3: goto 6
StackMap locals: java.net.DatagramPacket int java.net.DatagramPacket
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 p Ljava/net/DatagramPacket;
0 7 1 value I
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
p
value
static int getBufLength(java.net.DatagramPacket);
descriptor: (Ljava/net/DatagramPacket;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: getstatic sun.nio.ch.DatagramSocketAdaptor$DatagramPackets.BUF_LENGTH:Ljava/lang/invoke/VarHandle;
aload 0
invokevirtual java.lang.invoke.VarHandle.get:(Ljava/net/DatagramPacket;)I
aload 1
monitorexit
2: ireturn
3: StackMap locals: java.net.DatagramPacket java.net.DatagramPacket
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 p Ljava/net/DatagramPacket;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
p
private static java.lang.invoke.MethodHandles$Lookup lambda$0();
descriptor: ()Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljava/net/DatagramPacket;
invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
invokestatic java.lang.invoke.MethodHandles.privateLookupIn:(Ljava/lang/Class;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandles$Lookup;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
SourceFile: "DatagramSocketAdaptor.java"
NestHost: sun.nio.ch.DatagramSocketAdaptor
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private DatagramPackets = sun.nio.ch.DatagramSocketAdaptor$DatagramPackets of sun.nio.ch.DatagramSocketAdaptor