"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "subprojects/groovy-swing/src/main/java/org/apache/groovy/swing/binding/PropertyBinding.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.

PropertyBinding.java  (apache-groovy-src-3.0.8):PropertyBinding.java  (apache-groovy-src-3.0.9)
skipping to change at line 210 skipping to change at line 210
SwingUtilities.invokeLater(runnable); SwingUtilities.invokeLater(runnable);
break; break;
case SYNC: case SYNC:
if (SwingUtilities.isEventDispatchThread()) { if (SwingUtilities.isEventDispatchThread()) {
runnable.run(); runnable.run();
} else { } else {
try { try {
SwingUtilities.invokeAndWait(runnable); SwingUtilities.invokeAndWait(runnable);
} catch (InterruptedException e) { } catch (InterruptedException e) {
LOG.log(Level.WARNING, "Error notifying propertyChangeLi stener", e); LOG.log(Level.WARNING, "Error notifying propertyChangeLi stener", e);
Thread.currentThread().interrupt();
throw new GroovyRuntimeException(e); throw new GroovyRuntimeException(e);
} catch (InvocationTargetException e) { } catch (InvocationTargetException e) {
LOG.log(Level.WARNING, "Error notifying propertyChangeLi stener", e.getTargetException()); LOG.log(Level.WARNING, "Error notifying propertyChangeLi stener", e.getTargetException());
throw new GroovyRuntimeException(e.getTargetException()) ; throw new GroovyRuntimeException(e.getTargetException()) ;
} }
} }
break; break;
case SAME: case SAME:
runnable.run(); runnable.run();
break; break;
 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)