public class com.sun.media.jfxmediaimpl.MediaUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.media.jfxmediaimpl.MediaUtils
super_class: java.lang.Object
{
public static final int MAX_FILE_SIGNATURE_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 22
static final java.lang.String NATIVE_MEDIA_ERROR_FORMAT;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "Internal media error: %d"
static final java.lang.String NATIVE_MEDIA_WARNING_FORMAT;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "Internal media warning: %d"
public static final java.lang.String CONTENT_TYPE_AIFF;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "audio/x-aiff"
public static final java.lang.String CONTENT_TYPE_MP3;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "audio/mp3"
public static final java.lang.String CONTENT_TYPE_MPA;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "audio/mpeg"
public static final java.lang.String CONTENT_TYPE_WAV;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "audio/x-wav"
public static final java.lang.String CONTENT_TYPE_JFX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "video/x-javafx"
public static final java.lang.String CONTENT_TYPE_FLV;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "video/x-flv"
public static final java.lang.String CONTENT_TYPE_MP4;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "video/mp4"
public static final java.lang.String CONTENT_TYPE_M4A;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "audio/x-m4a"
public static final java.lang.String CONTENT_TYPE_M4V;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "video/x-m4v"
public static final java.lang.String CONTENT_TYPE_M3U8;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "application/vnd.apple.mpegurl"
public static final java.lang.String CONTENT_TYPE_M3U;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "audio/mpegurl"
private static final java.lang.String FILE_TYPE_AIF;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "aif"
private static final java.lang.String FILE_TYPE_AIFF;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "aiff"
private static final java.lang.String FILE_TYPE_FLV;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "flv"
private static final java.lang.String FILE_TYPE_FXM;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "fxm"
private static final java.lang.String FILE_TYPE_MPA;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "mp3"
private static final java.lang.String FILE_TYPE_WAV;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "wav"
private static final java.lang.String FILE_TYPE_MP4;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "mp4"
private static final java.lang.String FILE_TYPE_M4A;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "m4a"
private static final java.lang.String FILE_TYPE_M4V;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "m4v"
private static final java.lang.String FILE_TYPE_M3U8;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "m3u8"
private static final java.lang.String FILE_TYPE_M3U;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "m3u"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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 Lcom/sun/media/jfxmediaimpl/MediaUtils;
public static java.lang.String fileSignatureToContentType(byte[], int);
descriptor: ([BI)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: ldc "application/octet-stream"
astore 2
start local 2 1: iload 1
bipush 22
if_icmpge 3
2: new com.sun.media.jfxmedia.MediaException
dup
ldc "Empty signature!"
invokespecial com.sun.media.jfxmedia.MediaException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
arraylength
bipush 22
if_icmpge 5
4: aload 2
areturn
5: StackMap locals:
StackMap stack:
aload 0
iconst_0
baload
sipush 255
iand
bipush 70
if_icmpne 10
6: aload 0
iconst_1
baload
sipush 255
iand
bipush 76
if_icmpne 10
7: aload 0
iconst_2
baload
sipush 255
iand
bipush 86
if_icmpne 10
8: ldc "video/x-javafx"
astore 2
9: goto 107
StackMap locals:
StackMap stack:
10: aload 0
iconst_0
baload
sipush 255
iand
bipush 24
ishl
11: aload 0
iconst_1
baload
sipush 255
iand
bipush 16
ishl
ior
12: aload 0
iconst_2
baload
sipush 255
iand
bipush 8
ishl
ior
13: aload 0
iconst_3
baload
sipush 255
iand
ior
ldc 1380533830
if_icmpne 37
14: aload 0
bipush 8
baload
sipush 255
iand
bipush 24
ishl
15: aload 0
bipush 9
baload
sipush 255
iand
bipush 16
ishl
16: ior
17: aload 0
bipush 10
baload
sipush 255
iand
bipush 8
ishl
18: ior
19: aload 0
bipush 11
baload
sipush 255
iand
20: ior
21: ldc 1463899717
22: if_icmpne 37
23: aload 0
bipush 12
baload
sipush 255
iand
bipush 24
ishl
24: aload 0
bipush 13
baload
sipush 255
iand
bipush 16
ishl
25: ior
26: aload 0
bipush 14
baload
sipush 255
iand
bipush 8
ishl
27: ior
28: aload 0
bipush 15
baload
sipush 255
iand
29: ior
30: ldc 1718449184
31: if_icmpne 37
32: aload 0
bipush 20
baload
sipush 255
iand
iconst_1
if_icmpne 33
aload 0
bipush 21
baload
sipush 255
iand
ifeq 34
StackMap locals:
StackMap stack:
33: aload 0
bipush 20
baload
sipush 255
iand
iconst_3
if_icmpne 36
aload 0
bipush 21
baload
sipush 255
iand
ifne 36
34: StackMap locals:
StackMap stack:
ldc "audio/x-wav"
astore 2
35: goto 107
36: StackMap locals:
StackMap stack:
new com.sun.media.jfxmedia.MediaException
dup
ldc "Compressed WAVE is not supported!"
invokespecial com.sun.media.jfxmedia.MediaException.<init>:(Ljava/lang/String;)V
athrow
37: StackMap locals:
StackMap stack:
aload 0
iconst_0
baload
sipush 255
iand
bipush 24
ishl
38: aload 0
iconst_1
baload
sipush 255
iand
bipush 16
ishl
39: ior
40: aload 0
iconst_2
baload
sipush 255
iand
bipush 8
ishl
41: ior
42: aload 0
iconst_3
baload
sipush 255
iand
43: ior
44: ldc 1380533830
45: if_icmpne 57
46: aload 0
bipush 8
baload
sipush 255
iand
bipush 24
ishl
47: aload 0
bipush 9
baload
sipush 255
iand
bipush 16
ishl
48: ior
49: aload 0
bipush 10
baload
sipush 255
iand
bipush 8
ishl
50: ior
51: aload 0
bipush 11
baload
sipush 255
iand
52: ior
53: ldc 1463899717
54: if_icmpne 57
55: ldc "audio/x-wav"
astore 2
56: goto 107
StackMap locals:
StackMap stack:
57: aload 0
iconst_0
baload
sipush 255
iand
bipush 24
ishl
58: aload 0
iconst_1
baload
sipush 255
iand
bipush 16
ishl
ior
59: aload 0
iconst_2
baload
sipush 255
iand
bipush 8
ishl
ior
60: aload 0
iconst_3
baload
sipush 255
iand
ior
ldc 1179603533
if_icmpne 81
61: aload 0
bipush 8
baload
sipush 255
iand
bipush 24
ishl
62: aload 0
bipush 9
baload
sipush 255
iand
bipush 16
ishl
63: ior
64: aload 0
bipush 10
baload
sipush 255
iand
bipush 8
ishl
65: ior
66: aload 0
bipush 11
baload
sipush 255
iand
67: ior
68: ldc 1095321158
69: if_icmpne 81
70: aload 0
bipush 12
baload
sipush 255
iand
bipush 24
ishl
71: aload 0
bipush 13
baload
sipush 255
iand
bipush 16
ishl
72: ior
73: aload 0
bipush 14
baload
sipush 255
iand
bipush 8
ishl
74: ior
75: aload 0
bipush 15
baload
sipush 255
iand
76: ior
77: ldc 1129270605
78: if_icmpne 81
79: ldc "audio/x-aiff"
astore 2
80: goto 107
StackMap locals:
StackMap stack:
81: aload 0
iconst_0
baload
sipush 255
iand
bipush 73
if_icmpne 86
82: aload 0
iconst_1
baload
sipush 255
iand
bipush 68
if_icmpne 86
83: aload 0
iconst_2
baload
sipush 255
iand
bipush 51
if_icmpne 86
84: ldc "audio/mpeg"
astore 2
85: goto 107
StackMap locals:
StackMap stack:
86: aload 0
iconst_0
baload
sipush 255
iand
sipush 255
if_icmpne 91
aload 0
iconst_1
baload
sipush 224
iand
sipush 224
if_icmpne 91
87: aload 0
iconst_2
baload
bipush 24
iand
bipush 8
if_icmpeq 91
88: aload 0
iconst_3
baload
bipush 6
iand
ifeq 91
89: ldc "audio/mpeg"
astore 2
90: goto 107
StackMap locals:
StackMap stack:
91: aload 0
iconst_4
baload
sipush 255
iand
bipush 24
ishl
92: aload 0
iconst_5
baload
sipush 255
iand
bipush 16
ishl
ior
93: aload 0
bipush 6
baload
sipush 255
iand
bipush 8
ishl
ior
94: aload 0
bipush 7
baload
sipush 255
iand
ior
ldc 1718909296
if_icmpne 106
95: aload 0
bipush 8
baload
sipush 255
iand
bipush 77
if_icmpne 97
aload 0
bipush 9
baload
sipush 255
iand
bipush 52
if_icmpne 97
aload 0
bipush 10
baload
sipush 255
iand
bipush 65
if_icmpne 97
aload 0
bipush 11
baload
sipush 255
iand
bipush 32
if_icmpne 97
96: ldc "audio/x-m4a"
astore 2
goto 107
97: StackMap locals:
StackMap stack:
aload 0
bipush 8
baload
sipush 255
iand
bipush 77
if_icmpne 99
aload 0
bipush 9
baload
sipush 255
iand
bipush 52
if_icmpne 99
aload 0
bipush 10
baload
sipush 255
iand
bipush 86
if_icmpne 99
aload 0
bipush 11
baload
sipush 255
iand
bipush 32
if_icmpne 99
98: ldc "video/x-m4v"
astore 2
goto 107
99: StackMap locals:
StackMap stack:
aload 0
bipush 8
baload
sipush 255
iand
bipush 109
if_icmpne 101
aload 0
bipush 9
baload
sipush 255
iand
bipush 112
if_icmpne 101
aload 0
bipush 10
baload
sipush 255
iand
bipush 52
if_icmpne 101
aload 0
bipush 11
baload
sipush 255
iand
bipush 50
if_icmpne 101
100: ldc "video/mp4"
astore 2
goto 107
101: StackMap locals:
StackMap stack:
aload 0
bipush 8
baload
sipush 255
iand
bipush 105
if_icmpne 103
aload 0
bipush 9
baload
sipush 255
iand
bipush 115
if_icmpne 103
aload 0
bipush 10
baload
sipush 255
iand
bipush 111
if_icmpne 103
aload 0
bipush 11
baload
sipush 255
iand
bipush 109
if_icmpne 103
102: ldc "video/mp4"
astore 2
goto 107
103: StackMap locals:
StackMap stack:
aload 0
bipush 8
baload
sipush 255
iand
bipush 77
if_icmpne 107
aload 0
bipush 9
baload
sipush 255
iand
bipush 80
if_icmpne 107
aload 0
bipush 10
baload
sipush 255
iand
bipush 52
if_icmpne 107
aload 0
bipush 11
baload
sipush 255
iand
bipush 32
if_icmpne 107
104: ldc "video/mp4"
astore 2
105: goto 107
106: StackMap locals:
StackMap stack:
new com.sun.media.jfxmedia.MediaException
dup
ldc "Unrecognized file signature!"
invokespecial com.sun.media.jfxmedia.MediaException.<init>:(Ljava/lang/String;)V
athrow
107: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 108 0 buf [B
0 108 1 size I
1 108 2 contentType Ljava/lang/String;
Exceptions:
throws com.sun.media.jfxmedia.MediaException
MethodParameters:
Name Flags
buf
size
public static java.lang.String filenameToContentType(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: ldc "application/octet-stream"
astore 1
start local 1 1: aload 0
ldc "."
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 2
start local 2 2: iload 2
iconst_m1
if_icmpeq 30
3: aload 0
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
start local 3 4: aload 3
ldc "aif"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
aload 3
ldc "aiff"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: StackMap locals: java.lang.String int java.lang.String
StackMap stack:
ldc "audio/x-aiff"
astore 1
6: goto 30
StackMap locals:
StackMap stack:
7: aload 3
ldc "flv"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
aload 3
ldc "fxm"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: StackMap locals:
StackMap stack:
ldc "video/x-javafx"
astore 1
9: goto 30
StackMap locals:
StackMap stack:
10: aload 3
ldc "mp3"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: ldc "audio/mpeg"
astore 1
12: goto 30
StackMap locals:
StackMap stack:
13: aload 3
ldc "wav"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
14: ldc "audio/x-wav"
astore 1
15: goto 30
StackMap locals:
StackMap stack:
16: aload 3
ldc "mp4"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
17: ldc "video/mp4"
astore 1
18: goto 30
StackMap locals:
StackMap stack:
19: aload 3
ldc "m4a"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
20: ldc "audio/x-m4a"
astore 1
21: goto 30
StackMap locals:
StackMap stack:
22: aload 3
ldc "m4v"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
23: ldc "video/x-m4v"
astore 1
24: goto 30
StackMap locals:
StackMap stack:
25: aload 3
ldc "m3u8"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
26: ldc "application/vnd.apple.mpegurl"
astore 1
27: goto 30
StackMap locals:
StackMap stack:
28: aload 3
ldc "m3u"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 30
29: ldc "audio/mpegurl"
astore 1
end local 3 30: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 filename Ljava/lang/String;
1 31 1 contentType Ljava/lang/String;
2 31 2 dotIndex I
4 30 3 extension Ljava/lang/String;
MethodParameters:
Name Flags
filename
public static void warning(java.lang.Object, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: aload 1
ifnull 3
iconst_1
goto 4
StackMap locals:
StackMap stack: int
3: iconst_0
StackMap locals: java.lang.Object java.lang.String
StackMap stack: int int
4: iand
ifeq 8
5: iconst_3
6: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokestatic com.sun.media.jfxmedia.logging.Logger.logMsg:(ILjava/lang/String;)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 source Ljava/lang/Object;
0 9 1 message Ljava/lang/String;
MethodParameters:
Name Flags
source
message
public static void error(java.lang.Object, int, java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/Object;ILjava/lang/String;Ljava/lang/Throwable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 8
1: aload 3
invokevirtual java.lang.Throwable.getStackTrace:()[Ljava/lang/StackTraceElement;
astore 4
start local 4 2: aload 4
ifnull 8
aload 4
arraylength
ifle 8
3: aload 4
iconst_0
aaload
astore 5
start local 5 4: iconst_4
5: aload 5
invokevirtual java.lang.StackTraceElement.getClassName:()Ljava/lang/String;
aload 5
invokevirtual java.lang.StackTraceElement.getMethodName:()Ljava/lang/String;
6: new java.lang.StringBuilder
dup
ldc "( "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StackTraceElement.getLineNumber:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ") "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokestatic com.sun.media.jfxmedia.logging.Logger.logMsg:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
end local 5 end local 4 8: StackMap locals:
StackMap stack:
invokestatic com.sun.media.jfxmediaimpl.NativeMediaManager.getDefaultInstance:()Lcom/sun/media/jfxmediaimpl/NativeMediaManager;
invokevirtual com.sun.media.jfxmediaimpl.NativeMediaManager.getMediaErrorListeners:()Ljava/util/List;
9: astore 4
start local 4 10: aload 4
invokeinterface java.util.List.isEmpty:()Z
ifne 20
11: aload 4
invokeinterface java.util.List.listIterator:()Ljava/util/ListIterator;
astore 5
start local 5 12: goto 18
13: StackMap locals: java.util.List java.util.ListIterator
StackMap stack:
aload 5
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 6
start local 6 14: aload 6
ifnull 17
15: aload 6
aload 0
iload 1
aload 2
invokeinterface com.sun.media.jfxmedia.events.MediaErrorListener.onError:(Ljava/lang/Object;ILjava/lang/String;)V
16: goto 18
17: StackMap locals: com.sun.media.jfxmedia.events.MediaErrorListener
StackMap stack:
aload 5
invokeinterface java.util.ListIterator.remove:()V
end local 6 18: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.ListIterator.hasNext:()Z
ifne 13
end local 5 19: goto 25
20: StackMap locals:
StackMap stack:
aload 3
instanceof com.sun.media.jfxmedia.MediaException
ifeq 22
21: aload 3
checkcast com.sun.media.jfxmedia.MediaException
goto 23
StackMap locals:
StackMap stack:
22: new com.sun.media.jfxmedia.MediaException
dup
aload 2
aload 3
invokespecial com.sun.media.jfxmedia.MediaException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
23: StackMap locals:
StackMap stack: com.sun.media.jfxmedia.MediaException
astore 5
start local 5 24: aload 5
athrow
end local 5 25: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 source Ljava/lang/Object;
0 26 1 errCode I
0 26 2 message Ljava/lang/String;
0 26 3 cause Ljava/lang/Throwable;
2 8 4 stackTrace [Ljava/lang/StackTraceElement;
4 8 5 trace Ljava/lang/StackTraceElement;
10 26 4 listeners Ljava/util/List<Ljava/lang/ref/WeakReference<Lcom/sun/media/jfxmedia/events/MediaErrorListener;>;>;
12 19 5 it Ljava/util/ListIterator<Ljava/lang/ref/WeakReference<Lcom/sun/media/jfxmedia/events/MediaErrorListener;>;>;
14 18 6 l Lcom/sun/media/jfxmedia/events/MediaErrorListener;
24 25 5 e Lcom/sun/media/jfxmedia/MediaException;
MethodParameters:
Name Flags
source
errCode
message
cause
public static void nativeWarning(java.lang.Object, int, java.lang.String);
descriptor: (Ljava/lang/Object;ILjava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: ldc "Internal media warning: %d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 1: aload 2
ifnull 3
2: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
3: StackMap locals: java.lang.String
StackMap stack:
iconst_3
aload 3
invokestatic com.sun.media.jfxmedia.logging.Logger.logMsg:(ILjava/lang/String;)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 source Ljava/lang/Object;
0 5 1 warningCode I
0 5 2 warningMessage Ljava/lang/String;
1 5 3 message Ljava/lang/String;
MethodParameters:
Name Flags
source
warningCode
warningMessage
public static void nativeError(java.lang.Object, com.sun.media.jfxmedia.MediaError);
descriptor: (Ljava/lang/Object;Lcom/sun/media/jfxmedia/MediaError;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: iconst_4
aload 1
invokevirtual com.sun.media.jfxmedia.MediaError.description:()Ljava/lang/String;
invokestatic com.sun.media.jfxmedia.logging.Logger.logMsg:(ILjava/lang/String;)V
1: invokestatic com.sun.media.jfxmediaimpl.NativeMediaManager.getDefaultInstance:()Lcom/sun/media/jfxmediaimpl/NativeMediaManager;
invokevirtual com.sun.media.jfxmediaimpl.NativeMediaManager.getMediaErrorListeners:()Ljava/util/List;
2: astore 2
start local 2 3: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifne 13
4: aload 2
invokeinterface java.util.List.listIterator:()Ljava/util/ListIterator;
astore 3
start local 3 5: goto 11
6: StackMap locals: java.util.List java.util.ListIterator
StackMap stack:
aload 3
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 4
start local 4 7: aload 4
ifnull 10
8: aload 4
aload 0
aload 1
invokevirtual com.sun.media.jfxmedia.MediaError.code:()I
aload 1
invokevirtual com.sun.media.jfxmedia.MediaError.description:()Ljava/lang/String;
invokeinterface com.sun.media.jfxmedia.events.MediaErrorListener.onError:(Ljava/lang/Object;ILjava/lang/String;)V
9: goto 11
10: StackMap locals: com.sun.media.jfxmedia.events.MediaErrorListener
StackMap stack:
aload 3
invokeinterface java.util.ListIterator.remove:()V
end local 4 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.ListIterator.hasNext:()Z
ifne 6
end local 3 12: goto 14
13: StackMap locals:
StackMap stack:
new com.sun.media.jfxmedia.MediaException
dup
aload 1
invokevirtual com.sun.media.jfxmedia.MediaError.description:()Ljava/lang/String;
aconst_null
aload 1
invokespecial com.sun.media.jfxmedia.MediaException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Lcom/sun/media/jfxmedia/MediaError;)V
athrow
14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 source Ljava/lang/Object;
0 15 1 error Lcom/sun/media/jfxmedia/MediaError;
3 15 2 listeners Ljava/util/List<Ljava/lang/ref/WeakReference<Lcom/sun/media/jfxmedia/events/MediaErrorListener;>;>;
5 12 3 it Ljava/util/ListIterator<Ljava/lang/ref/WeakReference<Lcom/sun/media/jfxmedia/events/MediaErrorListener;>;>;
7 11 4 l Lcom/sun/media/jfxmedia/events/MediaErrorListener;
MethodParameters:
Name Flags
source
error
}
SourceFile: "MediaUtils.java"