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-2075) [classlib][luni]HttpURLConnection.getInputStream fails with too many redirections
Date Mon, 06 Nov 2006 05:05:37 GMT
[classlib][luni]HttpURLConnection.getInputStream fails with too many redirections
---------------------------------------------------------------------------------

                 Key: HARMONY-2075
                 URL: http://issues.apache.org/jira/browse/HARMONY-2075
             Project: Harmony
          Issue Type: Bug
            Reporter: Leo Li


HttpURLConnection allows only 4 times of redirections. 
Here is the testcase:
public void testHttpURLConnection()
{
     URL url = new URL(
                "http://cvs.apache.org//maven-snapshot-repository//org//apache//maven//plugins//maven-resources-plugin//2.3-SNAPSHOT//maven-resources-plugin-2.3-20060725.131549-1.jar");
        URLConnection urlConnection = url.openConnection();
        InputStream in = urlConnection.getInputStream();
        in.close();
}

Result:
RI passes
Harmony fails          

-- 
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