--- old/src/java.net.http/share/classes/jdk/internal/net/http/PlainProxyConnection.java 2021-04-20 09:54:35.270807496 +0200 +++ new/src/java.net.http/share/classes/jdk/internal/net/http/PlainProxyConnection.java 2021-04-20 09:54:35.178805414 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -40,4 +40,9 @@ @Override public boolean isProxied() { return true; } + + @Override + InetSocketAddress proxy() { + return address; + } }