Re: New candidate JEP: 408: Simple Web Server

2021-05-08 Thread Christian Stein
Motivated by the summary of JEP 408, I finally wrote a small blog[1] about an in-memory http handler that I use for testing browsing-related code via URL.open..., HttpClient, or other ways to read a resource. The basic idea is to map a prepared response (http code, bytes, and content-type) to a re

Re: RFR: 8276559: (httpclient) Consider adding an HttpRequest.Builder.HEAD method to build a HEAD request.

2021-11-12 Thread Christian Stein
On Thu, 11 Nov 2021 12:05:49 GMT, Jaikiran Pai wrote: > Can I please get a review for this change which implements the enhancement > noted in https://bugs.openjdk.java.net/browse/JDK-8276559? > > The commit in this PR introduces a new `HEAD()` method on the > `HttpRequest.Builder` interface.

Re: RFR: 8227020: Unclosed input streams in URL Class Loader for JARs with META-INF/INDEX.LIST

2021-11-15 Thread Christian Stein
On Mon, 15 Nov 2021 12:58:45 GMT, Jaikiran Pai wrote: > Can I please get a review for this change which proposes to fix the issue > noted in https://bugs.openjdk.java.net/browse/JDK-8227020? > > The linked issue talks about non-normalized paths contributing to the leak. > However, the root cau