JDK-7125055 : ContentHandler.getContent API changed in error
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-12-26
  • Updated: 2017-01-11
  • Resolved: 2012-01-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 Other
8 b21Fixed openjdk7uFixed
Related Reports
Relates :  
Description
The API changes made in JDK8-b08 by CR 7090158 do not have a corresponding CCC request. JCK team assumes that they should be CCC approved.

The changes in question are shown below (the sigtest output):

--- cut ---
Missing Methods
---------------

java.net.ContentHandler:                method public java.lang.Object java.net.ContentHandler.getContent(java.net.URLConnection,java.lang.Class[]) throws java.io.IOException
--- cut ---

Comments
EVALUATION Changeset: 5aeefe0e5d8c Author: chegar Date: 2012-01-01 09:24 +0000 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5aeefe0e5d8c 7125055: ContentHandler.getContent API changed in error Reviewed-by: alanb ! src/share/classes/java/net/ContentHandler.java ! src/share/classes/sun/net/www/content/image/gif.java ! src/share/classes/sun/net/www/content/image/jpeg.java ! src/share/classes/sun/net/www/content/image/png.java ! src/share/classes/sun/net/www/content/image/x_xbitmap.java ! src/share/classes/sun/net/www/content/image/x_xpixmap.java
03-01-2012

EVALUATION The specific change that caused this problem is: - public Object getContent(URLConnection urlc, Class[] classes) throws IOException { + public Object getContent(URLConnection urlc, Class<?>[] classes) throws IOException { The solution is simply to revert the change.
28-12-2011

EVALUATION An oversight when fixing warnings in the networking code, see 7090158.
26-12-2011