-
Enhancement
-
Resolution: Unresolved
-
P4
-
26
`ProxyServer` used in tests `extends Thread` and `implements Closeable`. The former causes unintentional `Thread` method invocations as reported in JDK-8358048, and the latter makes it inconvenient in a try-with-resources block. Contrast with `HttpTestServer`, which implements `AutoCloseable`. The encapsulation and convenience of `ProxyServer` can be improved by migrating its footprint from `extend Thread implements Closeable` to `implements AutoCloseable`.
See the associated PR conversation: https://github.com/openjdk/jdk/pull/26473#issuecomment-3121002127
See the associated PR conversation: https://github.com/openjdk/jdk/pull/26473#issuecomment-3121002127
- relates to
-
JDK-8358048 java/net/httpclient/HttpsTunnelAuthTest.java incorrectly calls Thread::stop
-
- Resolved
-