public class java.net.DatagramSocket implements java.io.Closeable
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: java.net.DatagramSocket
  super_class: java.lang.Object
{
  private boolean created;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private boolean bound;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private boolean closed;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private java.lang.Object closeLock;
    descriptor: Ljava/lang/Object;
    flags: (0x0002) ACC_PRIVATE

  java.net.DatagramSocketImpl impl;
    descriptor: Ljava/net/DatagramSocketImpl;
    flags: (0x0000) 

  boolean oldImpl;
    descriptor: Z
    flags: (0x0000) 

  private boolean explicitFilter;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private int bytesLeftToFilter;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  static final int ST_NOT_CONNECTED;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 0

  static final int ST_CONNECTED;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  static final int ST_CONNECTED_NO_IMPL;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  int connectState;
    descriptor: I
    flags: (0x0000) 

  java.net.InetAddress connectedAddress;
    descriptor: Ljava/net/InetAddress;
    flags: (0x0000) 

  int connectedPort;
    descriptor: I
    flags: (0x0000) 

  static java.lang.Class<?> implClass;
    descriptor: Ljava/lang/Class;
    flags: (0x0008) ACC_STATIC
    Signature: Ljava/lang/Class<*>;

  static java.net.DatagramSocketImplFactory factory;
    descriptor: Ljava/net/DatagramSocketImplFactory;
    flags: (0x0008) ACC_STATIC

  private static java.util.Set<java.net.SocketOption<?>> options;
    descriptor: Ljava/util/Set;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Signature: Ljava/util/Set<Ljava/net/SocketOption<*>;>;

  private static boolean optionsSet;
    descriptor: Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 324
            aconst_null
            putstatic java.net.DatagramSocket.implClass:Ljava/lang/Class;
         1: .line 1378
            iconst_0
            putstatic java.net.DatagramSocket.optionsSet:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private synchronized void connectInternal(java.net.InetAddress, int);
    descriptor: (Ljava/net/InetAddress;I)V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // java.net.DatagramSocket this
        start local 1 // java.net.InetAddress address
        start local 2 // int port
         0: .line 126
            iload 2 /* port */
            iflt 1
            iload 2 /* port */
            ldc 65535
            if_icmple 2
         1: .line 127
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "connect: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 2 /* port */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 129
      StackMap locals:
      StackMap stack:
            aload 1 /* address */
            ifnonnull 4
         3: .line 130
            new java.lang.IllegalArgumentException
            dup
            ldc "connect: null address"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 132
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* address */
            ldc "connect"
            invokevirtual java.net.DatagramSocket.checkAddress:(Ljava/net/InetAddress;Ljava/lang/String;)V
         5: .line 133
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 7
         6: .line 134
            return
         7: .line 135
      StackMap locals:
      StackMap stack:
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 3 /* security */
        start local 3 // java.lang.SecurityManager security
         8: .line 136
            aload 3 /* security */
            ifnull 14
         9: .line 137
            aload 1 /* address */
            invokevirtual java.net.InetAddress.isMulticastAddress:()Z
            ifeq 12
        10: .line 138
            aload 3 /* security */
            aload 1 /* address */
            invokevirtual java.lang.SecurityManager.checkMulticast:(Ljava/net/InetAddress;)V
        11: .line 139
            goto 14
        12: .line 140
      StackMap locals: java.lang.SecurityManager
      StackMap stack:
            aload 3 /* security */
            aload 1 /* address */
            invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
            iload 2 /* port */
            invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
        13: .line 141
            aload 3 /* security */
            aload 1 /* address */
            invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
            iload 2 /* port */
            invokevirtual java.lang.SecurityManager.checkAccept:(Ljava/lang/String;I)V
        14: .line 145
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isBound:()Z
            ifne 16
        15: .line 146
            aload 0 /* this */
            new java.net.InetSocketAddress
            dup
            iconst_0
            invokespecial java.net.InetSocketAddress.<init>:(I)V
            invokevirtual java.net.DatagramSocket.bind:(Ljava/net/SocketAddress;)V
        16: .line 149
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.net.DatagramSocket.oldImpl:Z
            ifne 18
            aload 0 /* this */
            getfield java.net.DatagramSocket.impl:Ljava/net/DatagramSocketImpl;
            instanceof java.net.AbstractPlainDatagramSocketImpl
            ifeq 20
        17: .line 150
            aload 0 /* this */
            getfield java.net.DatagramSocket.impl:Ljava/net/DatagramSocketImpl;
            checkcast java.net.AbstractPlainDatagramSocketImpl
            invokevirtual java.net.AbstractPlainDatagramSocketImpl.nativeConnectDisabled:()Z
            ifeq 20
        18: .line 151
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_2
            putfield java.net.DatagramSocket.connectState:I
        19: .line 152
            goto 33
        20: .line 154
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            aload 1 /* address */
            iload 2 /* port */
            invokevirtual java.net.DatagramSocketImpl.connect:(Ljava/net/InetAddress;I)V
        21: .line 157
            aload 0 /* this */
            iconst_1
            putfield java.net.DatagramSocket.connectState:I
        22: .line 159
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            invokevirtual java.net.DatagramSocketImpl.dataAvailable:()I
            istore 4 /* avail */
        start local 4 // int avail
        23: .line 160
            iload 4 /* avail */
            iconst_m1
            if_icmpne 25
        24: .line 161
            new java.net.SocketException
            dup
            invokespecial java.net.SocketException.<init>:()V
            athrow
        25: .line 163
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            iload 4 /* avail */
            ifle 26
            iconst_1
            goto 27
      StackMap locals:
      StackMap stack: java.net.DatagramSocket
        26: iconst_0
      StackMap locals: java.net.DatagramSocket java.net.InetAddress int java.lang.SecurityManager int
      StackMap stack: java.net.DatagramSocket int
        27: putfield java.net.DatagramSocket.explicitFilter:Z
        28: .line 164
            aload 0 /* this */
            getfield java.net.DatagramSocket.explicitFilter:Z
            ifeq 33
        29: .line 165
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getReceiveBufferSize:()I
            putfield java.net.DatagramSocket.bytesLeftToFilter:I
        end local 4 // int avail
        30: .line 167
            goto 33
      StackMap locals: java.net.DatagramSocket java.net.InetAddress int java.lang.SecurityManager
      StackMap stack: java.net.SocketException
        31: pop
        32: .line 170
            aload 0 /* this */
            iconst_2
            putfield java.net.DatagramSocket.connectState:I
        33: .line 174
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* address */
            putfield java.net.DatagramSocket.connectedAddress:Ljava/net/InetAddress;
        34: .line 175
            aload 0 /* this */
            iload 2 /* port */
            putfield java.net.DatagramSocket.connectedPort:I
        35: .line 176
            return
        end local 3 // java.lang.SecurityManager security
        end local 2 // int port
        end local 1 // java.net.InetAddress address
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   36     0      this  Ljava/net/DatagramSocket;
            0   36     1   address  Ljava/net/InetAddress;
            0   36     2      port  I
            8   36     3  security  Ljava/lang/SecurityManager;
           23   30     4     avail  I
      Exception table:
        from    to  target  type
          20    30      31  Class java.net.SocketException
    Exceptions:
      throws java.net.SocketException
    MethodParameters:
         Name  Flags
      address  
      port     

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 198
            aload 0 /* this */
            new java.net.InetSocketAddress
            dup
            iconst_0
            invokespecial java.net.InetSocketAddress.<init>:(I)V
            invokespecial java.net.DatagramSocket.<init>:(Ljava/net/SocketAddress;)V
         1: .line 199
            return
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/net/DatagramSocket;
    Exceptions:
      throws java.net.SocketException

  protected void <init>(java.net.DatagramSocketImpl);
    descriptor: (Ljava/net/DatagramSocketImpl;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.net.DatagramSocket this
        start local 1 // java.net.DatagramSocketImpl impl
         0: .line 209
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 73
            aload 0 /* this */
            iconst_0
            putfield java.net.DatagramSocket.created:Z
         2: .line 74
            aload 0 /* this */
            iconst_0
            putfield java.net.DatagramSocket.bound:Z
         3: .line 75
            aload 0 /* this */
            iconst_0
            putfield java.net.DatagramSocket.closed:Z
         4: .line 76
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield java.net.DatagramSocket.closeLock:Ljava/lang/Object;
         5: .line 86
            aload 0 /* this */
            iconst_0
            putfield java.net.DatagramSocket.oldImpl:Z
         6: .line 97
            aload 0 /* this */
            iconst_0
            putfield java.net.DatagramSocket.explicitFilter:Z
         7: .line 109
            aload 0 /* this */
            iconst_0
            putfield java.net.DatagramSocket.connectState:I
         8: .line 114
            aload 0 /* this */
            aconst_null
            putfield java.net.DatagramSocket.connectedAddress:Ljava/net/InetAddress;
         9: .line 115
            aload 0 /* this */
            iconst_m1
            putfield java.net.DatagramSocket.connectedPort:I
        10: .line 210
            aload 1 /* impl */
            ifnonnull 12
        11: .line 211
            new java.lang.NullPointerException
            dup
            invokespecial java.lang.NullPointerException.<init>:()V
            athrow
        12: .line 212
      StackMap locals: java.net.DatagramSocket java.net.DatagramSocketImpl
      StackMap stack:
            aload 0 /* this */
            aload 1 /* impl */
            putfield java.net.DatagramSocket.impl:Ljava/net/DatagramSocketImpl;
        13: .line 213
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.checkOldImpl:()V
        14: .line 214
            return
        end local 1 // java.net.DatagramSocketImpl impl
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   15     0  this  Ljava/net/DatagramSocket;
            0   15     1  impl  Ljava/net/DatagramSocketImpl;
    MethodParameters:
      Name  Flags
      impl  

  public void <init>(java.net.SocketAddress);
    descriptor: (Ljava/net/SocketAddress;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // java.net.DatagramSocket this
        start local 1 // java.net.SocketAddress bindaddr
         0: .line 239
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 73
            aload 0 /* this */
            iconst_0
            putfield java.net.DatagramSocket.created:Z
         2: .line 74
            aload 0 /* this */
            iconst_0
            putfield java.net.DatagramSocket.bound:Z
         3: .line 75
            aload 0 /* this */
            iconst_0
            putfield java.net.DatagramSocket.closed:Z
         4: .line 76
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield java.net.DatagramSocket.closeLock:Ljava/lang/Object;
         5: .line 86
            aload 0 /* this */
            iconst_0
            putfield java.net.DatagramSocket.oldImpl:Z
         6: .line 97
            aload 0 /* this */
            iconst_0
            putfield java.net.DatagramSocket.explicitFilter:Z
         7: .line 109
            aload 0 /* this */
            iconst_0
            putfield java.net.DatagramSocket.connectState:I
         8: .line 114
            aload 0 /* this */
            aconst_null
            putfield java.net.DatagramSocket.connectedAddress:Ljava/net/InetAddress;
         9: .line 115
            aload 0 /* this */
            iconst_m1
            putfield java.net.DatagramSocket.connectedPort:I
        10: .line 241
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.createImpl:()V
        11: .line 242
            aload 1 /* bindaddr */
            ifnull 20
        12: .line 244
            aload 0 /* this */
            aload 1 /* bindaddr */
            invokevirtual java.net.DatagramSocket.bind:(Ljava/net/SocketAddress;)V
        13: .line 245
            goto 18
      StackMap locals: java.net.DatagramSocket java.net.SocketAddress
      StackMap stack: java.lang.Throwable
        14: astore 2
        15: .line 246
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isBound:()Z
            ifne 17
        16: .line 247
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.close:()V
        17: .line 248
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 2
            athrow
        18: .line 246
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isBound:()Z
            ifne 20
        19: .line 247
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.close:()V
        20: .line 250
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.net.SocketAddress bindaddr
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   21     0      this  Ljava/net/DatagramSocket;
            0   21     1  bindaddr  Ljava/net/SocketAddress;
      Exception table:
        from    to  target  type
          12    14      14  any
    Exceptions:
      throws java.net.SocketException
    MethodParameters:
          Name  Flags
      bindaddr  

  public void <init>(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.net.DatagramSocket this
        start local 1 // int port
         0: .line 273
            aload 0 /* this */
            iload 1 /* port */
            aconst_null
            invokespecial java.net.DatagramSocket.<init>:(ILjava/net/InetAddress;)V
         1: .line 274
            return
        end local 1 // int port
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/net/DatagramSocket;
            0    2     1  port  I
    Exceptions:
      throws java.net.SocketException
    MethodParameters:
      Name  Flags
      port  

  public void <init>(int, java.net.InetAddress);
    descriptor: (ILjava/net/InetAddress;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // java.net.DatagramSocket this
        start local 1 // int port
        start local 2 // java.net.InetAddress laddr
         0: .line 301
            aload 0 /* this */
            new java.net.InetSocketAddress
            dup
            aload 2 /* laddr */
            iload 1 /* port */
            invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
            invokespecial java.net.DatagramSocket.<init>:(Ljava/net/SocketAddress;)V
         1: .line 302
            return
        end local 2 // java.net.InetAddress laddr
        end local 1 // int port
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Ljava/net/DatagramSocket;
            0    2     1   port  I
            0    2     2  laddr  Ljava/net/InetAddress;
    Exceptions:
      throws java.net.SocketException
    MethodParameters:
       Name  Flags
      port   
      laddr  

  private void checkOldImpl();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 305
            aload 0 /* this */
            getfield java.net.DatagramSocket.impl:Ljava/net/DatagramSocketImpl;
            ifnonnull 2
         1: .line 306
            return
         2: .line 311
      StackMap locals:
      StackMap stack:
            new java.net.DatagramSocket$1
            dup
            aload 0 /* this */
            invokespecial java.net.DatagramSocket$1.<init>:(Ljava/net/DatagramSocket;)V
         3: .line 310
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
            pop
         4: .line 319
            goto 7
      StackMap locals:
      StackMap stack: java.security.PrivilegedActionException
         5: pop
         6: .line 320
            aload 0 /* this */
            iconst_1
            putfield java.net.DatagramSocket.oldImpl:Z
         7: .line 322
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljava/net/DatagramSocket;
      Exception table:
        from    to  target  type
           2     4       5  Class java.security.PrivilegedActionException

  void createImpl();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 327
            aload 0 /* this */
            getfield java.net.DatagramSocket.impl:Ljava/net/DatagramSocketImpl;
            ifnonnull 10
         1: .line 328
            getstatic java.net.DatagramSocket.factory:Ljava/net/DatagramSocketImplFactory;
            ifnull 5
         2: .line 329
            aload 0 /* this */
            getstatic java.net.DatagramSocket.factory:Ljava/net/DatagramSocketImplFactory;
            invokeinterface java.net.DatagramSocketImplFactory.createDatagramSocketImpl:()Ljava/net/DatagramSocketImpl;
            putfield java.net.DatagramSocket.impl:Ljava/net/DatagramSocketImpl;
         3: .line 330
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.checkOldImpl:()V
         4: .line 331
            goto 10
         5: .line 332
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            instanceof java.net.MulticastSocket
            ifeq 6
            iconst_1
            goto 7
      StackMap locals:
      StackMap stack:
         6: iconst_0
      StackMap locals:
      StackMap stack: int
         7: istore 1 /* isMulticast */
        start local 1 // boolean isMulticast
         8: .line 333
            aload 0 /* this */
            iload 1 /* isMulticast */
            invokestatic java.net.DefaultDatagramSocketImplFactory.createDatagramSocketImpl:(Z)Ljava/net/DatagramSocketImpl;
            putfield java.net.DatagramSocket.impl:Ljava/net/DatagramSocketImpl;
         9: .line 335
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.checkOldImpl:()V
        end local 1 // boolean isMulticast
        10: .line 339
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.net.DatagramSocket.impl:Ljava/net/DatagramSocketImpl;
            invokevirtual java.net.DatagramSocketImpl.create:()V
        11: .line 340
            aload 0 /* this */
            getfield java.net.DatagramSocket.impl:Ljava/net/DatagramSocketImpl;
            aload 0 /* this */
            invokevirtual java.net.DatagramSocketImpl.setDatagramSocket:(Ljava/net/DatagramSocket;)V
        12: .line 341
            aload 0 /* this */
            iconst_1
            putfield java.net.DatagramSocket.created:Z
        13: .line 342
            return
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   14     0         this  Ljava/net/DatagramSocket;
            8   10     1  isMulticast  Z
    Exceptions:
      throws java.net.SocketException

  java.net.DatagramSocketImpl getImpl();
    descriptor: ()Ljava/net/DatagramSocketImpl;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 354
            aload 0 /* this */
            getfield java.net.DatagramSocket.created:Z
            ifne 2
         1: .line 355
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.createImpl:()V
         2: .line 356
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.net.DatagramSocket.impl:Ljava/net/DatagramSocketImpl;
            areturn
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljava/net/DatagramSocket;
    Exceptions:
      throws java.net.SocketException

  public synchronized void bind(java.net.SocketAddress);
    descriptor: (Ljava/net/SocketAddress;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=7, args_size=2
        start local 0 // java.net.DatagramSocket this
        start local 1 // java.net.SocketAddress addr
         0: .line 375
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 2
         1: .line 376
            new java.net.SocketException
            dup
            ldc "Socket is closed"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 377
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isBound:()Z
            ifeq 4
         3: .line 378
            new java.net.SocketException
            dup
            ldc "already bound"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 379
      StackMap locals:
      StackMap stack:
            aload 1 /* addr */
            ifnonnull 6
         5: .line 380
            new java.net.InetSocketAddress
            dup
            iconst_0
            invokespecial java.net.InetSocketAddress.<init>:(I)V
            astore 1 /* addr */
         6: .line 381
      StackMap locals:
      StackMap stack:
            aload 1 /* addr */
            instanceof java.net.InetSocketAddress
            ifne 8
         7: .line 382
            new java.lang.IllegalArgumentException
            dup
            ldc "Unsupported address type!"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 383
      StackMap locals:
      StackMap stack:
            aload 1 /* addr */
            checkcast java.net.InetSocketAddress
            astore 2 /* epoint */
        start local 2 // java.net.InetSocketAddress epoint
         9: .line 384
            aload 2 /* epoint */
            invokevirtual java.net.InetSocketAddress.isUnresolved:()Z
            ifeq 11
        10: .line 385
            new java.net.SocketException
            dup
            ldc "Unresolved address"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 386
      StackMap locals: java.net.InetSocketAddress
      StackMap stack:
            aload 2 /* epoint */
            invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
            astore 3 /* iaddr */
        start local 3 // java.net.InetAddress iaddr
        12: .line 387
            aload 2 /* epoint */
            invokevirtual java.net.InetSocketAddress.getPort:()I
            istore 4 /* port */
        start local 4 // int port
        13: .line 388
            aload 0 /* this */
            aload 3 /* iaddr */
            ldc "bind"
            invokevirtual java.net.DatagramSocket.checkAddress:(Ljava/net/InetAddress;Ljava/lang/String;)V
        14: .line 389
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 5 /* sec */
        start local 5 // java.lang.SecurityManager sec
        15: .line 390
            aload 5 /* sec */
            ifnull 17
        16: .line 391
            aload 5 /* sec */
            iload 4 /* port */
            invokevirtual java.lang.SecurityManager.checkListen:(I)V
        17: .line 394
      StackMap locals: java.net.InetAddress int java.lang.SecurityManager
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            iload 4 /* port */
            aload 3 /* iaddr */
            invokevirtual java.net.DatagramSocketImpl.bind:(ILjava/net/InetAddress;)V
        18: .line 395
            goto 22
      StackMap locals:
      StackMap stack: java.net.SocketException
        19: astore 6 /* e */
        start local 6 // java.net.SocketException e
        20: .line 396
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            invokevirtual java.net.DatagramSocketImpl.close:()V
        21: .line 397
            aload 6 /* e */
            athrow
        end local 6 // java.net.SocketException e
        22: .line 399
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield java.net.DatagramSocket.bound:Z
        23: .line 400
            return
        end local 5 // java.lang.SecurityManager sec
        end local 4 // int port
        end local 3 // java.net.InetAddress iaddr
        end local 2 // java.net.InetSocketAddress epoint
        end local 1 // java.net.SocketAddress addr
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   24     0    this  Ljava/net/DatagramSocket;
            0   24     1    addr  Ljava/net/SocketAddress;
            9   24     2  epoint  Ljava/net/InetSocketAddress;
           12   24     3   iaddr  Ljava/net/InetAddress;
           13   24     4    port  I
           15   24     5     sec  Ljava/lang/SecurityManager;
           20   22     6       e  Ljava/net/SocketException;
      Exception table:
        from    to  target  type
          17    18      19  Class java.net.SocketException
    Exceptions:
      throws java.net.SocketException
    MethodParameters:
      Name  Flags
      addr  

  void checkAddress(java.net.InetAddress, java.lang.String);
    descriptor: (Ljava/net/InetAddress;Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // java.net.DatagramSocket this
        start local 1 // java.net.InetAddress addr
        start local 2 // java.lang.String op
         0: .line 403
            aload 1 /* addr */
            ifnonnull 2
         1: .line 404
            return
         2: .line 406
      StackMap locals:
      StackMap stack:
            aload 1 /* addr */
            instanceof java.net.Inet4Address
            ifne 4
            aload 1 /* addr */
            instanceof java.net.Inet6Address
            ifne 4
         3: .line 407
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            aload 2 /* op */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ": invalid address type"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 409
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.String op
        end local 1 // java.net.InetAddress addr
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljava/net/DatagramSocket;
            0    5     1  addr  Ljava/net/InetAddress;
            0    5     2    op  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      addr  
      op    

  public void connect(java.net.InetAddress, int);
    descriptor: (Ljava/net/InetAddress;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // java.net.DatagramSocket this
        start local 1 // java.net.InetAddress address
        start local 2 // int port
         0: .line 460
            aload 0 /* this */
            aload 1 /* address */
            iload 2 /* port */
            invokevirtual java.net.DatagramSocket.connectInternal:(Ljava/net/InetAddress;I)V
         1: .line 461
            goto 4
      StackMap locals:
      StackMap stack: java.net.SocketException
         2: astore 3 /* se */
        start local 3 // java.net.SocketException se
         3: .line 462
            new java.lang.Error
            dup
            ldc "connect failed"
            aload 3 /* se */
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.net.SocketException se
         4: .line 464
      StackMap locals:
      StackMap stack:
            return
        end local 2 // int port
        end local 1 // java.net.InetAddress address
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Ljava/net/DatagramSocket;
            0    5     1  address  Ljava/net/InetAddress;
            0    5     2     port  I
            3    4     3       se  Ljava/net/SocketException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.net.SocketException
    MethodParameters:
         Name  Flags
      address  
      port     

  public void connect(java.net.SocketAddress);
    descriptor: (Ljava/net/SocketAddress;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // java.net.DatagramSocket this
        start local 1 // java.net.SocketAddress addr
         0: .line 489
            aload 1 /* addr */
            ifnonnull 2
         1: .line 490
            new java.lang.IllegalArgumentException
            dup
            ldc "Address can't be null"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 491
      StackMap locals:
      StackMap stack:
            aload 1 /* addr */
            instanceof java.net.InetSocketAddress
            ifne 4
         3: .line 492
            new java.lang.IllegalArgumentException
            dup
            ldc "Unsupported address type"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 493
      StackMap locals:
      StackMap stack:
            aload 1 /* addr */
            checkcast java.net.InetSocketAddress
            astore 2 /* epoint */
        start local 2 // java.net.InetSocketAddress epoint
         5: .line 494
            aload 2 /* epoint */
            invokevirtual java.net.InetSocketAddress.isUnresolved:()Z
            ifeq 7
         6: .line 495
            new java.net.SocketException
            dup
            ldc "Unresolved address"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 496
      StackMap locals: java.net.InetSocketAddress
      StackMap stack:
            aload 0 /* this */
            aload 2 /* epoint */
            invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
            aload 2 /* epoint */
            invokevirtual java.net.InetSocketAddress.getPort:()I
            invokevirtual java.net.DatagramSocket.connectInternal:(Ljava/net/InetAddress;I)V
         8: .line 497
            return
        end local 2 // java.net.InetSocketAddress epoint
        end local 1 // java.net.SocketAddress addr
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    this  Ljava/net/DatagramSocket;
            0    9     1    addr  Ljava/net/SocketAddress;
            5    9     2  epoint  Ljava/net/InetSocketAddress;
    Exceptions:
      throws java.net.SocketException
    MethodParameters:
      Name  Flags
      addr  

  public void disconnect();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 506
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         1: .line 507
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 4
         2: .line 508
            aload 1
            monitorexit
         3: return
         4: .line 509
      StackMap locals: java.net.DatagramSocket
      StackMap stack:
            aload 0 /* this */
            getfield java.net.DatagramSocket.connectState:I
            iconst_1
            if_icmpne 6
         5: .line 510
            aload 0 /* this */
            getfield java.net.DatagramSocket.impl:Ljava/net/DatagramSocketImpl;
            invokevirtual java.net.DatagramSocketImpl.disconnect:()V
         6: .line 512
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield java.net.DatagramSocket.connectedAddress:Ljava/net/InetAddress;
         7: .line 513
            aload 0 /* this */
            iconst_m1
            putfield java.net.DatagramSocket.connectedPort:I
         8: .line 514
            aload 0 /* this */
            iconst_0
            putfield java.net.DatagramSocket.connectState:I
         9: .line 515
            aload 0 /* this */
            iconst_0
            putfield java.net.DatagramSocket.explicitFilter:Z
        10: .line 506
            aload 1
            monitorexit
        11: goto 14
      StackMap locals:
      StackMap stack: java.lang.Throwable
        12: aload 1
            monitorexit
        13: athrow
        14: .line 517
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   15     0  this  Ljava/net/DatagramSocket;
      Exception table:
        from    to  target  type
           1     3      12  any
           4    11      12  any
          12    13      12  any

  public boolean isBound();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 530
            aload 0 /* this */
            getfield java.net.DatagramSocket.bound:Z
            ireturn
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/net/DatagramSocket;

  public boolean isConnected();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 544
            aload 0 /* this */
            getfield java.net.DatagramSocket.connectState:I
            ifeq 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/net/DatagramSocket;

  public java.net.InetAddress getInetAddress();
    descriptor: ()Ljava/net/InetAddress;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 558
            aload 0 /* this */
            getfield java.net.DatagramSocket.connectedAddress:Ljava/net/InetAddress;
            areturn
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/net/DatagramSocket;

  public int getPort();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 572
            aload 0 /* this */
            getfield java.net.DatagramSocket.connectedPort:I
            ireturn
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/net/DatagramSocket;

  public java.net.SocketAddress getRemoteSocketAddress();
    descriptor: ()Ljava/net/SocketAddress;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 592
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isConnected:()Z
            ifne 2
         1: .line 593
            aconst_null
            areturn
         2: .line 594
      StackMap locals:
      StackMap stack:
            new java.net.InetSocketAddress
            dup
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getInetAddress:()Ljava/net/InetAddress;
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getPort:()I
            invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
            areturn
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljava/net/DatagramSocket;

  public java.net.SocketAddress getLocalSocketAddress();
    descriptor: ()Ljava/net/SocketAddress;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 609
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 2
         1: .line 610
            aconst_null
            areturn
         2: .line 611
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isBound:()Z
            ifne 4
         3: .line 612
            aconst_null
            areturn
         4: .line 613
      StackMap locals:
      StackMap stack:
            new java.net.InetSocketAddress
            dup
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getLocalAddress:()Ljava/net/InetAddress;
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getLocalPort:()I
            invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
            areturn
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljava/net/DatagramSocket;

  public void send(java.net.DatagramPacket);
    descriptor: (Ljava/net/DatagramPacket;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // java.net.DatagramSocket this
        start local 1 // java.net.DatagramPacket p
         0: .line 657
            aconst_null
            astore 2 /* packetAddress */
        start local 2 // java.net.InetAddress packetAddress
         1: .line 658
            aload 1 /* p */
            dup
            astore 3
            monitorenter
         2: .line 659
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 4
         3: .line 660
            new java.net.SocketException
            dup
            ldc "Socket is closed"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 661
      StackMap locals: java.net.InetAddress java.net.DatagramPacket
      StackMap stack:
            aload 0 /* this */
            aload 1 /* p */
            invokevirtual java.net.DatagramPacket.getAddress:()Ljava/net/InetAddress;
            ldc "send"
            invokevirtual java.net.DatagramSocket.checkAddress:(Ljava/net/InetAddress;Ljava/lang/String;)V
         5: .line 662
            aload 0 /* this */
            getfield java.net.DatagramSocket.connectState:I
            ifne 15
         6: .line 664
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 4 /* security */
        start local 4 // java.lang.SecurityManager security
         7: .line 670
            aload 4 /* security */
            ifnull 23
         8: .line 671
            aload 1 /* p */
            invokevirtual java.net.DatagramPacket.getAddress:()Ljava/net/InetAddress;
            invokevirtual java.net.InetAddress.isMulticastAddress:()Z
            ifeq 11
         9: .line 672
            aload 4 /* security */
            aload 1 /* p */
            invokevirtual java.net.DatagramPacket.getAddress:()Ljava/net/InetAddress;
            invokevirtual java.lang.SecurityManager.checkMulticast:(Ljava/net/InetAddress;)V
        10: .line 673
            goto 23
        11: .line 674
      StackMap locals: java.lang.SecurityManager
      StackMap stack:
            aload 4 /* security */
            aload 1 /* p */
            invokevirtual java.net.DatagramPacket.getAddress:()Ljava/net/InetAddress;
            invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
        12: .line 675
            aload 1 /* p */
            invokevirtual java.net.DatagramPacket.getPort:()I
        13: .line 674
            invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
        end local 4 // java.lang.SecurityManager security
        14: .line 678
            goto 23
        15: .line 680
      StackMap locals:
      StackMap stack:
            aload 1 /* p */
            invokevirtual java.net.DatagramPacket.getAddress:()Ljava/net/InetAddress;
            astore 2 /* packetAddress */
        16: .line 681
            aload 2 /* packetAddress */
            ifnonnull 20
        17: .line 682
            aload 1 /* p */
            aload 0 /* this */
            getfield java.net.DatagramSocket.connectedAddress:Ljava/net/InetAddress;
            invokevirtual java.net.DatagramPacket.setAddress:(Ljava/net/InetAddress;)V
        18: .line 683
            aload 1 /* p */
            aload 0 /* this */
            getfield java.net.DatagramSocket.connectedPort:I
            invokevirtual java.net.DatagramPacket.setPort:(I)V
        19: .line 684
            goto 23
      StackMap locals:
      StackMap stack:
        20: aload 2 /* packetAddress */
            aload 0 /* this */
            getfield java.net.DatagramSocket.connectedAddress:Ljava/net/InetAddress;
            invokevirtual java.net.InetAddress.equals:(Ljava/lang/Object;)Z
            ifeq 22
        21: .line 685
            aload 1 /* p */
            invokevirtual java.net.DatagramPacket.getPort:()I
            aload 0 /* this */
            getfield java.net.DatagramSocket.connectedPort:I
            if_icmpeq 23
        22: .line 686
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            ldc "connected address and packet address differ"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        23: .line 692
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isBound:()Z
            ifne 25
        24: .line 693
            aload 0 /* this */
            new java.net.InetSocketAddress
            dup
            iconst_0
            invokespecial java.net.InetSocketAddress.<init>:(I)V
            invokevirtual java.net.DatagramSocket.bind:(Ljava/net/SocketAddress;)V
        25: .line 695
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            aload 1 /* p */
            invokevirtual java.net.DatagramSocketImpl.send:(Ljava/net/DatagramPacket;)V
        26: .line 658
            aload 3
            monitorexit
        27: goto 30
      StackMap locals:
      StackMap stack: java.lang.Throwable
        28: aload 3
            monitorexit
        29: athrow
        30: .line 697
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.net.InetAddress packetAddress
        end local 1 // java.net.DatagramPacket p
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   31     0           this  Ljava/net/DatagramSocket;
            0   31     1              p  Ljava/net/DatagramPacket;
            1   31     2  packetAddress  Ljava/net/InetAddress;
            7   14     4       security  Ljava/lang/SecurityManager;
      Exception table:
        from    to  target  type
           2    27      28  any
          28    29      28  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      p     

  public synchronized void receive(java.net.DatagramPacket);
    descriptor: (Ljava/net/DatagramPacket;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=8, args_size=2
        start local 0 // java.net.DatagramSocket this
        start local 1 // java.net.DatagramPacket p
         0: .line 731
            aload 1 /* p */
            dup
            astore 2
            monitorenter
         1: .line 732
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isBound:()Z
            ifne 3
         2: .line 733
            aload 0 /* this */
            new java.net.InetSocketAddress
            dup
            iconst_0
            invokespecial java.net.InetSocketAddress.<init>:(I)V
            invokevirtual java.net.DatagramSocket.bind:(Ljava/net/SocketAddress;)V
         3: .line 734
      StackMap locals: java.net.DatagramPacket
      StackMap stack:
            aload 0 /* this */
            getfield java.net.DatagramSocket.connectState:I
            ifne 22
         4: .line 736
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 3 /* security */
        start local 3 // java.lang.SecurityManager security
         5: .line 737
            aload 3 /* security */
            ifnull 22
         6: .line 739
      StackMap locals: java.lang.SecurityManager
      StackMap stack:
            aconst_null
            astore 4 /* peekAd */
        start local 4 // java.lang.String peekAd
         7: .line 740
            iconst_0
            istore 5 /* peekPort */
        start local 5 // int peekPort
         8: .line 742
            aload 0 /* this */
            getfield java.net.DatagramSocket.oldImpl:Z
            ifne 13
         9: .line 744
            new java.net.DatagramPacket
            dup
            iconst_1
            newarray 8
            iconst_1
            invokespecial java.net.DatagramPacket.<init>:([BI)V
            astore 6 /* peekPacket */
        start local 6 // java.net.DatagramPacket peekPacket
        10: .line 745
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            aload 6 /* peekPacket */
            invokevirtual java.net.DatagramSocketImpl.peekData:(Ljava/net/DatagramPacket;)I
            istore 5 /* peekPort */
        11: .line 746
            aload 6 /* peekPacket */
            invokevirtual java.net.DatagramPacket.getAddress:()Ljava/net/InetAddress;
            invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
            astore 4 /* peekAd */
        end local 6 // java.net.DatagramPacket peekPacket
        12: .line 747
            goto 16
        13: .line 748
      StackMap locals: java.lang.String int
      StackMap stack:
            new java.net.InetAddress
            dup
            invokespecial java.net.InetAddress.<init>:()V
            astore 6 /* adr */
        start local 6 // java.net.InetAddress adr
        14: .line 749
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            aload 6 /* adr */
            invokevirtual java.net.DatagramSocketImpl.peek:(Ljava/net/InetAddress;)I
            istore 5 /* peekPort */
        15: .line 750
            aload 6 /* adr */
            invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
            astore 4 /* peekAd */
        end local 6 // java.net.InetAddress adr
        16: .line 753
      StackMap locals:
      StackMap stack:
            aload 3 /* security */
            aload 4 /* peekAd */
            iload 5 /* peekPort */
            invokevirtual java.lang.SecurityManager.checkAccept:(Ljava/lang/String;I)V
        17: .line 756
            goto 22
        18: .line 757
      StackMap locals:
      StackMap stack: java.lang.SecurityException
            pop
        19: .line 760
            new java.net.DatagramPacket
            dup
            iconst_1
            newarray 8
            iconst_1
            invokespecial java.net.DatagramPacket.<init>:([BI)V
            astore 6 /* tmp */
        start local 6 // java.net.DatagramPacket tmp
        20: .line 761
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            aload 6 /* tmp */
            invokevirtual java.net.DatagramSocketImpl.receive:(Ljava/net/DatagramPacket;)V
        end local 6 // java.net.DatagramPacket tmp
        end local 5 // int peekPort
        end local 4 // java.lang.String peekAd
        21: .line 738
            goto 6
        end local 3 // java.lang.SecurityManager security
        22: .line 774
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 3 /* tmp */
        start local 3 // java.net.DatagramPacket tmp
        23: .line 775
            aload 0 /* this */
            getfield java.net.DatagramSocket.connectState:I
            iconst_2
            if_icmpeq 24
            aload 0 /* this */
            getfield java.net.DatagramSocket.explicitFilter:Z
            ifeq 47
        24: .line 781
      StackMap locals: java.net.DatagramPacket
      StackMap stack:
            iconst_0
            istore 4 /* stop */
        start local 4 // boolean stop
        25: .line 782
            goto 46
        26: .line 783
      StackMap locals: int
      StackMap stack:
            aconst_null
            astore 5 /* peekAddress */
        start local 5 // java.net.InetAddress peekAddress
        27: .line 784
            iconst_m1
            istore 6 /* peekPort */
        start local 6 // int peekPort
        28: .line 786
            aload 0 /* this */
            getfield java.net.DatagramSocket.oldImpl:Z
            ifne 33
        29: .line 788
            new java.net.DatagramPacket
            dup
            iconst_1
            newarray 8
            iconst_1
            invokespecial java.net.DatagramPacket.<init>:([BI)V
            astore 7 /* peekPacket */
        start local 7 // java.net.DatagramPacket peekPacket
        30: .line 789
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            aload 7 /* peekPacket */
            invokevirtual java.net.DatagramSocketImpl.peekData:(Ljava/net/DatagramPacket;)I
            istore 6 /* peekPort */
        31: .line 790
            aload 7 /* peekPacket */
            invokevirtual java.net.DatagramPacket.getAddress:()Ljava/net/InetAddress;
            astore 5 /* peekAddress */
        end local 7 // java.net.DatagramPacket peekPacket
        32: .line 791
            goto 35
        33: .line 793
      StackMap locals: java.net.InetAddress int
      StackMap stack:
            new java.net.InetAddress
            dup
            invokespecial java.net.InetAddress.<init>:()V
            astore 5 /* peekAddress */
        34: .line 794
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            aload 5 /* peekAddress */
            invokevirtual java.net.DatagramSocketImpl.peek:(Ljava/net/InetAddress;)I
            istore 6 /* peekPort */
        35: .line 796
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.net.DatagramSocket.connectedAddress:Ljava/net/InetAddress;
            aload 5 /* peekAddress */
            invokevirtual java.net.InetAddress.equals:(Ljava/lang/Object;)Z
            ifeq 37
        36: .line 797
            aload 0 /* this */
            getfield java.net.DatagramSocket.connectedPort:I
            iload 6 /* peekPort */
            if_icmpeq 45
        37: .line 799
      StackMap locals:
      StackMap stack:
            new java.net.DatagramPacket
            dup
        38: .line 800
            sipush 1024
            newarray 8
            sipush 1024
        39: .line 799
            invokespecial java.net.DatagramPacket.<init>:([BI)V
            astore 3 /* tmp */
        40: .line 801
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            aload 3 /* tmp */
            invokevirtual java.net.DatagramSocketImpl.receive:(Ljava/net/DatagramPacket;)V
        41: .line 802
            aload 0 /* this */
            getfield java.net.DatagramSocket.explicitFilter:Z
            ifeq 46
        42: .line 803
            aload 0 /* this */
            aload 3 /* tmp */
            invokevirtual java.net.DatagramSocket.checkFiltering:(Ljava/net/DatagramPacket;)Z
            ifeq 46
        43: .line 804
            iconst_1
            istore 4 /* stop */
        44: .line 807
            goto 46
        45: .line 808
      StackMap locals:
      StackMap stack:
            iconst_1
            istore 4 /* stop */
        end local 6 // int peekPort
        end local 5 // java.net.InetAddress peekAddress
        46: .line 782
      StackMap locals:
      StackMap stack:
            iload 4 /* stop */
            ifeq 26
        end local 4 // boolean stop
        47: .line 814
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            aload 1 /* p */
            invokevirtual java.net.DatagramSocketImpl.receive:(Ljava/net/DatagramPacket;)V
        48: .line 815
            aload 0 /* this */
            getfield java.net.DatagramSocket.explicitFilter:Z
            ifeq 50
            aload 3 /* tmp */
            ifnonnull 50
        49: .line 817
            aload 0 /* this */
            aload 1 /* p */
            invokevirtual java.net.DatagramSocket.checkFiltering:(Ljava/net/DatagramPacket;)Z
            pop
        end local 3 // java.net.DatagramPacket tmp
        50: .line 731
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
        51: goto 54
      StackMap locals:
      StackMap stack: java.lang.Throwable
        52: aload 2
            monitorexit
        53: athrow
        54: .line 820
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.net.DatagramPacket p
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   55     0         this  Ljava/net/DatagramSocket;
            0   55     1            p  Ljava/net/DatagramPacket;
            5   22     3     security  Ljava/lang/SecurityManager;
            7   21     4       peekAd  Ljava/lang/String;
            8   21     5     peekPort  I
           10   12     6   peekPacket  Ljava/net/DatagramPacket;
           14   16     6          adr  Ljava/net/InetAddress;
           20   21     6          tmp  Ljava/net/DatagramPacket;
           23   50     3          tmp  Ljava/net/DatagramPacket;
           25   47     4         stop  Z
           27   46     5  peekAddress  Ljava/net/InetAddress;
           28   46     6     peekPort  I
           30   32     7   peekPacket  Ljava/net/DatagramPacket;
      Exception table:
        from    to  target  type
          16    17      18  Class java.lang.SecurityException
           1    51      52  any
          52    53      52  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      p     

  private boolean checkFiltering(java.net.DatagramPacket);
    descriptor: (Ljava/net/DatagramPacket;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.net.DatagramSocket this
        start local 1 // java.net.DatagramPacket p
         0: .line 823
            aload 0 /* this */
            dup
            getfield java.net.DatagramSocket.bytesLeftToFilter:I
            aload 1 /* p */
            invokevirtual java.net.DatagramPacket.getLength:()I
            isub
            putfield java.net.DatagramSocket.bytesLeftToFilter:I
         1: .line 824
            aload 0 /* this */
            getfield java.net.DatagramSocket.bytesLeftToFilter:I
            ifle 2
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            invokevirtual java.net.DatagramSocketImpl.dataAvailable:()I
            ifgt 4
         2: .line 825
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_0
            putfield java.net.DatagramSocket.explicitFilter:Z
         3: .line 826
            iconst_1
            ireturn
         4: .line 828
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // java.net.DatagramPacket p
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljava/net/DatagramSocket;
            0    5     1     p  Ljava/net/DatagramPacket;
    Exceptions:
      throws java.net.SocketException
    MethodParameters:
      Name  Flags
      p     

  public java.net.InetAddress getLocalAddress();
    descriptor: ()Ljava/net/InetAddress;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 850
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 2
         1: .line 851
            aconst_null
            areturn
         2: .line 852
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 1 /* in */
        start local 1 // java.net.InetAddress in
         3: .line 854
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            bipush 15
            invokevirtual java.net.DatagramSocketImpl.getOption:(I)Ljava/lang/Object;
            checkcast java.net.InetAddress
            astore 1 /* in */
         4: .line 855
            aload 1 /* in */
            invokevirtual java.net.InetAddress.isAnyLocalAddress:()Z
            ifeq 6
         5: .line 856
            invokestatic java.net.InetAddress.anyLocalAddress:()Ljava/net/InetAddress;
            astore 1 /* in */
         6: .line 858
      StackMap locals: java.net.InetAddress
      StackMap stack:
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 2 /* s */
        start local 2 // java.lang.SecurityManager s
         7: .line 859
            aload 2 /* s */
            ifnull 12
         8: .line 860
            aload 2 /* s */
            aload 1 /* in */
            invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
            iconst_m1
            invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
        end local 2 // java.lang.SecurityManager s
         9: .line 862
            goto 12
      StackMap locals:
      StackMap stack: java.lang.Exception
        10: pop
        11: .line 863
            invokestatic java.net.InetAddress.anyLocalAddress:()Ljava/net/InetAddress;
            astore 1 /* in */
        12: .line 865
      StackMap locals:
      StackMap stack:
            aload 1 /* in */
            areturn
        end local 1 // java.net.InetAddress in
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   13     0  this  Ljava/net/DatagramSocket;
            3   13     1    in  Ljava/net/InetAddress;
            7    9     2     s  Ljava/lang/SecurityManager;
      Exception table:
        from    to  target  type
           3     9      10  Class java.lang.Exception

  public int getLocalPort();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 877
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 2
         1: .line 878
            iconst_m1
            ireturn
         2: .line 880
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            invokevirtual java.net.DatagramSocketImpl.getLocalPort:()I
         3: ireturn
         4: .line 881
      StackMap locals:
      StackMap stack: java.lang.Exception
            pop
         5: .line 882
            iconst_0
            ireturn
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljava/net/DatagramSocket;
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.Exception

  public synchronized void setSoTimeout(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.net.DatagramSocket this
        start local 1 // int timeout
         0: .line 902
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 2
         1: .line 903
            new java.net.SocketException
            dup
            ldc "Socket is closed"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 904
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            sipush 4102
            iload 1 /* timeout */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokevirtual java.net.DatagramSocketImpl.setOption:(ILjava/lang/Object;)V
         3: .line 905
            return
        end local 1 // int timeout
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Ljava/net/DatagramSocket;
            0    4     1  timeout  I
    Exceptions:
      throws java.net.SocketException
    MethodParameters:
         Name  Flags
      timeout  

  public synchronized int getSoTimeout();
    descriptor: ()I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 917
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 2
         1: .line 918
            new java.net.SocketException
            dup
            ldc "Socket is closed"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 919
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            ifnonnull 4
         3: .line 920
            iconst_0
            ireturn
         4: .line 921
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            sipush 4102
            invokevirtual java.net.DatagramSocketImpl.getOption:(I)Ljava/lang/Object;
            astore 1 /* o */
        start local 1 // java.lang.Object o
         5: .line 923
            aload 1 /* o */
            instanceof java.lang.Integer
            ifeq 7
         6: .line 924
            aload 1 /* o */
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            ireturn
         7: .line 926
      StackMap locals: java.lang.Object
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // java.lang.Object o
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljava/net/DatagramSocket;
            5    8     1     o  Ljava/lang/Object;
    Exceptions:
      throws java.net.SocketException

  public synchronized void setSendBufferSize(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.net.DatagramSocket this
        start local 1 // int size
         0: .line 961
            iload 1 /* size */
            ifgt 2
         1: .line 962
            new java.lang.IllegalArgumentException
            dup
            ldc "negative send size"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 964
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 4
         3: .line 965
            new java.net.SocketException
            dup
            ldc "Socket is closed"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 966
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            sipush 4097
            iload 1 /* size */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokevirtual java.net.DatagramSocketImpl.setOption:(ILjava/lang/Object;)V
         5: .line 967
            return
        end local 1 // int size
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljava/net/DatagramSocket;
            0    6     1  size  I
    Exceptions:
      throws java.net.SocketException
    MethodParameters:
      Name  Flags
      size  

  public synchronized int getSendBufferSize();
    descriptor: ()I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 979
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 2
         1: .line 980
            new java.net.SocketException
            dup
            ldc "Socket is closed"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 981
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 1 /* result */
        start local 1 // int result
         3: .line 982
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            sipush 4097
            invokevirtual java.net.DatagramSocketImpl.getOption:(I)Ljava/lang/Object;
            astore 2 /* o */
        start local 2 // java.lang.Object o
         4: .line 983
            aload 2 /* o */
            instanceof java.lang.Integer
            ifeq 6
         5: .line 984
            aload 2 /* o */
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            istore 1 /* result */
         6: .line 986
      StackMap locals: int java.lang.Object
      StackMap stack:
            iload 1 /* result */
            ireturn
        end local 2 // java.lang.Object o
        end local 1 // int result
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Ljava/net/DatagramSocket;
            3    7     1  result  I
            4    7     2       o  Ljava/lang/Object;
    Exceptions:
      throws java.net.SocketException

  public synchronized void setReceiveBufferSize(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.net.DatagramSocket this
        start local 1 // int size
         0: .line 1019
            iload 1 /* size */
            ifgt 2
         1: .line 1020
            new java.lang.IllegalArgumentException
            dup
            ldc "invalid receive size"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 1022
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 4
         3: .line 1023
            new java.net.SocketException
            dup
            ldc "Socket is closed"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 1024
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            sipush 4098
            iload 1 /* size */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokevirtual java.net.DatagramSocketImpl.setOption:(ILjava/lang/Object;)V
         5: .line 1025
            return
        end local 1 // int size
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljava/net/DatagramSocket;
            0    6     1  size  I
    Exceptions:
      throws java.net.SocketException
    MethodParameters:
      Name  Flags
      size  

  public synchronized int getReceiveBufferSize();
    descriptor: ()I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 1037
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 2
         1: .line 1038
            new java.net.SocketException
            dup
            ldc "Socket is closed"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 1039
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 1 /* result */
        start local 1 // int result
         3: .line 1040
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            sipush 4098
            invokevirtual java.net.DatagramSocketImpl.getOption:(I)Ljava/lang/Object;
            astore 2 /* o */
        start local 2 // java.lang.Object o
         4: .line 1041
            aload 2 /* o */
            instanceof java.lang.Integer
            ifeq 6
         5: .line 1042
            aload 2 /* o */
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            istore 1 /* result */
         6: .line 1044
      StackMap locals: int java.lang.Object
      StackMap stack:
            iload 1 /* result */
            ireturn
        end local 2 // java.lang.Object o
        end local 1 // int result
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Ljava/net/DatagramSocket;
            3    7     1  result  I
            4    7     2       o  Ljava/lang/Object;
    Exceptions:
      throws java.net.SocketException

  public synchronized void setReuseAddress(boolean);
    descriptor: (Z)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.net.DatagramSocket this
        start local 1 // boolean on
         0: .line 1082
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 2
         1: .line 1083
            new java.net.SocketException
            dup
            ldc "Socket is closed"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 1085
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.net.DatagramSocket.oldImpl:Z
            ifeq 6
         3: .line 1086
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            iconst_4
            iload 1 /* on */
            ifeq 4
            iconst_m1
            goto 5
      StackMap locals: java.net.DatagramSocket int
      StackMap stack: java.net.DatagramSocketImpl int
         4: iconst_0
      StackMap locals: java.net.DatagramSocket int
      StackMap stack: java.net.DatagramSocketImpl int int
         5: invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokevirtual java.net.DatagramSocketImpl.setOption:(ILjava/lang/Object;)V
            goto 7
         6: .line 1088
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            iconst_4
            iload 1 /* on */
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            invokevirtual java.net.DatagramSocketImpl.setOption:(ILjava/lang/Object;)V
         7: .line 1089
      StackMap locals:
      StackMap stack:
            return
        end local 1 // boolean on
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljava/net/DatagramSocket;
            0    8     1    on  Z
    Exceptions:
      throws java.net.SocketException
    MethodParameters:
      Name  Flags
      on    

  public synchronized boolean getReuseAddress();
    descriptor: ()Z
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 1101
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 2
         1: .line 1102
            new java.net.SocketException
            dup
            ldc "Socket is closed"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 1103
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            iconst_4
            invokevirtual java.net.DatagramSocketImpl.getOption:(I)Ljava/lang/Object;
            astore 1 /* o */
        start local 1 // java.lang.Object o
         3: .line 1104
            aload 1 /* o */
            checkcast java.lang.Boolean
            invokevirtual java.lang.Boolean.booleanValue:()Z
            ireturn
        end local 1 // java.lang.Object o
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljava/net/DatagramSocket;
            3    4     1     o  Ljava/lang/Object;
    Exceptions:
      throws java.net.SocketException

  public synchronized void setBroadcast(boolean);
    descriptor: (Z)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.net.DatagramSocket this
        start local 1 // boolean on
         0: .line 1125
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 2
         1: .line 1126
            new java.net.SocketException
            dup
            ldc "Socket is closed"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 1127
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            bipush 32
            iload 1 /* on */
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            invokevirtual java.net.DatagramSocketImpl.setOption:(ILjava/lang/Object;)V
         3: .line 1128
            return
        end local 1 // boolean on
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljava/net/DatagramSocket;
            0    4     1    on  Z
    Exceptions:
      throws java.net.SocketException
    MethodParameters:
      Name  Flags
      on    

  public synchronized boolean getBroadcast();
    descriptor: ()Z
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 1139
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 2
         1: .line 1140
            new java.net.SocketException
            dup
            ldc "Socket is closed"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 1141
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            bipush 32
            invokevirtual java.net.DatagramSocketImpl.getOption:(I)Ljava/lang/Object;
            checkcast java.lang.Boolean
            invokevirtual java.lang.Boolean.booleanValue:()Z
            ireturn
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljava/net/DatagramSocket;
    Exceptions:
      throws java.net.SocketException

  public synchronized void setTrafficClass(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // java.net.DatagramSocket this
        start local 1 // int tc
         0: .line 1182
            iload 1 /* tc */
            iflt 1
            iload 1 /* tc */
            sipush 255
            if_icmple 2
         1: .line 1183
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            ldc "tc is not in range 0 -- 255"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 1185
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 4
         3: .line 1186
            new java.net.SocketException
            dup
            ldc "Socket is closed"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 1188
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            iconst_3
            iload 1 /* tc */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokevirtual java.net.DatagramSocketImpl.setOption:(ILjava/lang/Object;)V
         5: .line 1189
            goto 9
      StackMap locals:
      StackMap stack: java.net.SocketException
         6: astore 2 /* se */
        start local 2 // java.net.SocketException se
         7: .line 1192
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isConnected:()Z
            ifne 9
         8: .line 1193
            aload 2 /* se */
            athrow
        end local 2 // java.net.SocketException se
         9: .line 1195
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int tc
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Ljava/net/DatagramSocket;
            0   10     1    tc  I
            7    9     2    se  Ljava/net/SocketException;
      Exception table:
        from    to  target  type
           4     5       6  Class java.net.SocketException
    Exceptions:
      throws java.net.SocketException
    MethodParameters:
      Name  Flags
      tc    

  public synchronized int getTrafficClass();
    descriptor: ()I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 1214
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 2
         1: .line 1215
            new java.net.SocketException
            dup
            ldc "Socket is closed"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 1216
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            iconst_3
            invokevirtual java.net.DatagramSocketImpl.getOption:(I)Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            ireturn
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljava/net/DatagramSocket;
    Exceptions:
      throws java.net.SocketException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 1232
            aload 0 /* this */
            getfield java.net.DatagramSocket.closeLock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 1233
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.isClosed:()Z
            ifeq 4
         2: .line 1234
            aload 1
            monitorexit
         3: return
         4: .line 1235
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield java.net.DatagramSocket.impl:Ljava/net/DatagramSocketImpl;
            invokevirtual java.net.DatagramSocketImpl.close:()V
         5: .line 1236
            aload 0 /* this */
            iconst_1
            putfield java.net.DatagramSocket.closed:Z
         6: .line 1232
            aload 1
            monitorexit
         7: goto 10
      StackMap locals:
      StackMap stack: java.lang.Throwable
         8: aload 1
            monitorexit
         9: athrow
        10: .line 1238
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Ljava/net/DatagramSocket;
      Exception table:
        from    to  target  type
           1     3       8  any
           4     7       8  any
           8     9       8  any

  public boolean isClosed();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 1247
            aload 0 /* this */
            getfield java.net.DatagramSocket.closeLock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 1248
            aload 0 /* this */
            getfield java.net.DatagramSocket.closed:Z
            aload 1
            monitorexit
         2: ireturn
         3: .line 1247
      StackMap locals: java.net.DatagramSocket java.lang.Object
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljava/net/DatagramSocket;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  public java.nio.channels.DatagramChannel getChannel();
    descriptor: ()Ljava/nio/channels/DatagramChannel;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 1267
            aconst_null
            areturn
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/net/DatagramSocket;

  public static synchronized void setDatagramSocketImplFactory(java.net.DatagramSocketImplFactory);
    descriptor: (Ljava/net/DatagramSocketImplFactory;)V
    flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.net.DatagramSocketImplFactory fac
         0: .line 1305
            getstatic java.net.DatagramSocket.factory:Ljava/net/DatagramSocketImplFactory;
            ifnull 2
         1: .line 1306
            new java.net.SocketException
            dup
            ldc "factory already defined"
            invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 1308
      StackMap locals:
      StackMap stack:
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 1 /* security */
        start local 1 // java.lang.SecurityManager security
         3: .line 1309
            aload 1 /* security */
            ifnull 5
         4: .line 1310
            aload 1 /* security */
            invokevirtual java.lang.SecurityManager.checkSetFactory:()V
         5: .line 1312
      StackMap locals: java.lang.SecurityManager
      StackMap stack:
            aload 0 /* fac */
            putstatic java.net.DatagramSocket.factory:Ljava/net/DatagramSocketImplFactory;
         6: .line 1313
            return
        end local 1 // java.lang.SecurityManager security
        end local 0 // java.net.DatagramSocketImplFactory fac
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0       fac  Ljava/net/DatagramSocketImplFactory;
            3    7     1  security  Ljava/lang/SecurityManager;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      fac   

  public <T> java.net.DatagramSocket setOption(java.net.SocketOption<T>, T);
    descriptor: (Ljava/net/SocketOption;Ljava/lang/Object;)Ljava/net/DatagramSocket;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // java.net.DatagramSocket this
        start local 1 // java.net.SocketOption name
        start local 2 // java.lang.Object value
         0: .line 1346
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            aload 1 /* name */
            aload 2 /* value */
            invokevirtual java.net.DatagramSocketImpl.setOption:(Ljava/net/SocketOption;Ljava/lang/Object;)V
         1: .line 1347
            aload 0 /* this */
            areturn
        end local 2 // java.lang.Object value
        end local 1 // java.net.SocketOption name
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Ljava/net/DatagramSocket;
            0    2     1   name  Ljava/net/SocketOption<TT;>;
            0    2     2  value  TT;
    Exceptions:
      throws java.io.IOException
    Signature: <T:Ljava/lang/Object;>(Ljava/net/SocketOption<TT;>;TT;)Ljava/net/DatagramSocket;
    MethodParameters:
       Name  Flags
      name   
      value  

  public <T> T getOption(java.net.SocketOption<T>);
    descriptor: (Ljava/net/SocketOption;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.net.DatagramSocket this
        start local 1 // java.net.SocketOption name
         0: .line 1374
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            aload 1 /* name */
            invokevirtual java.net.DatagramSocketImpl.getOption:(Ljava/net/SocketOption;)Ljava/lang/Object;
            areturn
        end local 1 // java.net.SocketOption name
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/net/DatagramSocket;
            0    1     1  name  Ljava/net/SocketOption<TT;>;
    Exceptions:
      throws java.io.IOException
    Signature: <T:Ljava/lang/Object;>(Ljava/net/SocketOption<TT;>;)TT;
    MethodParameters:
      Name  Flags
      name  

  public java.util.Set<java.net.SocketOption<?>> supportedOptions();
    descriptor: ()Ljava/util/Set;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // java.net.DatagramSocket this
         0: .line 1392
            ldc Ljava/net/DatagramSocket;
            dup
            astore 1
            monitorenter
         1: .line 1393
            getstatic java.net.DatagramSocket.optionsSet:Z
            ifeq 4
         2: .line 1394
            getstatic java.net.DatagramSocket.options:Ljava/util/Set;
            aload 1
            monitorexit
         3: areturn
         4: .line 1397
      StackMap locals: java.lang.Class
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.net.DatagramSocket.getImpl:()Ljava/net/DatagramSocketImpl;
            astore 2 /* impl */
        start local 2 // java.net.DatagramSocketImpl impl
         5: .line 1398
            aload 2 /* impl */
            invokevirtual java.net.DatagramSocketImpl.supportedOptions:()Ljava/util/Set;
            invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
            putstatic java.net.DatagramSocket.options:Ljava/util/Set;
        end local 2 // java.net.DatagramSocketImpl impl
         6: .line 1399
            goto 9
      StackMap locals:
      StackMap stack: java.io.IOException
         7: pop
         8: .line 1400
            invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
            putstatic java.net.DatagramSocket.options:Ljava/util/Set;
         9: .line 1402
      StackMap locals:
      StackMap stack:
            iconst_1
            putstatic java.net.DatagramSocket.optionsSet:Z
        10: .line 1403
            getstatic java.net.DatagramSocket.options:Ljava/util/Set;
            aload 1
            monitorexit
        11: areturn
        12: .line 1392
      StackMap locals:
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
        13: athrow
        end local 0 // java.net.DatagramSocket this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   14     0  this  Ljava/net/DatagramSocket;
            5    6     2  impl  Ljava/net/DatagramSocketImpl;
      Exception table:
        from    to  target  type
           4     6       7  Class java.io.IOException
           1     3      12  any
           4    11      12  any
          12    13      12  any
    Signature: ()Ljava/util/Set<Ljava/net/SocketOption<*>;>;
}
SourceFile: "DatagramSocket.java"
NestMembers:
  java.net.DatagramSocket$1
InnerClasses:
  java.net.DatagramSocket$1