"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "subprojects/groovy-jmx/src/test/java/groovy/jmx/builder/JmxConnectorHelper.java" between
apache-groovy-src-3.0.8.zip and apache-groovy-src-3.0.9.zip

About: Groovy is an agile dynamic (scripting) language for the Java Platform. It has features similar to those of Python, Ruby, Perl, and Smalltalk. Source release.

JmxConnectorHelper.java  (apache-groovy-src-3.0.8):JmxConnectorHelper.java  (apache-groovy-src-3.0.9)
skipping to change at line 50 skipping to change at line 50
result.put("registry", reg); result.put("registry", reg);
result.put("port", port); result.put("port", port);
break; break;
} catch (RemoteException ex) { } catch (RemoteException ex) {
counter++; counter++;
port = port + 1; port = port + 1;
System.out.println("JmxBuilder - *** FAILED *** to create RMI Re gistry - Will Retry on port [" + port + "]."); System.out.println("JmxBuilder - *** FAILED *** to create RMI Re gistry - Will Retry on port [" + port + "].");
try { try {
Thread.sleep(500); Thread.sleep(500);
} catch (InterruptedException e) { } catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new RuntimeException(e); throw new RuntimeException(e);
} }
} }
} }
return result; return result;
} }
public static void destroyRmiRegistry(Registry reg) { public static void destroyRmiRegistry(Registry reg) {
try { try {
if (reg != null) { if (reg != null) {
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)