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

Update java/net tests to eliminate dependency on sun.net.www.MessageHeader and some other internal APIs

    XMLWordPrintable

Details

    • b11

    Backports

      Description

        There are some regression tests depending on sun.net.www.MessageHeader, the internal API dependency should be removed:

        tests/jdk/java/net/Authenticator/B4678055.java
        tests/jdk/java/net/Authenticator/B4722333.java
        tests/jdk/java/net/Authenticator/B4759514.java
        tests/jdk/java/net/Authenticator/B4962064.java

        tests/jdk/java/net/ProxySelector/LoopbackAddresses.java
        tests/jdk/java/net/ProxySelector/ProxyTest.java
        tests/jdk/java/net/Socket/HttpProxy.java
        tests/jdk/java/net/URL/PerConnectionProxy.java
        tests/jdk/sun/net/www/AuthHeaderTest.java
        tests/jdk/sun/net/www/http/HttpClient/ProxyFromCache.java
        tests/jdk/sun/net/www/http/HttpClient/RequestURI.java
        tests/jdk/sun/net/www/http/KeepAliveCache/B5045306.java

        tests/jdk/sun/net/www/protocol/http/B6296310.java
        tests/jdk/sun/net/www/protocol/http/CloseOptionHeader.java
        tests/jdk/sun/net/www/protocol/http/NoNTLM.java
        tests/jdk/sun/net/www/protocol/http/NTLMTest.java
        tests/jdk/sun/net/www/protocol/http/RelativeRedirect.java
        tests/jdk/sun/net/www/protocol/http/ResponseCacheStream.java
        tests/jdk/sun/net/www/protocol/http/RetryUponTimeout.java
        tests/jdk/sun/net/www/protocol/http/SetChunkedStreamingMode.java
        tests/jdk/sun/net/www/protocol/http/TunnelThroughProxy.java
        tests/jdk/sun/net/www/protocol/http/UserAgent.java
        tests/jdk/sun/net/www/protocol/https/ChunkedOutputStream.java
        tests/jdk/sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java
        tests/jdk/sun/net/www/protocol/https/HttpsURLConnection/B6216082.java
        tests/jdk/sun/net/www/protocol/https/HttpsURLConnection/B6226610.java
        tests/jdk/sun/net/www/protocol/https/HttpsURLConnection/PostThruProxy.sh
        tests/jdk/sun/net/www/protocol/https/HttpsURLConnection/PostThruProxyWithAuth.sh
        tests/jdk/java/net/Authenticator/B4921848.java

        Some regression tests depending on sun.net.www.MessageHeader and some other internal APIs, the internal APIs dependency should be removed as well:

        tests depending on sun.net.www.HeaderParser and sun.net.www.MessageHeader:
        tests/jdk/java/net/Authenticator/B6870935.java
        tests/jdk/sun/net/www/protocol/http/DigestTest.java

        Attachments

          Issue Links

            Activity

              People

                mchhipa Mahendra Chhipa
                amjiang Amanda Jiang (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: