harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3461) [classlib][net] URLClassLoader cannot find a resource if a file name contains whitespaces
Date Fri, 23 Mar 2007 13:13:32 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12483583
] 

Alexei Zakharov commented on HARMONY-3461:
------------------------------------------

Thanks Elena. I've committed corrected version of this new patch at the revision 521709. Please
see my comments at the mailing list in "[classlib][net] URLClassLoader findResource() problem"
thread.

> [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
>         Assigned To: Alexei Zakharov
>         Attachments: H-3461.patch, H-3461_2.patch, 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.


Mime
View raw message