equal
deleted
inserted
replaced
38 * This class defines methods for creating SDP sockets or "converting" existing |
38 * This class defines methods for creating SDP sockets or "converting" existing |
39 * file descriptors, referencing (unbound) TCP sockets, to SDP. |
39 * file descriptors, referencing (unbound) TCP sockets, to SDP. |
40 */ |
40 */ |
41 |
41 |
42 public final class SdpSupport { |
42 public final class SdpSupport { |
43 private static final String os = GetPropertyAction.getProperty("os.name"); |
43 private static final String os = GetPropertyAction.privilegedGetProperty("os.name"); |
44 private static final boolean isSupported = (os.equals("SunOS") || (os.equals("Linux"))); |
44 private static final boolean isSupported = (os.equals("SunOS") || (os.equals("Linux"))); |
45 private static final JavaIOFileDescriptorAccess fdAccess = |
45 private static final JavaIOFileDescriptorAccess fdAccess = |
46 SharedSecrets.getJavaIOFileDescriptorAccess(); |
46 SharedSecrets.getJavaIOFileDescriptorAccess(); |
47 |
47 |
48 private SdpSupport() { } |
48 private SdpSupport() { } |