Re: RFR 7128648: HttpURLConnection.getHeaderFields should return an unmodifiable Map

2012-01-11 Thread Michael McMahon
On 10/01/12 15:01, Chris Hegarty wrote: 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 h

hg: jdk8/tl/jdk: 7128648: HttpURLConnection.getHeaderFields should return an unmodifiable Map

2012-01-11 Thread chris . hegarty
Changeset: 31a1fc60a895 Author:chegar Date: 2012-01-11 10:52 + URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/31a1fc60a895 7128648: HttpURLConnection.getHeaderFields should return an unmodifiable Map Reviewed-by: michaelm ! src/share/classes/sun/net/www/protocol/http/HttpURLCo

hg: jdk8/tl/jdk: 7068856: (fs) Typo in Files.isSameFile() javadoc; ...

2012-01-11 Thread alan . bateman
Changeset: 82144054d2d8 Author:alanb Date: 2012-01-11 13:07 + URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/82144054d2d8 7068856: (fs) Typo in Files.isSameFile() javadoc 7099208: (fs) Files.newBufferedReader has typo in javadoc Reviewed-by: forax ! src/share/classes/java/nio/

hg: jdk8/tl/jdk: 7125442: jar application located in two bytes character named folder cannot be run with JRE 7 u1/u2

2012-01-11 Thread kumar . x . srinivasan
Changeset: 96fe796fd242 Author:ksrini Date: 2012-01-11 08:14 -0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/96fe796fd242 7125442: jar application located in two bytes character named folder cannot be run with JRE 7 u1/u2 Reviewed-by: sherman, mchung, darcy ! src/share/bin/j

hg: jdk8/tl/langtools: 7126754: Generics compilation failure casting List to List

2012-01-11 Thread maurizio . cimadamore
Changeset: 70d92518063e Author:mcimadamore Date: 2012-01-11 18:23 + URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/70d92518063e 7126754: Generics compilation failure casting List to List Summary: Problems with Types.rewriteQuantifiers not preserving variance Reviewed-by:

Code Review Request: 7127771: (macosx)test/java/net/Socket/TrafficClass.java fails on Mac OS X

2012-01-11 Thread Kurchi Hazra
Hi, For IPv6 on solaris or linux, setting the traffic class option is handled in the java layer. The native calls to set socket option simply returns a success and get socket option returns a dummy -1 value. test/java/net/Socket/TrafficClass.java was failing on Mac OS X when using the IPv6 st