HttpClient Send Method Guaranteed Completion

2021-10-05 Thread Elliot Barlas
Hello net-dev! I'm emailing about a surprising observation in the HttpClient send method related to guaranteed completion. Despite explicit timeout configurations, a call to send can block indefinitely. The stacktrace below was obtained from a thread dump on a running OpenJDK 16.0.2 JVM. The t

Integrated: 8274793: Suppress warnings on non-serializable non-transient instance fields in sun.net

2021-10-05 Thread Joe Darcy
On Tue, 5 Oct 2021 18:55:09 GMT, Joe Darcy wrote: > Augmentations to javac's Xlint:serial checking are out for review (#5709) and > the sun.net classes in this PR would need some changes to pass under the > expanded checks. > > The changes are to suppress warnings where non-transient fields in

Re: RFR: 8274793: Suppress warnings on non-serializable non-transient instance fields in sun.net

2021-10-05 Thread Alan Bateman
On Tue, 5 Oct 2021 18:55:09 GMT, Joe Darcy wrote: > Augmentations to javac's Xlint:serial checking are out for review (#5709) and > the sun.net classes in this PR would need some changes to pass under the > expanded checks. > > The changes are to suppress warnings where non-transient fields in

RFR: 8274793: Suppress warnings on non-serializable non-transient instance fields in sun.net

2021-10-05 Thread Joe Darcy
Augmentations to javac's Xlint:serial checking are out for review (#5709) and the sun.net classes in this PR would need some changes to pass under the expanded checks. The changes are to suppress warnings where non-transient fields in serializable types are not declared with a type statically k

Integrated: 8274079: Cleanup unnecessary calls to Throwable.initCause() in java.base module

2021-10-05 Thread Andrey Turbanov
On Thu, 16 Sep 2021 19:03:26 GMT, Andrey Turbanov wrote: > Pass "cause" exception as constructor parameter is shorter and easier to read. This pull request has now been integrated. Changeset: 1459180f Author:Andrey Turbanov Committer: Weijun Wang URL: https://git.openjdk.java.net/

RFR: 8244202: Implementation of JEP 418: Internet-Address Resolution SPI

2021-10-05 Thread Aleksei Efimov
This change implements a new service provider interface for host name and address resolution, so that java.net.InetAddress API can make use of resolvers other than the platform's built-in resolver. The following API classes are added to `java.net.spi` package to facilitate this: - `InetAddressR