Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 38139 invoked from network); 21 Mar 2007 12:36:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2007 12:36:53 -0000 Received: (qmail 34179 invoked by uid 500); 21 Mar 2007 12:37:01 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 34150 invoked by uid 500); 21 Mar 2007 12:37:01 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 34128 invoked by uid 99); 21 Mar 2007 12:37:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 05:37:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 05:36:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 547A1714046 for ; Wed, 21 Mar 2007 05:36:32 -0700 (PDT) Message-ID: <31947589.1174480592340.JavaMail.jira@brutus> Date: Wed, 21 Mar 2007 05:36:32 -0700 (PDT) From: "Elena Semukhina (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-3461) [classlib][net] URLClassLoader cannot find a resource if a file name contains whitespaces In-Reply-To: <2950804.1174480352481.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-3461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Elena Semukhina updated HARMONY-3461: ------------------------------------- Attachment: TestGetResource.java The test attached. > [classlib][net] URLClassLoader cannot find a resource if a file name contains whitespaces > ----------------------------------------------------------------------------------------- > > Key: HARMONY-3461 > URL: https://issues.apache.org/jira/browse/HARMONY-3461 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Elena Semukhina > Attachments: TestGetResource.java > > > The attached test reproduces the issue. > Please create a directory "test dir" somewhere and put a file into it. > E.g. I created ..../test dir/new file.txt > Then run the test in the following way: > $DRLVM -Djava.class.path="/<......>/test dir":. TestGetResource > RI prints the following: > file name /nfs/ins/proj/drl/coreapi/esemukhi/tmp/test dir/new test > resource file:/nfs/ins/proj/drl/coreapi/esemukhi/tmp/test%20dir/new%20test > while DRLVM prints > file name /nfs/ins/proj/drl/coreapi/esemukhi/tmp/test dir/new test > resource null -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.