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

ContentHandler API contains link to private contentPathProp

    XMLWordPrintable

Details

    • b13
    • x86
    • other
    • Not verified

    Description

      A DESCRIPTION OF THE PROBLEM :
      set up by a call to setContentHandler
      should be: set up by a call to setContentHandlerFactory
      and be a link to the method in URLConnection

      by defining the URLConnection.contentPathProp property
      should be: by defining the java.content.handler.pkgs property
      because URLConnection.contentPathProp is a private constant, and thus the user doesn't know what its value is

      or null if none of the requested are supported
      should be: or null if none of the requested types are supported


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      set up by a call to setContentHandlerFactory
      by defining the java.content.handler.pkgs property
      or null if none of the requested types are supported

      ACTUAL -
      set up by a call to setContentHandler
      by defining the URLConnection.contentPathProp property
      or null if none of the requested are supported


      URL OF FAULTY DOCUMENTATION :
      http://download.java.net/java/jdk9/docs/api/java/net/ContentHandler.html

      Attachments

        Issue Links

          Activity

            People

              chegar Chris Hegarty
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: