hg: jdk7/tl/jdk: 7026346: URLConnection.guessContentTypeFromStream does not support UTF-8 and UTF-32 xml streams with BOM

chris.hegarty at oracle.com chris.hegarty at oracle.com
Fri Mar 11 00:58:08 PST 2011


Changeset: 107d55ecd50d
Author:    chegar
Date:      2011-03-11 08:57 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/107d55ecd50d

7026346: URLConnection.guessContentTypeFromStream does not support UTF-8 and UTF-32 xml streams with BOM
Reviewed-by: alanb
Contributed-by: Charles Lee <littlee at linux.vnet.ibm.com>

! src/share/classes/java/net/URLConnection.java
! test/java/net/URLConnection/GetXmlContentType.java



More information about the serviceability-dev mailing list