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

com.sun.net.httpserver.spi.HttpServerProvider: remove use of deprecated API

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 18
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b08

      Description

      The class uses the deprecated Class::newInstance() when loading the provider. This should be replaced with clazz.getDeclaredConstructor().newInstance().

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jboes Julia Boes
              Reporter:
              jboes Julia Boes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: