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 signed8;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean bigEndian;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String javahome;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String classpath;
descriptor: Ljava/lang/String;
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
static boolean isSigned8();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.media.sound.Platform.signed8:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
static java.lang.String getJavahome();
descriptor: ()Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.media.sound.Platform.javahome:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
static java.lang.String getClasspath();
descriptor: ()Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.media.sound.Platform.classpath:Ljava/lang/String;
areturn
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: new com.sun.media.sound.Platform$1
dup
invokespecial com.sun.media.sound.Platform$1.<init>:()V
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: goto 5
StackMap locals:
StackMap stack: java.lang.SecurityException
3: astore 0
start local 0 4: aload 0
athrow
end local 0 5: StackMap locals:
StackMap stack:
invokestatic com.sun.media.sound.Platform.nGetExtraLibraries:()Ljava/lang/String;
astore 0
start local 0 6: new java.util.StringTokenizer
dup
aload 0
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 1
start local 1 7: goto 17
8: 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 9: new com.sun.media.sound.Platform$2
dup
aload 2
invokespecial com.sun.media.sound.Platform$2.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
10: aload 2
ldc "jsoundalsa"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: getstatic com.sun.media.sound.Platform.loadedLibs:I
iconst_2
ior
putstatic com.sun.media.sound.Platform.loadedLibs:I
12: goto 17
StackMap locals: java.lang.String
StackMap stack:
13: aload 2
ldc "jsoundds"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
14: getstatic com.sun.media.sound.Platform.loadedLibs:I
iconst_4
ior
putstatic com.sun.media.sound.Platform.loadedLibs:I
15: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 3
end local 2 17: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 8
18: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
4 5 0 e Ljava/lang/SecurityException;
6 19 0 extraLibs Ljava/lang/String;
7 19 1 st Ljava/util/StringTokenizer;
9 17 2 lib Ljava/lang/String;
Exception table:
from to target type
0 2 3 Class java.lang.SecurityException
9 15 16 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 boolean nIsSigned8();
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: invokestatic com.sun.media.sound.Platform.nIsSigned8:()Z
putstatic com.sun.media.sound.Platform.signed8:Z
2: ldc "java.home"
invokestatic com.sun.media.sound.JSSecurityManager.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic com.sun.media.sound.Platform.javahome:Ljava/lang/String;
3: ldc "java.class.path"
invokestatic com.sun.media.sound.JSSecurityManager.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic com.sun.media.sound.Platform.classpath:Ljava/lang/String;
4: return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Platform.java"
NestMembers:
com.sun.media.sound.Platform$1 com.sun.media.sound.Platform$2
InnerClasses:
com.sun.media.sound.Platform$1
com.sun.media.sound.Platform$2