public class com.sun.media.jfxmediaimpl.NativeMediaManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.media.jfxmediaimpl.NativeMediaManager
super_class: java.lang.Object
{
private static boolean isNativeLayerInitialized;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final java.util.List<java.lang.ref.WeakReference<com.sun.media.jfxmedia.events.MediaErrorListener>> errorListeners;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/ref/WeakReference<Lcom/sun/media/jfxmedia/events/MediaErrorListener;>;>;
private static final com.sun.media.jfxmediaimpl.NativeMediaManager$NativeMediaPlayerDisposer playerDisposer;
descriptor: Lcom/sun/media/jfxmediaimpl/NativeMediaManager$NativeMediaPlayerDisposer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Map<com.sun.media.jfxmedia.MediaPlayer, java.lang.Boolean> allMediaPlayers;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Lcom/sun/media/jfxmedia/MediaPlayer;Ljava/lang/Boolean;>;
private final java.util.List<java.lang.String> supportedContentTypes;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private final java.util.List<java.lang.String> supportedProtocols;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_0
putstatic com.sun.media.jfxmediaimpl.NativeMediaManager.isNativeLayerInitialized:Z
1: new com.sun.media.jfxmediaimpl.NativeMediaManager$NativeMediaPlayerDisposer
dup
invokespecial com.sun.media.jfxmediaimpl.NativeMediaManager$NativeMediaPlayerDisposer.<init>:()V
2: putstatic com.sun.media.jfxmediaimpl.NativeMediaManager.playerDisposer:Lcom/sun/media/jfxmediaimpl/NativeMediaManager$NativeMediaPlayerDisposer;
3: new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
4: putstatic com.sun.media.jfxmediaimpl.NativeMediaManager.allMediaPlayers:Ljava/util/Map;
5: return
LocalVariableTable:
Start End Slot Name Signature
public static com.sun.media.jfxmediaimpl.NativeMediaManager getDefaultInstance();
descriptor: ()Lcom/sun/media/jfxmediaimpl/NativeMediaManager;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.media.jfxmediaimpl.NativeMediaManager$NativeMediaManagerInitializer.globalInstance:Lcom/sun/media/jfxmediaimpl/NativeMediaManager;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.jfxmediaimpl.NativeMediaManager.errorListeners:Ljava/util/List;
3: aload 0
4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.jfxmediaimpl.NativeMediaManager.supportedContentTypes:Ljava/util/List;
5: aload 0
6: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.jfxmediaimpl.NativeMediaManager.supportedProtocols:Ljava/util/List;
7: invokedynamic run()Ljava/security/PrivilegedExceptionAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/media/jfxmediaimpl/NativeMediaManager.lambda$0()Ljava/lang/Object; (6)
()Ljava/lang/Object;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
pop
8: goto 13
StackMap locals: com.sun.media.jfxmediaimpl.NativeMediaManager
StackMap stack: java.security.PrivilegedActionException
9: astore 1
start local 1 10: aconst_null
getstatic com.sun.media.jfxmedia.MediaError.ERROR_MANAGER_ENGINEINIT_FAIL:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
11: ldc "Unable to load one or more dependent libraries."
aload 1
12: invokestatic com.sun.media.jfxmediaimpl.MediaUtils.error:(Ljava/lang/Object;ILjava/lang/String;Ljava/lang/Throwable;)V
end local 1 13: StackMap locals:
StackMap stack:
invokestatic com.sun.media.jfxmedia.logging.Logger.initNative:()Z
ifne 17
14: aconst_null
getstatic com.sun.media.jfxmedia.MediaError.ERROR_MANAGER_LOGGER_INIT:Lcom/sun/media/jfxmedia/MediaError;
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
15: ldc "Unable to init logger"
aconst_null
16: invokestatic com.sun.media.jfxmediaimpl.MediaUtils.error:(Ljava/lang/Object;ILjava/lang/String;Ljava/lang/Throwable;)V
17: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/media/jfxmediaimpl/NativeMediaManager;
10 13 1 pae Ljava/security/PrivilegedActionException;
Exception table:
from to target type
7 8 9 Class java.security.PrivilegedActionException
static synchronized void initNativeLayer();
descriptor: ()V
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.media.jfxmediaimpl.NativeMediaManager.isNativeLayerInitialized:Z
ifne 3
1: invokestatic com.sun.media.jfxmediaimpl.platform.PlatformManager.getManager:()Lcom/sun/media/jfxmediaimpl/platform/PlatformManager;
invokevirtual com.sun.media.jfxmediaimpl.platform.PlatformManager.loadPlatforms:()V
2: iconst_1
putstatic com.sun.media.jfxmediaimpl.NativeMediaManager.isNativeLayerInitialized:Z
3: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
private synchronized void loadContentTypes();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMediaManager.supportedContentTypes:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
invokestatic com.sun.media.jfxmediaimpl.platform.PlatformManager.getManager:()Lcom/sun/media/jfxmediaimpl/platform/PlatformManager;
invokevirtual com.sun.media.jfxmediaimpl.platform.PlatformManager.getSupportedContentTypes:()Ljava/util/List;
astore 1
start local 1 3: aload 1
ifnull 5
aload 1
invokeinterface java.util.List.isEmpty:()Z
ifne 5
4: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMediaManager.supportedContentTypes:Ljava/util/List;
aload 1
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
5: StackMap locals: java.util.List
StackMap stack:
iconst_1
invokestatic com.sun.media.jfxmedia.logging.Logger.canLog:(I)Z
ifeq 14
6: new java.lang.StringBuilder
dup
ldc "JFXMedia supported content types:\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 7: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMediaManager.supportedContentTypes:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: com.sun.media.jfxmediaimpl.NativeMediaManager java.util.List java.lang.StringBuilder top java.util.Iterator
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 9: aload 2
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 2
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 2
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 12: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
13: iconst_1
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.media.jfxmedia.logging.Logger.logMsg:(ILjava/lang/String;)V
end local 2 14: StackMap locals: com.sun.media.jfxmediaimpl.NativeMediaManager java.util.List
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/media/jfxmediaimpl/NativeMediaManager;
3 15 1 npt Ljava/util/List<Ljava/lang/String;>;
7 14 2 sb Ljava/lang/StringBuilder;
9 12 3 type Ljava/lang/String;
private synchronized void loadProtocols();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMediaManager.supportedProtocols:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
invokestatic com.sun.media.jfxmediaimpl.platform.PlatformManager.getManager:()Lcom/sun/media/jfxmediaimpl/platform/PlatformManager;
invokevirtual com.sun.media.jfxmediaimpl.platform.PlatformManager.getSupportedProtocols:()Ljava/util/List;
astore 1
start local 1 3: aload 1
ifnull 5
aload 1
invokeinterface java.util.List.isEmpty:()Z
ifne 5
4: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMediaManager.supportedProtocols:Ljava/util/List;
aload 1
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
5: StackMap locals: java.util.List
StackMap stack:
iconst_1
invokestatic com.sun.media.jfxmedia.logging.Logger.canLog:(I)Z
ifeq 14
6: new java.lang.StringBuilder
dup
ldc "JFXMedia supported protocols:\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 7: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMediaManager.supportedProtocols:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: com.sun.media.jfxmediaimpl.NativeMediaManager java.util.List java.lang.StringBuilder top java.util.Iterator
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 9: aload 2
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 2
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 2
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 12: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
13: iconst_1
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.media.jfxmedia.logging.Logger.logMsg:(ILjava/lang/String;)V
end local 2 14: StackMap locals: com.sun.media.jfxmediaimpl.NativeMediaManager java.util.List
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/media/jfxmediaimpl/NativeMediaManager;
3 15 1 npt Ljava/util/List<Ljava/lang/String;>;
7 14 2 sb Ljava/lang/StringBuilder;
9 12 3 type Ljava/lang/String;
public boolean canPlayContentType(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "contentType == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMediaManager.supportedContentTypes:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
3: aload 0
invokevirtual com.sun.media.jfxmediaimpl.NativeMediaManager.loadContentTypes:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMediaManager.supportedContentTypes:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: com.sun.media.jfxmediaimpl.NativeMediaManager java.lang.String top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 6: aload 1
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
7: iconst_1
ireturn
end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/media/jfxmediaimpl/NativeMediaManager;
0 10 1 contentType Ljava/lang/String;
6 8 2 type Ljava/lang/String;
MethodParameters:
Name Flags
contentType
public java.lang.String[] getSupportedContentTypes();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMediaManager.supportedContentTypes:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: aload 0
invokevirtual com.sun.media.jfxmediaimpl.NativeMediaManager.loadContentTypes:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMediaManager.supportedContentTypes:Ljava/util/List;
iconst_1
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/jfxmediaimpl/NativeMediaManager;
public boolean canPlayProtocol(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "protocol == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMediaManager.supportedProtocols:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
3: aload 0
invokevirtual com.sun.media.jfxmediaimpl.NativeMediaManager.loadProtocols:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMediaManager.supportedProtocols:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: com.sun.media.jfxmediaimpl.NativeMediaManager java.lang.String top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 6: aload 1
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
7: iconst_1
ireturn
end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/media/jfxmediaimpl/NativeMediaManager;
0 10 1 protocol Ljava/lang/String;
6 8 2 type Ljava/lang/String;
MethodParameters:
Name Flags
protocol
public static com.sun.media.jfxmedia.MetadataParser getMetadataParser(com.sun.media.jfxmedia.locator.Locator);
descriptor: (Lcom/sun/media/jfxmedia/locator/Locator;)Lcom/sun/media/jfxmedia/MetadataParser;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.sun.media.jfxmediaimpl.platform.PlatformManager.getManager:()Lcom/sun/media/jfxmediaimpl/platform/PlatformManager;
aload 0
invokevirtual com.sun.media.jfxmediaimpl.platform.PlatformManager.createMetadataParser:(Lcom/sun/media/jfxmedia/locator/Locator;)Lcom/sun/media/jfxmedia/MetadataParser;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 locator Lcom/sun/media/jfxmedia/locator/Locator;
MethodParameters:
Name Flags
locator
public com.sun.media.jfxmedia.MediaPlayer getPlayer(com.sun.media.jfxmedia.locator.Locator);
descriptor: (Lcom/sun/media/jfxmedia/locator/Locator;)Lcom/sun/media/jfxmedia/MediaPlayer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic com.sun.media.jfxmediaimpl.NativeMediaManager.initNativeLayer:()V
1: invokestatic com.sun.media.jfxmediaimpl.platform.PlatformManager.getManager:()Lcom/sun/media/jfxmediaimpl/platform/PlatformManager;
aload 1
invokevirtual com.sun.media.jfxmediaimpl.platform.PlatformManager.createMediaPlayer:(Lcom/sun/media/jfxmedia/locator/Locator;)Lcom/sun/media/jfxmedia/MediaPlayer;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: new com.sun.media.jfxmedia.MediaException
dup
ldc "Could not create player!"
invokespecial com.sun.media.jfxmedia.MediaException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: com.sun.media.jfxmedia.MediaPlayer
StackMap stack:
getstatic com.sun.media.jfxmediaimpl.NativeMediaManager.allMediaPlayers:Ljava/util/Map;
aload 2
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/media/jfxmediaimpl/NativeMediaManager;
0 6 1 locator Lcom/sun/media/jfxmedia/locator/Locator;
2 6 2 player Lcom/sun/media/jfxmedia/MediaPlayer;
MethodParameters:
Name Flags
locator
public com.sun.media.jfxmedia.Media getMedia(com.sun.media.jfxmedia.locator.Locator);
descriptor: (Lcom/sun/media/jfxmedia/locator/Locator;)Lcom/sun/media/jfxmedia/Media;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.sun.media.jfxmediaimpl.NativeMediaManager.initNativeLayer:()V
1: invokestatic com.sun.media.jfxmediaimpl.platform.PlatformManager.getManager:()Lcom/sun/media/jfxmediaimpl/platform/PlatformManager;
aload 1
invokevirtual com.sun.media.jfxmediaimpl.platform.PlatformManager.createMedia:(Lcom/sun/media/jfxmedia/locator/Locator;)Lcom/sun/media/jfxmedia/Media;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/jfxmediaimpl/NativeMediaManager;
0 2 1 locator Lcom/sun/media/jfxmedia/locator/Locator;
MethodParameters:
Name Flags
locator
public void addMediaErrorListener(com.sun.media.jfxmedia.events.MediaErrorListener);
descriptor: (Lcom/sun/media/jfxmedia/events/MediaErrorListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnull 8
1: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMediaManager.errorListeners:Ljava/util/List;
invokeinterface java.util.List.listIterator:()Ljava/util/ListIterator;
astore 2
start local 2 2: goto 6
3: StackMap locals: java.util.ListIterator
StackMap stack:
aload 2
invokeinterface java.util.ListIterator.next:()Ljava/lang/Object;
checkcast java.lang.ref.WeakReference
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast com.sun.media.jfxmedia.events.MediaErrorListener
astore 3
start local 3 4: aload 3
ifnonnull 6
5: aload 2
invokeinterface java.util.ListIterator.remove:()V
end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.ListIterator.hasNext:()Z
ifne 3
end local 2 7: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMediaManager.errorListeners:Ljava/util/List;
new java.lang.ref.WeakReference
dup
aload 1
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/media/jfxmediaimpl/NativeMediaManager;
0 9 1 listener Lcom/sun/media/jfxmedia/events/MediaErrorListener;
2 7 2 it Ljava/util/ListIterator<Ljava/lang/ref/WeakReference<Lcom/sun/media/jfxmedia/events/MediaErrorListener;>;>;
4 6 3 l Lcom/sun/media/jfxmedia/events/MediaErrorListener;
MethodParameters:
Name Flags
listener
public void removeMediaErrorListener(com.sun.media.jfxmedia.events.MediaErrorListener);
descriptor: (Lcom/sun/media/jfxmedia/events/MediaErrorListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnull 7
1: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMediaManager.errorListeners:Ljava/util/List;
invokeinterface java.util.List.listIterator:()Ljava/util/ListIterator;
astore 2
start local 2 2: goto 6
3: StackMap locals: java.util.ListIterator
StackMap stack:
aload 2
invokeinterface java.util.ListIterator.next:()Ljava/lang/Object;
checkcast java.lang.ref.WeakReference
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast com.sun.media.jfxmedia.events.MediaErrorListener
astore 3
start local 3 4: aload 3
ifnull 5
aload 3
aload 1
if_acmpne 6
5: StackMap locals: com.sun.media.jfxmedia.events.MediaErrorListener
StackMap stack:
aload 2
invokeinterface java.util.ListIterator.remove:()V
end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.ListIterator.hasNext:()Z
ifne 3
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/media/jfxmediaimpl/NativeMediaManager;
0 8 1 listener Lcom/sun/media/jfxmedia/events/MediaErrorListener;
2 7 2 it Ljava/util/ListIterator<Ljava/lang/ref/WeakReference<Lcom/sun/media/jfxmedia/events/MediaErrorListener;>;>;
4 6 3 l Lcom/sun/media/jfxmedia/events/MediaErrorListener;
MethodParameters:
Name Flags
listener
public static void registerMediaPlayerForDispose(java.lang.Object, com.sun.media.jfxmedia.MediaPlayer);
descriptor: (Ljava/lang/Object;Lcom/sun/media/jfxmedia/MediaPlayer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic com.sun.media.jfxmediaimpl.NativeMediaManager.playerDisposer:Lcom/sun/media/jfxmediaimpl/NativeMediaManager$NativeMediaPlayerDisposer;
invokestatic com.sun.media.jfxmediaimpl.MediaDisposer.addResourceDisposer:(Ljava/lang/Object;Ljava/lang/Object;Lcom/sun/media/jfxmediaimpl/MediaDisposer$ResourceDisposer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 obj Ljava/lang/Object;
0 2 1 player Lcom/sun/media/jfxmedia/MediaPlayer;
MethodParameters:
Name Flags
obj
player
public java.util.List<com.sun.media.jfxmedia.MediaPlayer> getAllMediaPlayers();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: getstatic com.sun.media.jfxmediaimpl.NativeMediaManager.allMediaPlayers:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 3
2: new java.util.ArrayList
dup
getstatic com.sun.media.jfxmediaimpl.NativeMediaManager.allMediaPlayers:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 1
3: StackMap locals: java.util.List
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/media/jfxmediaimpl/NativeMediaManager;
1 4 1 allPlayers Ljava/util/List<Lcom/sun/media/jfxmedia/MediaPlayer;>;
Signature: ()Ljava/util/List<Lcom/sun/media/jfxmedia/MediaPlayer;>;
java.util.List<java.lang.ref.WeakReference<com.sun.media.jfxmedia.events.MediaErrorListener>> getMediaErrorListeners();
descriptor: ()Ljava/util/List;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMediaManager.errorListeners:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmediaimpl/NativeMediaManager;
Signature: ()Ljava/util/List<Ljava/lang/ref/WeakReference<Lcom/sun/media/jfxmedia/events/MediaErrorListener;>;>;
private static java.lang.Object lambda$0();
descriptor: ()Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=0
0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 0
start local 0 1: invokestatic com.sun.media.jfxmediaimpl.HostUtils.isWindows:()Z
ifne 2
invokestatic com.sun.media.jfxmediaimpl.HostUtils.isMacOSX:()Z
ifeq 3
2: StackMap locals: java.util.ArrayList
StackMap stack:
ldc "glib-lite"
invokestatic com.sun.glass.utils.NativeLibLoader.loadLibrary:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
invokestatic com.sun.media.jfxmediaimpl.HostUtils.isLinux:()Z
ifne 6
invokestatic com.sun.media.jfxmediaimpl.HostUtils.isIOS:()Z
ifne 6
4: ldc "gstreamer-lite"
invokestatic com.sun.glass.utils.NativeLibLoader.loadLibrary:(Ljava/lang/String;)V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
ldc "gstreamer-lite"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals:
StackMap stack:
invokestatic com.sun.media.jfxmediaimpl.HostUtils.isLinux:()Z
ifeq 15
8: aload 0
ldc "fxplugins"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
9: aload 0
ldc "avplugin"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
10: aload 0
ldc "avplugin-54"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
11: aload 0
ldc "avplugin-56"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
12: aload 0
ldc "avplugin-57"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
13: aload 0
ldc "avplugin-ffmpeg-56"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
14: aload 0
ldc "avplugin-ffmpeg-57"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
15: StackMap locals:
StackMap stack:
invokestatic com.sun.media.jfxmediaimpl.HostUtils.isMacOSX:()Z
ifeq 19
16: aload 0
ldc "fxplugins"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
17: aload 0
ldc "glib-lite"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
18: aload 0
ldc "jfxmedia_avf"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
19: StackMap locals:
StackMap stack:
invokestatic com.sun.media.jfxmediaimpl.HostUtils.isWindows:()Z
ifeq 22
20: aload 0
ldc "fxplugins"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
21: aload 0
ldc "glib-lite"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
22: StackMap locals:
StackMap stack:
ldc "jfxmedia"
aload 0
invokestatic com.sun.glass.utils.NativeLibLoader.loadLibrary:(Ljava/lang/String;Ljava/util/List;)V
23: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 24 0 dependencies Ljava/util/ArrayList<Ljava/lang/String;>;
Exceptions:
throws java.lang.Exception
}
SourceFile: "NativeMediaManager.java"
NestMembers:
com.sun.media.jfxmediaimpl.NativeMediaManager$NativeMediaManagerInitializer com.sun.media.jfxmediaimpl.NativeMediaManager$NativeMediaPlayerDisposer
InnerClasses:
public abstract ResourceDisposer = com.sun.media.jfxmediaimpl.MediaDisposer$ResourceDisposer of com.sun.media.jfxmediaimpl.MediaDisposer
private NativeMediaManagerInitializer = com.sun.media.jfxmediaimpl.NativeMediaManager$NativeMediaManagerInitializer of com.sun.media.jfxmediaimpl.NativeMediaManager
private NativeMediaPlayerDisposer = com.sun.media.jfxmediaimpl.NativeMediaManager$NativeMediaPlayerDisposer of com.sun.media.jfxmediaimpl.NativeMediaManager
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles