[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] [bugs #11178] HttpURLConnection.getHeaderFields() returns St
From: |
Michael Koch |
Subject: |
[commit-cp] [bugs #11178] HttpURLConnection.getHeaderFields() returns String->String rather than String->List |
Date: |
Wed, 01 Dec 2004 03:04:25 -0500 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.2; Linux; X11; i686; de, address@hidden) (KHTML, like Gecko) |
This mail is an automated notification from the bugs tracker
of the project: classpath.
/**************************************************************************/
[bugs #11178] Latest Modifications:
Changes by:
Michael Koch <address@hidden>
'Date:
Mit 01.12.2004 at 07:58 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Category | inetlib | classpath
------------------ Additional Follow-up Comments ----------------------------
I have just added some mauve testcases based on your testcase for this bug. It
showed that the old and the new implementation are both buggy. Thanks for your
report.
I think Chris will fix this bug soon.
/**************************************************************************/
[bugs #11178] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11178>
Project: classpath
Submitted by: Benja Fallenstein
On: Die 30.11.2004 at 22:57
Category: classpath
Severity: 5 - Average
Resolution: None
Privacy: Public
Assigned to: None
Status: Open
Platform Version: None
Summary: HttpURLConnection.getHeaderFields() returns String->String rather
than String->List
Original Submission: URLConnection.getHeaderFields() is specified to return a
Map from Strings to Lists, since there can be more than one header field with
the same key (see
http://java.sun.com/j2se/1.4.2/docs/api/java/net/URLConnection.html#getHeaderFields()).
Sun's implementation (ver 1.4.2_04) works that way. The Classpath
implementation returns a Map from Strings to Strings.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Mit 01.12.2004 at 07:58 By: Michael Koch <mkoch>
I have just added some mauve testcases based on your testcase for this bug. It
showed that the old and the new implementation are both buggy. Thanks for your
report.
I think Chris will fix this bug soon.
-------------------------------------------------------
Date: Mit 01.12.2004 at 00:06 By: Benja Fallenstein <benja>
Note that this bug also applies to Classpath's HttpURLConnection implementation
-- but given that the old Classpath impl has just been replaced by the inetlib
impl, that's probably obvious ;-)
File Attachments
-------------------
-------------------------------------------------------
Date: Die 30.11.2004 at 22:57 Name: Test.java Size: 227B By: benja
Java program demonstrating the difference between Sun's JDK and Classpath
http://savannah.gnu.org/bugs/download.php?item_id=11178&item_file_id=1931
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11178>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [commit-cp] [bugs #11178] HttpURLConnection.getHeaderFields() returns String->String rather than String->List,
Michael Koch <=