aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-04-02 12:03:40 +0000
committeracolyer <acolyer>2004-04-02 12:03:40 +0000
commit33d8ee9eededcd1219a6cbd1d063af005d40a3f7 (patch)
treed30f882cbab26f54b62dc1cddfab666d97d6bd3d /util
parentfc1c15110e8a9cfafabad0dcc4c10445725c9fb2 (diff)
downloadaspectj-33d8ee9eededcd1219a6cbd1d063af005d40a3f7.tar.gz
aspectj-33d8ee9eededcd1219a6cbd1d063af005d40a3f7.zip
fix for Bugzilla Bug 31460
Weaving class loader
Diffstat (limited to 'util')
-rw-r--r--util/src/org/aspectj/util/FileUtil.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/util/src/org/aspectj/util/FileUtil.java b/util/src/org/aspectj/util/FileUtil.java
index 34bf103a9..ccf54831f 100644
--- a/util/src/org/aspectj/util/FileUtil.java
+++ b/util/src/org/aspectj/util/FileUtil.java
@@ -1262,7 +1262,16 @@ public class FileUtil {
}
private FileUtil() { throw new Error("utility class"); }
-
+
+ public static List makeClasspath(URL[] urls) {
+ List ret = new LinkedList();
+ if (urls != null) {
+ for (int i = 0; i < urls.length; i++) {
+ ret.add(urls[i].getPath());
+ }
+ }
+ return ret;
+ }
/**
* A pipe when run reads from an input stream to an output stream,