Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2219603 | 7u4 | Chris Hegarty | P3 | Closed | Fixed | b07 |
Since the integration of the HTTPOnly changes, CR 7095980, the map returned by HttpURLConnection.getHeaderFields is not unmodifiable.
This is contradaction to the API specification. URLConnection.getHeaderFields() : "Returns an unmodifiable Map of the header fields. The Map keys are Strings that represent the response-header field names. Each Map value is an unmodifiable List of Strings that represents the corresponding field values."
This is contradaction to the API specification. URLConnection.getHeaderFields() : "Returns an unmodifiable Map of the header fields. The Map keys are Strings that represent the response-header field names. Each Map value is an unmodifiable List of Strings that represents the corresponding field values."
- backported by
-
JDK-2219603 HttpURLConnection.getHeaderFields should return an unmodifiable Map
-
- Closed
-
- duplicates
-
JDK-7149414 api/java_net/URLConnection/descriptions.html#getHeaderField fails since jdk8 b19
-
- Closed
-
- relates to
-
JDK-7095980 Ensure HttpURLConnection (and supporting APIs) don't expose HttpOnly cookies
-
- Closed
-