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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • None
    • core-libs
    • None
    • b08

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

            jboes Julia Boes (Inactive)
            jboes Julia Boes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: