public class sun.net.sdp.SdpProvider extends sun.net.NetHooks$Provider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.net.sdp.SdpProvider
super_class: sun.net.NetHooks$Provider
{
private static final int MAX_PORT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 65535
private final boolean enabled;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<sun.net.sdp.SdpProvider$Rule> rules;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lsun/net/sdp/SdpProvider$Rule;>;
private java.io.PrintStream log;
descriptor: Ljava/io/PrintStream;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
invokespecial sun.net.NetHooks$Provider.<init>:()V
1: new sun.security.action.GetPropertyAction
dup
ldc "com.sun.sdp.conf"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 3: aload 1
ifnonnull 7
4: aload 0
iconst_0
putfield sun.net.sdp.SdpProvider.enabled:Z
5: aload 0
aconst_null
putfield sun.net.sdp.SdpProvider.rules:Ljava/util/List;
6: return
7: StackMap locals: sun.net.sdp.SdpProvider java.lang.String
StackMap stack:
aconst_null
astore 2
start local 2 8: aload 1
ifnull 13
9: aload 1
invokestatic sun.net.sdp.SdpProvider.loadRulesFromFile:(Ljava/lang/String;)Ljava/util/List;
astore 2
10: goto 13
StackMap locals: sun.net.sdp.SdpProvider java.lang.String java.util.List
StackMap stack: java.io.IOException
11: astore 3
start local 3 12: ldc "Error reading %s: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 3
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aastore
invokestatic sun.net.sdp.SdpProvider.fail:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 3 13: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 14: new sun.security.action.GetPropertyAction
dup
ldc "com.sun.sdp.debug"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
15: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 16: aload 4
ifnull 22
17: getstatic java.lang.System.out:Ljava/io/PrintStream;
astore 3
18: aload 4
invokevirtual java.lang.String.length:()I
ifle 22
19: new java.io.PrintStream
dup
aload 4
invokespecial java.io.PrintStream.<init>:(Ljava/lang/String;)V
astore 3
20: goto 22
StackMap locals: sun.net.sdp.SdpProvider java.lang.String java.util.List java.io.PrintStream java.lang.String
StackMap stack: java.io.IOException
21: pop
22: StackMap locals:
StackMap stack:
aload 0
aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 23
iconst_0
goto 24
StackMap locals:
StackMap stack: sun.net.sdp.SdpProvider
23: iconst_1
StackMap locals: sun.net.sdp.SdpProvider java.lang.String java.util.List java.io.PrintStream java.lang.String
StackMap stack: sun.net.sdp.SdpProvider int
24: putfield sun.net.sdp.SdpProvider.enabled:Z
25: aload 0
aload 2
putfield sun.net.sdp.SdpProvider.rules:Ljava/util/List;
26: aload 0
aload 3
putfield sun.net.sdp.SdpProvider.log:Ljava/io/PrintStream;
27: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/net/sdp/SdpProvider;
3 28 1 file Ljava/lang/String;
8 28 2 list Ljava/util/List<Lsun/net/sdp/SdpProvider$Rule;>;
12 13 3 e Ljava/io/IOException;
14 28 3 out Ljava/io/PrintStream;
16 28 4 logfile Ljava/lang/String;
Exception table:
from to target type
9 10 11 Class java.io.IOException
19 20 21 Class java.io.IOException
private static int[] parsePortRange(java.lang.String);
descriptor: (Ljava/lang/String;)[I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
bipush 45
invokevirtual java.lang.String.indexOf:(I)I
istore 1
start local 1 1: iconst_2
newarray 10
astore 2
start local 2 2: iload 1
ifge 11
3: aload 0
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
istore 3
start local 3 4: aload 2
iconst_0
iload 3
ifeq 5
iconst_0
goto 6
StackMap locals: java.lang.String int int[] int
StackMap stack: int[] int
5: aload 0
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
StackMap locals: java.lang.String int int[] int
StackMap stack: int[] int int
6: iastore
7: aload 2
iconst_1
iload 3
ifeq 8
ldc 65535
goto 9
StackMap locals: java.lang.String int int[] int
StackMap stack: int[] int
8: aload 2
iconst_0
iaload
StackMap locals: java.lang.String int int[] int
StackMap stack: int[] int int
9: iastore
end local 3 10: goto 21
11: StackMap locals:
StackMap stack:
aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 12: aload 3
invokevirtual java.lang.String.length:()I
ifne 13
ldc "*"
astore 3
13: StackMap locals: java.lang.String
StackMap stack:
aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 14: aload 4
invokevirtual java.lang.String.length:()I
ifne 15
ldc "*"
astore 4
15: StackMap locals: java.lang.String
StackMap stack:
aload 2
iconst_0
aload 3
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
iconst_0
goto 17
StackMap locals: java.lang.String int int[] java.lang.String java.lang.String
StackMap stack: int[] int
16: aload 3
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
StackMap locals: java.lang.String int int[] java.lang.String java.lang.String
StackMap stack: int[] int int
17: iastore
18: aload 2
iconst_1
aload 4
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
ldc 65535
goto 20
StackMap locals: java.lang.String int int[] java.lang.String java.lang.String
StackMap stack: int[] int
19: aload 4
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
StackMap locals: java.lang.String int int[] java.lang.String java.lang.String
StackMap stack: int[] int int
20: iastore
end local 4 end local 3 21: StackMap locals:
StackMap stack:
aload 2
22: areturn
end local 2 23: StackMap locals: java.lang.String int
StackMap stack: java.lang.NumberFormatException
pop
24: iconst_0
newarray 10
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 s Ljava/lang/String;
1 25 1 pos I
2 23 2 result [I
4 10 3 all Z
12 21 3 low Ljava/lang/String;
14 21 4 high Ljava/lang/String;
Exception table:
from to target type
1 22 23 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
s
private static void fail(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.util.Formatter
dup
invokespecial java.util.Formatter.<init>:()V
astore 2
start local 2 1: aload 2
aload 0
aload 1
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
2: new java.lang.RuntimeException
dup
aload 2
invokevirtual java.util.Formatter.out:()Ljava/lang/Appendable;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 msg Ljava/lang/String;
0 3 1 args [Ljava/lang/Object;
1 3 2 f Ljava/util/Formatter;
MethodParameters:
Name Flags
msg
args
private static java.util.List<sun.net.sdp.SdpProvider$Rule> loadRulesFromFile(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=16, args_size=1
start local 0 0: new java.util.Scanner
dup
new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokespecial java.util.Scanner.<init>:(Ljava/io/File;)V
astore 1
start local 1 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: goto 63
3: StackMap locals: java.util.Scanner java.util.List
StackMap stack:
aload 1
invokevirtual java.util.Scanner.nextLine:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 3
start local 3 4: aload 3
invokevirtual java.lang.String.length:()I
ifeq 63
aload 3
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 35
if_icmpne 6
5: goto 63
6: StackMap locals: java.lang.String
StackMap stack:
aload 3
ldc "\\s+"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 4
start local 4 7: aload 4
arraylength
iconst_3
if_icmpeq 10
8: ldc "Malformed line '%s'"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokestatic sun.net.sdp.SdpProvider.fail:(Ljava/lang/String;[Ljava/lang/Object;)V
9: goto 63
10: StackMap locals: java.lang.String[]
StackMap stack:
aconst_null
astore 5
start local 5 11: invokestatic sun.net.sdp.SdpProvider$Action.values:()[Lsun/net/sdp/SdpProvider$Action;
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 17
StackMap locals: java.lang.String java.util.Scanner java.util.List java.lang.String java.lang.String[] sun.net.sdp.SdpProvider$Action top int int sun.net.sdp.SdpProvider$Action[]
StackMap stack:
12: aload 9
iload 7
aaload
astore 6
start local 6 13: aload 4
iconst_0
aaload
aload 6
invokevirtual sun.net.sdp.SdpProvider$Action.name:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 16
14: aload 6
astore 5
15: goto 18
end local 6 16: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
17: iload 7
iload 8
if_icmplt 12
18: StackMap locals: java.lang.String java.util.Scanner java.util.List java.lang.String java.lang.String[] sun.net.sdp.SdpProvider$Action
StackMap stack:
aload 5
ifnonnull 21
19: ldc "Action '%s' not recognized"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
iconst_0
aaload
aastore
invokestatic sun.net.sdp.SdpProvider.fail:(Ljava/lang/String;[Ljava/lang/Object;)V
20: goto 63
21: StackMap locals:
StackMap stack:
aload 4
iconst_2
aaload
invokestatic sun.net.sdp.SdpProvider.parsePortRange:(Ljava/lang/String;)[I
astore 6
start local 6 22: aload 6
arraylength
ifne 25
23: ldc "Malformed port range '%s'"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
iconst_2
aaload
aastore
invokestatic sun.net.sdp.SdpProvider.fail:(Ljava/lang/String;[Ljava/lang/Object;)V
24: goto 63
25: StackMap locals: int[]
StackMap stack:
aload 4
iconst_1
aaload
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
26: aload 2
new sun.net.sdp.SdpProvider$PortRangeRule
dup
aload 5
aload 6
iconst_0
iaload
aload 6
iconst_1
iaload
invokespecial sun.net.sdp.SdpProvider$PortRangeRule.<init>:(Lsun/net/sdp/SdpProvider$Action;II)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
27: goto 63
28: StackMap locals:
StackMap stack:
aload 4
iconst_1
aaload
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 7
start local 7 29: iload 7
ifge 42
30: aload 4
iconst_1
aaload
invokestatic java.net.InetAddress.getAllByName:(Ljava/lang/String;)[Ljava/net/InetAddress;
astore 8
start local 8 31: aload 8
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 40
StackMap locals: java.lang.String java.util.Scanner java.util.List java.lang.String java.lang.String[] sun.net.sdp.SdpProvider$Action int[] int java.net.InetAddress[] top int int java.net.InetAddress[]
StackMap stack:
32: aload 12
iload 10
aaload
astore 9
start local 9 33: aload 9
instanceof java.net.Inet4Address
ifeq 34
bipush 32
goto 35
StackMap locals: java.lang.String java.util.Scanner java.util.List java.lang.String java.lang.String[] sun.net.sdp.SdpProvider$Action int[] int java.net.InetAddress[] java.net.InetAddress int int java.net.InetAddress[]
StackMap stack:
34: sipush 128
35: StackMap locals:
StackMap stack: int
istore 13
start local 13 36: aload 2
new sun.net.sdp.SdpProvider$AddressPortRangeRule
dup
aload 5
aload 9
37: iload 13
aload 6
iconst_0
iaload
aload 6
iconst_1
iaload
invokespecial sun.net.sdp.SdpProvider$AddressPortRangeRule.<init>:(Lsun/net/sdp/SdpProvider$Action;Ljava/net/InetAddress;III)V
38: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 13 end local 9 39: iinc 10 1
StackMap locals: java.lang.String java.util.Scanner java.util.List java.lang.String java.lang.String[] sun.net.sdp.SdpProvider$Action int[] int java.net.InetAddress[] top int int java.net.InetAddress[]
StackMap stack:
40: iload 10
iload 11
if_icmplt 32
end local 8 41: goto 63
42: StackMap locals: java.lang.String java.util.Scanner java.util.List java.lang.String java.lang.String[] sun.net.sdp.SdpProvider$Action int[] int
StackMap stack:
aload 4
iconst_1
aaload
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.net.InetAddress.getByName:(Ljava/lang/String;)Ljava/net/InetAddress;
43: astore 8
start local 8 44: iconst_m1
istore 9
start local 9 45: aload 4
iconst_1
aaload
iload 7
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 9
46: aload 8
instanceof java.net.Inet4Address
ifeq 50
47: iload 9
iflt 48
iload 9
bipush 32
if_icmple 54
StackMap locals: java.net.InetAddress int
StackMap stack:
48: iconst_m1
istore 9
49: goto 54
50: StackMap locals:
StackMap stack:
iload 9
iflt 51
iload 9
sipush 128
if_icmple 54
StackMap locals:
StackMap stack:
51: iconst_m1
istore 9
52: goto 54
StackMap locals:
StackMap stack: java.lang.NumberFormatException
53: pop
54: StackMap locals:
StackMap stack:
iload 9
ifle 59
55: aload 2
new sun.net.sdp.SdpProvider$AddressPortRangeRule
dup
aload 5
56: aload 8
iload 9
aload 6
iconst_0
iaload
aload 6
iconst_1
iaload
invokespecial sun.net.sdp.SdpProvider$AddressPortRangeRule.<init>:(Lsun/net/sdp/SdpProvider$Action;Ljava/net/InetAddress;III)V
57: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
58: goto 63
59: StackMap locals:
StackMap stack:
ldc "Malformed prefix '%s'"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
iconst_1
aaload
aastore
invokestatic sun.net.sdp.SdpProvider.fail:(Ljava/lang/String;[Ljava/lang/Object;)V
60: goto 63
end local 9 end local 8 61: StackMap locals: java.lang.String java.util.Scanner java.util.List java.lang.String java.lang.String[] sun.net.sdp.SdpProvider$Action int[] int
StackMap stack: java.net.UnknownHostException
pop
62: ldc "Unknown host or malformed IP address '%s'"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
iconst_1
aaload
aastore
invokestatic sun.net.sdp.SdpProvider.fail:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 7 end local 6 end local 5 end local 4 end local 3 63: StackMap locals: java.lang.String java.util.Scanner java.util.List
StackMap stack:
aload 1
invokevirtual java.util.Scanner.hasNextLine:()Z
ifne 3
64: aload 2
astore 15
65: aload 1
invokevirtual java.util.Scanner.close:()V
66: aload 15
areturn
end local 2 67: StackMap locals: java.lang.String java.util.Scanner
StackMap stack: java.lang.Throwable
astore 14
68: aload 1
invokevirtual java.util.Scanner.close:()V
69: aload 14
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 70 0 file Ljava/lang/String;
1 70 1 scanner Ljava/util/Scanner;
2 67 2 result Ljava/util/List<Lsun/net/sdp/SdpProvider$Rule;>;
4 63 3 line Ljava/lang/String;
7 63 4 s [Ljava/lang/String;
11 63 5 action Lsun/net/sdp/SdpProvider$Action;
13 16 6 a Lsun/net/sdp/SdpProvider$Action;
22 63 6 ports [I
29 63 7 pos I
31 41 8 addresses [Ljava/net/InetAddress;
33 39 9 address Ljava/net/InetAddress;
36 39 13 prefix I
44 61 8 address Ljava/net/InetAddress;
45 61 9 prefix I
Exception table:
from to target type
45 52 53 Class java.lang.NumberFormatException
29 60 61 Class java.net.UnknownHostException
1 65 67 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/List<Lsun/net/sdp/SdpProvider$Rule;>;
MethodParameters:
Name Flags
file
private void convertTcpToSdpIfMatch(java.io.FileDescriptor, sun.net.sdp.SdpProvider$Action, java.net.InetAddress, int);
descriptor: (Ljava/io/FileDescriptor;Lsun/net/sdp/SdpProvider$Action;Ljava/net/InetAddress;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_0
istore 5
start local 5 1: aload 0
getfield sun.net.sdp.SdpProvider.rules:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 7
StackMap locals: sun.net.sdp.SdpProvider java.io.FileDescriptor sun.net.sdp.SdpProvider$Action java.net.InetAddress int int top java.util.Iterator
StackMap stack:
2: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.net.sdp.SdpProvider$Rule
astore 6
start local 6 3: aload 6
aload 2
aload 3
iload 4
invokeinterface sun.net.sdp.SdpProvider$Rule.match:(Lsun/net/sdp/SdpProvider$Action;Ljava/net/InetAddress;I)Z
ifeq 7
4: aload 1
invokestatic sun.net.sdp.SdpSupport.convertSocket:(Ljava/io/FileDescriptor;)V
5: iconst_1
istore 5
6: goto 8
end local 6 7: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: StackMap locals: sun.net.sdp.SdpProvider java.io.FileDescriptor sun.net.sdp.SdpProvider$Action java.net.InetAddress int int
StackMap stack:
aload 0
getfield sun.net.sdp.SdpProvider.log:Ljava/io/PrintStream;
ifnull 17
9: aload 3
instanceof java.net.Inet4Address
ifeq 11
10: aload 3
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
goto 12
StackMap locals:
StackMap stack:
11: new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: StackMap locals:
StackMap stack: java.lang.String
astore 6
start local 6 13: iload 5
ifeq 16
14: aload 0
getfield sun.net.sdp.SdpProvider.log:Ljava/io/PrintStream;
ldc "%s to %s:%d (socket converted to SDP protocol)\n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 6
aastore
dup
iconst_2
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual java.io.PrintStream.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
15: goto 17
16: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield sun.net.sdp.SdpProvider.log:Ljava/io/PrintStream;
ldc "%s to %s:%d (no match)\n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 6
aastore
dup
iconst_2
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual java.io.PrintStream.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
end local 6 17: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/net/sdp/SdpProvider;
0 18 1 fdObj Ljava/io/FileDescriptor;
0 18 2 action Lsun/net/sdp/SdpProvider$Action;
0 18 3 address Ljava/net/InetAddress;
0 18 4 port I
1 18 5 matched Z
3 7 6 rule Lsun/net/sdp/SdpProvider$Rule;
13 17 6 addr Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fdObj
action
address
port
public void implBeforeTcpBind(java.io.FileDescriptor, java.net.InetAddress, int);
descriptor: (Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.net.sdp.SdpProvider.enabled:Z
ifeq 2
1: aload 0
aload 1
getstatic sun.net.sdp.SdpProvider$Action.BIND:Lsun/net/sdp/SdpProvider$Action;
aload 2
iload 3
invokevirtual sun.net.sdp.SdpProvider.convertTcpToSdpIfMatch:(Ljava/io/FileDescriptor;Lsun/net/sdp/SdpProvider$Action;Ljava/net/InetAddress;I)V
2: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/sdp/SdpProvider;
0 3 1 fdObj Ljava/io/FileDescriptor;
0 3 2 address Ljava/net/InetAddress;
0 3 3 port I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fdObj
address
port
public void implBeforeTcpConnect(java.io.FileDescriptor, java.net.InetAddress, int);
descriptor: (Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.net.sdp.SdpProvider.enabled:Z
ifeq 2
1: aload 0
aload 1
getstatic sun.net.sdp.SdpProvider$Action.CONNECT:Lsun/net/sdp/SdpProvider$Action;
aload 2
iload 3
invokevirtual sun.net.sdp.SdpProvider.convertTcpToSdpIfMatch:(Ljava/io/FileDescriptor;Lsun/net/sdp/SdpProvider$Action;Ljava/net/InetAddress;I)V
2: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/sdp/SdpProvider;
0 3 1 fdObj Ljava/io/FileDescriptor;
0 3 2 address Ljava/net/InetAddress;
0 3 3 port I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fdObj
address
port
}
SourceFile: "SdpProvider.java"
NestMembers:
sun.net.sdp.SdpProvider$Action sun.net.sdp.SdpProvider$AddressPortRangeRule sun.net.sdp.SdpProvider$PortRangeRule sun.net.sdp.SdpProvider$Rule
InnerClasses:
public abstract Provider = sun.net.NetHooks$Provider of sun.net.NetHooks
private final Action = sun.net.sdp.SdpProvider$Action of sun.net.sdp.SdpProvider
private AddressPortRangeRule = sun.net.sdp.SdpProvider$AddressPortRangeRule of sun.net.sdp.SdpProvider
private PortRangeRule = sun.net.sdp.SdpProvider$PortRangeRule of sun.net.sdp.SdpProvider
private abstract Rule = sun.net.sdp.SdpProvider$Rule of sun.net.sdp.SdpProvider