Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7125055

ContentHandler.getContent API changed in error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b21
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        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 ---

          Issue Links

            Activity

            Hide
            alanb Alan Bateman added a comment -
            BT2:EVALUATION

            An oversight when fixing warnings in the networking code, see 7090158.
            Show
            alanb Alan Bateman added a comment - BT2:EVALUATION An oversight when fixing warnings in the networking code, see 7090158.
            Hide
            chegar Chris Hegarty added a comment -
            BT2: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.
            Show
            chegar Chris Hegarty added a comment - BT2: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.
            Hide
            chegar Chris Hegarty added a comment -
            BT2: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
            Show
            chegar Chris Hegarty added a comment - BT2: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

              People

              • Assignee:
                chegar Chris Hegarty
                Reporter:
                ygaevsky Yuri Gaevsky
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: