Return-Path: Delivered-To: apmail-geronimo-xbean-dev-archive@minotaur.apache.org Received: (qmail 7983 invoked from network); 22 Sep 2009 15:50:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Sep 2009 15:50:40 -0000 Received: (qmail 30922 invoked by uid 500); 22 Sep 2009 15:50:40 -0000 Delivered-To: apmail-geronimo-xbean-dev-archive@geronimo.apache.org Received: (qmail 30876 invoked by uid 500); 22 Sep 2009 15:50:40 -0000 Mailing-List: contact xbean-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: xbean-dev@geronimo.apache.org Delivered-To: mailing list xbean-dev@geronimo.apache.org Received: (qmail 30866 invoked by uid 99); 22 Sep 2009 15:50:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 15:50:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 15:50:37 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6C258234C1EB for ; Tue, 22 Sep 2009 08:50:16 -0700 (PDT) Message-ID: <1009030695.1253634616441.JavaMail.jira@brutus> Date: Tue, 22 Sep 2009 08:50:16 -0700 (PDT) From: "David Jencks (JIRA)" To: xbean-dev@geronimo.apache.org Subject: [jira] Closed: (XBEAN-109) org.apache.xbean.classloader.JarFileClassLoader can not handle pathnames with containing spaces In-Reply-To: <2099848284.1217607392188.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XBEAN-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Jencks closed XBEAN-109. ------------------------------ Resolution: Fixed Fix Version/s: 3.6 I think we are just closing issues once they are fixed. Ideally we would make the jira options the same as the geronimo ones. > org.apache.xbean.classloader.JarFileClassLoader can not handle pathnames with containing spaces > ------------------------------------------------------------------------------------------------ > > Key: XBEAN-109 > URL: https://issues.apache.org/jira/browse/XBEAN-109 > Project: XBean > Issue Type: Bug > Components: classloader > Environment: jdk1.6, Windows 2000 Latest version from SVN > Reporter: Ingo Bormann > Assignee: Ivan > Fix For: 3.6 > > Attachments: xbean.diff > > > A lot of classes in the package org.apache.xbean.classloader use File.toURL() instead of File.toURI().toURL(). File.toURL() is deprecated and does not work on windows with pathnames containing spaces. If a pathname contains spaces then File.toURL() does not convert spaces correctly. Javadoc recommends to use File.toURI().toURL() instead. > I have a patched version where this is fixed for the full package org.apache.xbean.classloader. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.