river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter_firmst...@apache.org
Subject svn commit: r1589542 - /river/jtsk/skunk/qa_refactor/trunk/src/com/sun/jini/tool/classdepend/ClassDepend.java
Date Wed, 23 Apr 2014 23:14:51 GMT
Author: peter_firmstone
Date: Wed Apr 23 23:14:50 2014
New Revision: 1589542

URL: http://svn.apache.org/r1589542
Log:
Revert ClassDep to using URLClassLoader to reduce frequency of bug causing truncation of dep
files, resulting in class files missing from jar's, causing ClassNotFoundException in tests.

Modified:
    river/jtsk/skunk/qa_refactor/trunk/src/com/sun/jini/tool/classdepend/ClassDepend.java

Modified: river/jtsk/skunk/qa_refactor/trunk/src/com/sun/jini/tool/classdepend/ClassDepend.java
URL: http://svn.apache.org/viewvc/river/jtsk/skunk/qa_refactor/trunk/src/com/sun/jini/tool/classdepend/ClassDepend.java?rev=1589542&r1=1589541&r2=1589542&view=diff
==============================================================================
--- river/jtsk/skunk/qa_refactor/trunk/src/com/sun/jini/tool/classdepend/ClassDepend.java
(original)
+++ river/jtsk/skunk/qa_refactor/trunk/src/com/sun/jini/tool/classdepend/ClassDepend.java
Wed Apr 23 23:14:50 2014
@@ -227,11 +227,11 @@ public class ClassDepend {
 	ClassLoader parent = system.getParent();
 	loader = (systemClasspath.equals(classpath))
 	    ? system
-	    : new RFC3986URLClassLoader(getClasspathURLs(classpath), parent);
+	    : new URLClassLoader(getClasspathURLs(classpath), parent);
 	packageClasses = new PackageClasses(classpath);
 	platformLoader = (platform == null)
 	    ? parent
-	    : new RFC3986URLClassLoader(getClasspathURLs(platform), parent);
+	    : new URLClassLoader(getClasspathURLs(platform), parent);
         //System.out.println(platformLoader.toString());
     }
 



Mime
View raw message