`sun.net.www.http.HttpCapture` is a utility to capture the `HttpURLConnection` traffic. It is not used for encrypted connections, i.e., `HttpsURLConnection`. It is controlled by providing a configuration file using the `sun.net.http.captureRules` system property. `HttpCapture` is not public. Neither the system property, nor the class itself is referred to in any public specification. The feature is not used by the JDK itself. A corpus scan did not reveal any usages either. Removing it.
--------- - [X] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Remove `HttpCapture` et al. Changes: https://git.openjdk.org/jdk/pull/33694/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33694&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8396512 Stats: 329 lines in 4 files changed: 0 ins; 329 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/33694.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33694/head:pull/33694 PR: https://git.openjdk.org/jdk/pull/33694
