diff options
author | Ingo Bauersachs <ingo@jitsi.org> | 2011-12-06 17:43:01 +0000 |
---|---|---|
committer | Ingo Bauersachs <ingo@jitsi.org> | 2011-12-06 17:43:01 +0000 |
commit | b628cdc6422b6e531e264b6cd8a2da90ff52be3b (patch) | |
tree | 02b347474d0c38e117e1baa205eee5cfa71821c7 /src/net/java/sip/communicator/launcher | |
parent | 5bbbd6c31a9c4295ee930569393451b3c1870e31 (diff) | |
download | jitsi-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.java | 4 |
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"); |