ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r810065 - /ant/core/trunk/src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java
Date Tue, 01 Sep 2009 14:13:23 GMT
Author: bodewig
Date: Tue Sep  1 14:13:23 2009
New Revision: 810065

URL: http://svn.apache.org/viewvc?rev=810065&view=rev
Log:
Oops, logic was backwards.  Clean up classloader unless it is added as a reference later.

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java?rev=810065&r1=810064&r2=810065&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java
Tue Sep  1 14:13:23 2009
@@ -188,7 +188,7 @@
                                                           getProject(),
                                                           p, false);
                 }
-                clNeedsCleanup = loader != null;
+                clNeedsCleanup = loader == null;
             } else {
                 cl = JavaResource.class.getClassLoader();
             }



Mime
View raw message