You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2006/11/08 13:44:54 UTC

[jira] Resolved: (HARMONY-2075) [classlib][luni]HttpURLConnection.getInputStream fails with too many redirections

     [ http://issues.apache.org/jira/browse/HARMONY-2075?page=all ]

Tim Ellison resolved HARMONY-2075.
----------------------------------

    Resolution: Fixed

Thanks Leo,

Patch applied to LUNI module at repo revision r472474.

Please check that the patch was applied as you expected.
All current LUNI tests pass ok, please send along a regression test when you have one.


> [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
>         Assigned To: Tim Ellison
>         Attachments: patch.diff
>
>
> 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