You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ray Chen (JIRA)" <ji...@apache.org> on 2010/06/04 07:38:53 UTC

[jira] Reopened: (HARMONY-6516) [java6][classlib][luni]Items in map which reterned by HttpURLConnection.getHeaderFields() should be in reverse order

     [ https://issues.apache.org/jira/browse/HARMONY-6516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ray Chen reopened HARMONY-6516:
-------------------------------


Hi,
I found that HttpURLConnectionTest.test_UseCache_HttpURLConnection_getHeaderFields failed on RI, which invoke HttpURLConnection.getHeaderField(int position).

The spec does NOT require special order of the items, but seems the "position" parameter requires the order implicitly.

So shall we change the test case or the code? 

> [java6][classlib][luni]Items in map which reterned by HttpURLConnection.getHeaderFields() should be in reverse order 
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6516
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6516
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib, Non-bug differences from RI
>            Reporter: Ray Chen
>         Attachments: Harmony_6516.diff
>
>
> RI6 will retrun a map in which the items are in reverse order, however RI5 didn't require that.
> So only fix this in java6 branch

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.