[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] [bugs #11233] HTTPURLConnection.getHeaderField(int) throws e
From: |
Chris Burdess |
Subject: |
[commit-cp] [bugs #11233] HTTPURLConnection.getHeaderField(int) throws exception rather than returning null |
Date: |
Tue, 07 Dec 2004 06:13:04 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040623 Camino/0.8 |
This mail is an automated notification from the bugs tracker
of the project: classpath.
/**************************************************************************/
[bugs #11233] Latest Modifications:
Changes by:
Chris Burdess <address@hidden>
'Date:
Tue 12/07/2004 at 11:02 (Europe/Paris)
What | Removed | Added
---------------------------------------------------------------------------
Assigned to | None | dog
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
Done.
/**************************************************************************/
[bugs #11233] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11233>
Project: classpath
Submitted by: Benja Fallenstein
On: Mon 12/06/2004 at 23:07
Category: inetlib
Severity: 5 - Average
Resolution: None
Privacy: Public
Assigned to: dog
Status: Closed
Platform Version: None
Summary: HTTPURLConnection.getHeaderField(int) throws exception rather than
returning null
Original Submission: In HTTPURLConnection, getHeaderField(i) <a
href="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URLConnection.html#getHeaderField(int)">should
return null</a> if there are less than i+1 fields, according to Sun's
documentation and implementation. This merely requires a simple
"if(!i.hasNext()) return null;" in the beginning of the do/while loop at the
end of this method.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Tue 12/07/2004 at 11:02 By: Chris Burdess <dog>
Done.
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11233>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/