final class com.sun.media.sound.Platform
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.Platform
super_class: java.lang.Object
{
private static final java.lang.String libNameMain;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jsound"
private static final java.lang.String libNameALSA;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jsoundalsa"
private static final java.lang.String libNameDSound;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jsoundds"
public static final int LIB_MAIN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int LIB_ALSA;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int LIB_DSOUND;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static int loadedLibs;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
public static final int FEATURE_MIDIIO;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int FEATURE_PORTS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int FEATURE_DIRECT_AUDIO;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static boolean bigEndian;
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: iconst_0
putstatic com.sun.media.sound.Platform.loadedLibs:I
1: invokestatic com.sun.media.sound.Platform.loadLibraries:()V
2: invokestatic com.sun.media.sound.Platform.readProperties:()V
3: 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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/Platform;
static void initialize();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: return
LocalVariableTable:
Start End Slot Name Signature
static boolean isBigEndian();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.media.sound.Platform.bigEndian:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static void loadLibraries();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=0
0: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/media/sound/Platform.lambda$0()Ljava/lang/Void; (6)
()Ljava/lang/Void;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
1: getstatic com.sun.media.sound.Platform.loadedLibs:I
iconst_1
ior
putstatic com.sun.media.sound.Platform.loadedLibs:I
2: invokestatic com.sun.media.sound.Platform.nGetExtraLibraries:()Ljava/lang/String;
astore 0
start local 0 3: new java.util.StringTokenizer
dup
aload 0
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 1
start local 1 4: goto 14
5: StackMap locals: java.lang.String java.util.StringTokenizer
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 2
start local 2 6: aload 2
invokedynamic run(Ljava/lang/String;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/media/sound/Platform.lambda$1(Ljava/lang/String;)Ljava/lang/Void; (6)
()Ljava/lang/Void;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
7: aload 2
ldc "jsoundalsa"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: getstatic com.sun.media.sound.Platform.loadedLibs:I
iconst_2
ior
putstatic com.sun.media.sound.Platform.loadedLibs:I
9: goto 14
StackMap locals: java.lang.String
StackMap stack:
10: aload 2
ldc "jsoundds"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
11: getstatic com.sun.media.sound.Platform.loadedLibs:I
iconst_4
ior
putstatic com.sun.media.sound.Platform.loadedLibs:I
12: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 3
end local 2 14: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 5
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
3 16 0 extraLibs Ljava/lang/String;
4 16 1 st Ljava/util/StringTokenizer;
6 14 2 lib Ljava/lang/String;
Exception table:
from to target type
6 12 13 Class java.lang.Throwable
static boolean isMidiIOEnabled();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_1
invokestatic com.sun.media.sound.Platform.isFeatureLibLoaded:(I)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
static boolean isPortsEnabled();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_2
invokestatic com.sun.media.sound.Platform.isFeatureLibLoaded:(I)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
static boolean isDirectAudioEnabled();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_3
invokestatic com.sun.media.sound.Platform.isFeatureLibLoaded:(I)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static boolean isFeatureLibLoaded(int);
descriptor: (I)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: iload 0
invokestatic com.sun.media.sound.Platform.nGetLibraryForFeature:(I)I
istore 1
start local 1 1: iload 1
ifeq 2
getstatic com.sun.media.sound.Platform.loadedLibs:I
iload 1
iand
iload 1
if_icmpne 2
iconst_1
goto 3
StackMap locals: int
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 2
start local 2 4: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 feature I
1 5 1 requiredLib I
4 5 2 isLoaded Z
MethodParameters:
Name Flags
feature
private static native boolean nIsBigEndian();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native int nGetLibraryForFeature(int);
descriptor: (I)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
feature
private static void readProperties();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.sun.media.sound.Platform.nIsBigEndian:()Z
putstatic com.sun.media.sound.Platform.bigEndian:Z
1: return
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Void lambda$0();
descriptor: ()Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: ldc "jsound"
invokestatic java.lang.System.loadLibrary:(Ljava/lang/String;)V
1: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Void lambda$1(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokestatic java.lang.System.loadLibrary:(Ljava/lang/String;)V
1: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Platform.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles