On Wed, 7 Oct 2026 11:29:01 GMT, Harald Eilertsen <[email protected]> wrote:
> The BSD's, like macOS store the SO_LINGER value in a signed short internally, > so we need to clamp the value to 32767 for all the BSD's, not only macOS. > > This work is sponsored by The FreeBSD Foundation > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: 2378b985 Author: Harald Eilertsen <[email protected]> Committer: Volkan Yazici <[email protected]> URL: https://git.openjdk.org/jdk/commit/2378b98515762a33b2e2f1224c71bf6fd1b57b24 Stats: 11 lines in 4 files changed: 4 ins; 0 del; 7 mod 8393721: Reduce max SO_LINGER value for BSD Co-authored-by: Greg Lewis <[email protected]> Reviewed-by: vyazici, glewis, jpai ------------- PR: https://git.openjdk.org/jdk/pull/33248
