public final class sun.net.sdp.SdpSupport
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.net.sdp.SdpSupport
super_class: java.lang.Object
{
private static final java.lang.String os;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean isSupported;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.access.JavaIOFileDescriptorAccess fdAccess;
descriptor: Ljdk/internal/access/JavaIOFileDescriptorAccess;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "os.name"
invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic sun.net.sdp.SdpSupport.os:Ljava/lang/String;
1: getstatic sun.net.sdp.SdpSupport.os:Ljava/lang/String;
ldc "Linux"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putstatic sun.net.sdp.SdpSupport.isSupported:Z
2: invokestatic jdk.internal.access.SharedSecrets.getJavaIOFileDescriptorAccess:()Ljdk/internal/access/JavaIOFileDescriptorAccess;
3: putstatic sun.net.sdp.SdpSupport.fdAccess:Ljdk/internal/access/JavaIOFileDescriptorAccess;
4: ldc "net"
invokestatic jdk.internal.loader.BootLoader.loadLibrary:(Ljava/lang/String;)V
5: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/sdp/SdpSupport;
public static java.io.FileDescriptor createSocket();
descriptor: ()Ljava/io/FileDescriptor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: getstatic sun.net.sdp.SdpSupport.isSupported:Z
ifne 2
1: new java.lang.UnsupportedOperationException
dup
ldc "SDP not supported on this platform"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
invokestatic sun.net.sdp.SdpSupport.create0:()I
istore 0
start local 0 3: new java.io.FileDescriptor
dup
invokespecial java.io.FileDescriptor.<init>:()V
astore 1
start local 1 4: getstatic sun.net.sdp.SdpSupport.fdAccess:Ljdk/internal/access/JavaIOFileDescriptorAccess;
aload 1
iload 0
invokeinterface jdk.internal.access.JavaIOFileDescriptorAccess.set:(Ljava/io/FileDescriptor;I)V
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
3 6 0 fdVal I
4 6 1 fd Ljava/io/FileDescriptor;
Exceptions:
throws java.io.IOException
public static void convertSocket(java.io.FileDescriptor);
descriptor: (Ljava/io/FileDescriptor;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic sun.net.sdp.SdpSupport.isSupported:Z
ifne 2
1: new java.lang.UnsupportedOperationException
dup
ldc "SDP not supported on this platform"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic sun.net.sdp.SdpSupport.fdAccess:Ljdk/internal/access/JavaIOFileDescriptorAccess;
aload 0
invokeinterface jdk.internal.access.JavaIOFileDescriptorAccess.get:(Ljava/io/FileDescriptor;)I
istore 1
start local 1 3: iload 1
invokestatic sun.net.sdp.SdpSupport.convert0:(I)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 fd Ljava/io/FileDescriptor;
3 5 1 fdVal I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
private static native int create0();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
private static native void convert0(int);
descriptor: (I)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
}
SourceFile: "SdpSupport.java"