Skip to content

Commit 017dc09

Browse files
vybchristi-git
authored andcommitted
8349551: Failures in tests after JDK-8345625
Reviewed-by: jpai, dfuchs
1 parent 1d8cca2 commit 017dc09

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1636,6 +1636,11 @@ public Optional<ProxySelector> proxy() {
16361636
return Optional.ofNullable(userProxySelector);
16371637
}
16381638

1639+
// Return the effective proxy that this client uses.
1640+
ProxySelector proxySelector() {
1641+
return proxySelector;
1642+
}
1643+
16391644
@Override
16401645
public WebSocket.Builder newWebSocketBuilder() {
16411646
// Make sure to pass the HttpClientFacade to the WebSocket builder.

0 commit comments

Comments
 (0)