You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2014/04/26 14:24:33 UTC
svn commit: r1590228 - in /ant/ivy/ivyde/trunk: doc/release-notes.html
org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/IvyClasspathContainerImpl.java
Author: hibou
Date: Sat Apr 26 12:24:33 2014
New Revision: 1590228
URL: http://svn.apache.org/r1590228
Log:
IVYDE-361: Deadlock in classpath container
Modified:
ant/ivy/ivyde/trunk/doc/release-notes.html
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/IvyClasspathContainerImpl.java
Modified: ant/ivy/ivyde/trunk/doc/release-notes.html
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/doc/release-notes.html?rev=1590228&r1=1590227&r2=1590228&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/doc/release-notes.html (original)
+++ ant/ivy/ivyde/trunk/doc/release-notes.html Sat Apr 26 12:24:33 2014
@@ -124,6 +124,7 @@ Here is the list of people who have cont
List of changes since <a href="/ivy/ivyde/history/2.2.0.final/release-notes.html">Apache IvyDE 2.2.0 final</a>:
<ul>
<li>FIX: xml bomb in workspace causes hang in Ivy code during Search or Synchronize operations (IVYDE-354) (thanks to Matt Hillsdon)</li>
+ <li>FIX: Deadlock in classpath container (IVYDE-361) (thanks to Carsten Pfeiffer)</li>
</ul>
<ul>
<li>NEW: add support for OSGi 'Bundle-Classpath' directive (Ivy 2.4.0-rc1 is required)</li>
Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/IvyClasspathContainerImpl.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/IvyClasspathContainerImpl.java?rev=1590228&r1=1590227&r2=1590228&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/IvyClasspathContainerImpl.java (original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/IvyClasspathContainerImpl.java Sat Apr 26 12:24:33 2014
@@ -145,7 +145,8 @@ public class IvyClasspathContainerImpl i
}
private void setClasspathEntries(final IClasspathEntry[] entries) {
- Display.getDefault().syncExec(new Runnable() {
+ // this need to be async to avoid dead locks, cf IVYDE-361
+ Display.getDefault().asyncExec(new Runnable() {
public void run() {
if (conf.getInheritedClasspathSetup().isAlphaOrder()) {
Arrays.sort(entries, new Comparator() {