equal
deleted
inserted
replaced
33 import javax.net.ssl.SSLContext; |
33 import javax.net.ssl.SSLContext; |
34 import javax.net.ssl.SSLParameters; |
34 import javax.net.ssl.SSLParameters; |
35 import java.net.http.HttpClient; |
35 import java.net.http.HttpClient; |
36 import java.net.http.HttpRequest; |
36 import java.net.http.HttpRequest; |
37 import java.net.http.HttpResponse; |
37 import java.net.http.HttpResponse; |
38 import jdk.testlibrary.SimpleSSLContext; |
38 import jdk.test.lib.net.SimpleSSLContext; |
39 |
39 |
40 /** |
40 /** |
41 * @test |
41 * @test |
42 * @bug 8207966 |
42 * @bug 8207966 |
43 * @library /lib/testlibrary |
43 * @library /test/lib |
44 * @build jdk.testlibrary.SimpleSSLContext |
44 * @build jdk.test.lib.net.SimpleSSLContext |
45 * @run main/othervm -Djdk.tls.acknowledgeCloseNotify=true UnknownBodyLengthTest plain false |
45 * @run main/othervm -Djdk.tls.acknowledgeCloseNotify=true UnknownBodyLengthTest plain false |
46 * @run main/othervm -Djdk.tls.acknowledgeCloseNotify=true UnknownBodyLengthTest SSL false |
46 * @run main/othervm -Djdk.tls.acknowledgeCloseNotify=true UnknownBodyLengthTest SSL false |
47 * @run main/othervm -Djdk.tls.acknowledgeCloseNotify=true UnknownBodyLengthTest plain true |
47 * @run main/othervm -Djdk.tls.acknowledgeCloseNotify=true UnknownBodyLengthTest plain true |
48 * @run main/othervm -Djdk.tls.acknowledgeCloseNotify=true UnknownBodyLengthTest SSL true |
48 * @run main/othervm -Djdk.tls.acknowledgeCloseNotify=true UnknownBodyLengthTest SSL true |
49 */ |
49 */ |