Modernize test/jdk/java/net/URLClassLoader/HttpTest.java

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 27
    • Affects Version/s: None
    • Component/s: core-libs
    • master

      The test test/jdk/java/net/URLClassLoader/HttpTest.java predates com.sun.net.httpserver and includes a custom HttpServer for counting HTTP requests.

      This should be replaced with com.sun.net.httpserver and the code updated to JUnit 5.

      For good measure, the code should be updated to capture requests instead of just counting GET and GET, this allows more precise asserts.

            Assignee:
            Eirik Bjørsnøs
            Reporter:
            Eirik Bjørsnøs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: