diff --git a/org.eclipse.jdt.debug.tests/test plugin/org/eclipse/jdt/debug/testplugin/JavaTestPlugin.java b/org.eclipse.jdt.debug.tests/test plugin/org/eclipse/jdt/debug/testplugin/JavaTestPlugin.java index 5a3055ca31..4d79023b46 100644 --- a/org.eclipse.jdt.debug.tests/test plugin/org/eclipse/jdt/debug/testplugin/JavaTestPlugin.java +++ b/org.eclipse.jdt.debug.tests/test plugin/org/eclipse/jdt/debug/testplugin/JavaTestPlugin.java @@ -89,7 +89,7 @@ private static void waitForAutoBuild() { public File getFileInPlugin(IPath path) { try { Bundle bundle = getDefault().getBundle(); - URL installURL= new URL(bundle.getEntry("/"), path.toString()); + URL installURL = bundle.getEntry("/" + path.toString()); URL localURL= FileLocator.toFileURL(installURL);//Platform.asLocalURL(installURL); return new File(localURL.getFile()); } catch (IOException e) {