From 33d8ee9eededcd1219a6cbd1d063af005d40a3f7 Mon Sep 17 00:00:00 2001 From: acolyer Date: Fri, 2 Apr 2004 12:03:40 +0000 Subject: fix for Bugzilla Bug 31460 Weaving class loader --- util/src/org/aspectj/util/FileUtil.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'util') 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, -- cgit v1.2.3