From ed6396ed43137447f5bf8656f5c6d750e8f3027e Mon Sep 17 00:00:00 2001 From: depristo Date: Thu, 11 Nov 2010 23:49:42 +0000 Subject: [PATCH] No longer getting the inet, it seems to potentially hang the JVM git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4653 348d0f76-0448-11de-a6fe-93d51630548a --- .../sting/gatk/phonehome/GATKRunReport.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/java/src/org/broadinstitute/sting/gatk/phonehome/GATKRunReport.java b/java/src/org/broadinstitute/sting/gatk/phonehome/GATKRunReport.java index 223242966..388aac1ce 100644 --- a/java/src/org/broadinstitute/sting/gatk/phonehome/GATKRunReport.java +++ b/java/src/org/broadinstitute/sting/gatk/phonehome/GATKRunReport.java @@ -232,13 +232,14 @@ public class GATKRunReport { * @return */ private String resolveHostname() { - try { - return InetAddress.getLocalHost().getCanonicalHostName(); - } - catch (java.net.UnknownHostException uhe) { // [beware typo in code sample -dmw] - return "unresolvable"; - // handle exception - } + return "unknown"; +// try { +// return InetAddress.getLocalHost().getCanonicalHostName(); +// } +// catch (java.net.UnknownHostException uhe) { // [beware typo in code sample -dmw] +// return "unresolvable"; +// // handle exception +// } } /**