apache / apache/maven-resolver

JDK HTTP Client: Rework expect-continue workaround

Open
#1,736 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
152
Forks
160
Avg merge
1d 4h
Merged PRs (30d)
49

Description

### Affected version

2.0.14

### Bug description

In https://github.com/apache/maven-resolver/issues/1112 there was a workaround implemented to not use expect-continue prior Java 20 due to https://bugs.openjdk.org/browse/JDK-8286171. Meanwhile the fix has been backported to 17.0.17 (https://bugs.openjdk.org/browse/JDK-8364017), so would be good to allow setting expect-continue also on those JDKs.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked issue 1112 and the current JDK HTTP client expect-continue workaround, then compare the JDK-8286171 and JDK-8364017 compatibility details. Done means expect-continue can be enabled on JDK 17.0.17 and later while the workaround remains appropriate for older affected versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.