Author: nextgens
Date: 2008-06-06 08:45:59 +0000 (Fri, 06 Jun 2008)
New Revision: 20235

Modified:
   trunk/apps/new_installer/src/Sha1Test.java
Log:
new_installer: don't busy loop if something stupid happens; throw\!

Modified: trunk/apps/new_installer/src/Sha1Test.java
===================================================================
--- trunk/apps/new_installer/src/Sha1Test.java  2008-06-06 08:39:29 UTC (rev 
20234)
+++ trunk/apps/new_installer/src/Sha1Test.java  2008-06-06 08:45:59 UTC (rev 
20235)
@@ -241,7 +241,8 @@
                                        c = target.openConnection();
                                        redirects++;
                                }
-                       }
+                       } else
+                               throw new SecurityException("Huh? it's not an 
HttpURLConnection??");
                }
                while (redir);
                return in;


Reply via email to