harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Li (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2047) [classlib][luni]ClassLoader.getResourceAsStream() fails to get property file with special char in its name
Date Thu, 02 Nov 2006 09:48:37 GMT
[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


ClassLoader.getResourceAsStream() fails to get property file with special char in its name.
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

        

Mime
View raw message