From 0852d51f34460040aa3d3c60e47b7e0fe7b7633d Mon Sep 17 00:00:00 2001 From: avasseur Date: Fri, 13 May 2005 09:37:31 +0000 Subject: added test entries instead of autowiredtest for Andy sake, fix 1.4 dependancies in loadtime module and util module --- testing-util/src/org/aspectj/testing/util/TestUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing-util') diff --git a/testing-util/src/org/aspectj/testing/util/TestUtil.java b/testing-util/src/org/aspectj/testing/util/TestUtil.java index 6bf3350cf..4b62f9a90 100644 --- a/testing-util/src/org/aspectj/testing/util/TestUtil.java +++ b/testing-util/src/org/aspectj/testing/util/TestUtil.java @@ -135,7 +135,7 @@ public final class TestUtil { public static URL fileToURL(File file) { try { - return file.toURI().toURL(); + return file.toURL(); } catch (MalformedURLException e) { return null; } @@ -223,7 +223,7 @@ public final class TestUtil { public static URL libURL(String rpath) { File file = libFile(rpath); try { - return file.toURI().toURL(); + return file.toURL(); } catch (MalformedURLException e) { throw new IllegalArgumentException("bad URL from: " + file); } -- cgit v1.2.3