public class sun.applet.AppletAudioClip implements java.applet.AudioClip
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.applet.AppletAudioClip
super_class: java.lang.Object
{
private java.net.URL url;
descriptor: Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
private java.applet.AudioClip audioClip;
descriptor: Ljava/applet/AudioClip;
flags: (0x0002) ACC_PRIVATE
boolean DEBUG;
descriptor: Z
flags: (0x0000)
public void <init>(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.applet.AppletAudioClip.url:Ljava/net/URL;
2: aload 0
aconst_null
putfield sun.applet.AppletAudioClip.audioClip:Ljava/applet/AudioClip;
3: aload 0
iconst_0
putfield sun.applet.AppletAudioClip.DEBUG:Z
4: aload 0
aload 1
putfield sun.applet.AppletAudioClip.url:Ljava/net/URL;
5: aload 1
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 2
start local 2 6: aload 0
aload 2
invokevirtual sun.applet.AppletAudioClip.createAppletAudioClip:(Ljava/io/InputStream;)V
end local 2 7: goto 11
StackMap locals: sun.applet.AppletAudioClip java.net.URL
StackMap stack: java.io.IOException
8: astore 2
start local 2 9: aload 0
getfield sun.applet.AppletAudioClip.DEBUG:Z
ifeq 11
10: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "IOException creating AppletAudioClip"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/applet/AppletAudioClip;
0 12 1 url Ljava/net/URL;
6 7 2 in Ljava/io/InputStream;
9 11 2 e Ljava/io/IOException;
Exception table:
from to target type
5 7 8 Class java.io.IOException
MethodParameters:
Name Flags
url
public void <init>(java.net.URLConnection);
descriptor: (Ljava/net/URLConnection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.applet.AppletAudioClip.url:Ljava/net/URL;
2: aload 0
aconst_null
putfield sun.applet.AppletAudioClip.audioClip:Ljava/applet/AudioClip;
3: aload 0
iconst_0
putfield sun.applet.AppletAudioClip.DEBUG:Z
4: aload 0
aload 1
invokevirtual java.net.URLConnection.getInputStream:()Ljava/io/InputStream;
invokevirtual sun.applet.AppletAudioClip.createAppletAudioClip:(Ljava/io/InputStream;)V
5: goto 9
StackMap locals: sun.applet.AppletAudioClip java.net.URLConnection
StackMap stack: java.io.IOException
6: astore 2
start local 2 7: aload 0
getfield sun.applet.AppletAudioClip.DEBUG:Z
ifeq 9
8: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "IOException creating AppletAudioClip"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/applet/AppletAudioClip;
0 10 1 uc Ljava/net/URLConnection;
7 9 2 e Ljava/io/IOException;
Exception table:
from to target type
4 5 6 Class java.io.IOException
MethodParameters:
Name Flags
uc
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.applet.AppletAudioClip.url:Ljava/net/URL;
2: aload 0
aconst_null
putfield sun.applet.AppletAudioClip.audioClip:Ljava/applet/AudioClip;
3: aload 0
iconst_0
putfield sun.applet.AppletAudioClip.DEBUG:Z
4: new java.io.ByteArrayInputStream
dup
aload 1
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 2
start local 2 5: aload 0
aload 2
invokevirtual sun.applet.AppletAudioClip.createAppletAudioClip:(Ljava/io/InputStream;)V
end local 2 6: goto 10
StackMap locals: sun.applet.AppletAudioClip byte[]
StackMap stack: java.io.IOException
7: astore 2
start local 2 8: aload 0
getfield sun.applet.AppletAudioClip.DEBUG:Z
ifeq 10
9: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "IOException creating AppletAudioClip "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 2 10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/applet/AppletAudioClip;
0 11 1 data [B
5 6 2 in Ljava/io/InputStream;
8 10 2 e Ljava/io/IOException;
Exception table:
from to target type
4 6 7 Class java.io.IOException
MethodParameters:
Name Flags
data
void createAppletAudioClip(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
new com.sun.media.sound.JavaSoundAudioClip
dup
aload 1
invokespecial com.sun.media.sound.JavaSoundAudioClip.<init>:(Ljava/io/InputStream;)V
putfield sun.applet.AppletAudioClip.audioClip:Ljava/applet/AudioClip;
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: astore 2
start local 2 3: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Failed to construct the AudioClip: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/applet/AppletAudioClip;
0 5 1 in Ljava/io/InputStream;
3 4 2 e3 Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public synchronized void play();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.applet.AppletAudioClip.audioClip:Ljava/applet/AudioClip;
ifnull 2
1: aload 0
getfield sun.applet.AppletAudioClip.audioClip:Ljava/applet/AudioClip;
invokeinterface java.applet.AudioClip.play:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/applet/AppletAudioClip;
public synchronized void loop();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.applet.AppletAudioClip.audioClip:Ljava/applet/AudioClip;
ifnull 2
1: aload 0
getfield sun.applet.AppletAudioClip.audioClip:Ljava/applet/AudioClip;
invokeinterface java.applet.AudioClip.loop:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/applet/AppletAudioClip;
public synchronized void stop();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.applet.AppletAudioClip.audioClip:Ljava/applet/AudioClip;
ifnull 2
1: aload 0
getfield sun.applet.AppletAudioClip.audioClip:Ljava/applet/AudioClip;
invokeinterface java.applet.AudioClip.stop:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/applet/AppletAudioClip;
}
SourceFile: "AppletAudioClip.java"