equal
deleted
inserted
replaced
105 } |
105 } |
106 } |
106 } |
107 } |
107 } |
108 |
108 |
109 public static void main(String args[]) throws Exception { |
109 public static void main(String args[]) throws Exception { |
110 IPSupport.skipIfCurrentConfigurationIsInvalid(); |
110 IPSupport.throwSkippedExceptionIfNonOperational(); |
111 |
111 |
112 // Create and close a MulticastSocket to warm up the FD count for side effects. |
112 // Create and close a MulticastSocket to warm up the FD count for side effects. |
113 try (MulticastSocket s = new MulticastSocket(0)) { |
113 try (MulticastSocket s = new MulticastSocket(0)) { |
114 // no-op; close immediately |
114 // no-op; close immediately |
115 s.getLocalPort(); // no-op |
115 s.getLocalPort(); // no-op |