harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulex Yang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2047) [classlib][luni]ClassLoader.getResourceAsStream() fails to get property file with special char in its name
Date Wed, 15 Nov 2006 16:38:39 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2047?page=comments#action_12450108 ] 
Paulex Yang commented on HARMONY-2047:

Leo, I don't very understand why the test#.properties goes into support module, if it is used
by LUNI only, why not just put it into luni\src\test\java\<package name>\?

And another two small issues about the patch format:
1. Would you rename the patch as HARMONY-xxxx.diff(patch)? so that it is a little easier for
me to download/manage the patches.
2. For the new files, possible to provide a shell to add it? It's fine to this one without
shell, because it's only one new file, but still, life will be a little easier with that.

> [classlib][luni]ClassLoader.getResourceAsStream() fails to get property file with special
char in its name
> ----------------------------------------------------------------------------------------------------------
>                 Key: HARMONY-2047
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2047
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>         Assigned To: Paulex Yang
>         Attachments: patch.diff
> ClassLoader.getResourceAsStream() fails to get property file with special char in its
> Here is the testcase:
> (First pls put a property file called "AAA#.properties" in where can be searched by classpath.)
> public void testGetResourceAsStream() throws Exception
> {
>         InputStream in = TestClassLoader.class.getClassLoader().getResourceAsStream("AAA#.properties");
>         assertNotNull(in);
> }

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message