- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    None
- 
        b18
                    There are a few issues in the test/langtools/jdk/javadoc/doclet/testLinkOption/TestRedirectLinks.java test.
There are couple of places in the test where the test calls:
x.sendResponseHeaders(..., 0);
The test wants to state "no response body". However using the value 0 implies the response body is chunked. The value should instead have been -1.
Another issue is that, in several places in the test, the test code uses InetAddress.toString() to construct an URL. This should instead have used InetAddress.getHostName() or better still - use the jdk.test.lib.net.URIBuilder test utility.
There are couple of places in the test where the test calls:
x.sendResponseHeaders(..., 0);
The test wants to state "no response body". However using the value 0 implies the response body is chunked. The value should instead have been -1.
Another issue is that, in several places in the test, the test code uses InetAddress.toString() to construct an URL. This should instead have used InetAddress.getHostName() or better still - use the jdk.test.lib.net.URIBuilder test utility.
- relates to
- 
                    JDK-8338439 jdk/javadoc/doclet/testLinkOption/TestRedirectLinks.java failing -           
- Open
 
-         
- links to
- 
                     Commit(master)
        openjdk/jdk/9bb804b1 Commit(master)
        openjdk/jdk/9bb804b1
- 
                     Review(master)
        openjdk/jdk/24359 Review(master)
        openjdk/jdk/24359