aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/launcher
diff options
context:
space:
mode:
authorIngo Bauersachs <ingo@jitsi.org>2011-12-06 17:43:01 +0000
committerIngo Bauersachs <ingo@jitsi.org>2011-12-06 17:43:01 +0000
commitb628cdc6422b6e531e264b6cd8a2da90ff52be3b (patch)
tree02b347474d0c38e117e1baa205eee5cfa71821c7 /src/net/java/sip/communicator/launcher
parent5bbbd6c31a9c4295ee930569393451b3c1870e31 (diff)
downloadjitsi-b628cdc6422b6e531e264b6cd8a2da90ff52be3b.zip
jitsi-b628cdc6422b6e531e264b6cd8a2da90ff52be3b.tar.gz
jitsi-b628cdc6422b6e531e264b6cd8a2da90ff52be3b.tar.bz2
Use DNSJAVA as DNS SPI
Diffstat (limited to 'src/net/java/sip/communicator/launcher')
-rw-r--r--src/net/java/sip/communicator/launcher/SIPCommunicator.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/launcher/SIPCommunicator.java b/src/net/java/sip/communicator/launcher/SIPCommunicator.java
index cc941dd..b4fad2f 100644
--- a/src/net/java/sip/communicator/launcher/SIPCommunicator.java
+++ b/src/net/java/sip/communicator/launcher/SIPCommunicator.java
@@ -58,6 +58,10 @@ public class SIPCommunicator
public static void main(String[] args)
throws Exception
{
+ // this needs to be set before any DNS lookup is run (which includes the
+ // Java SecurityManager)
+ System.setProperty("sun.net.spi.nameservice.provider.1", "dns,dnsjava");
+
String version = System.getProperty("java.version");
String vmVendor = System.getProperty("java.vendor");
String osName = System.getProperty("os.name");