WebPortPoller#onePing swallows a plain Exception without at least logging it.
See https://source.jboss.org/cru/REV-JBIDE-4/#c23
private static boolean onePing(String url) { try { URL pingUrl = new URL(url); URLConnection conn = pingUrl.openConnection(); ((HttpURLConnection)conn).getResponseCode(); return true; } catch( FileNotFoundException fnfe ) { return true; } catch( Exception e) { } return false; }
- blocks
-
JBIDE-9016 Review error handling code in as plugins
- Closed