JDK-8286293 : Tests ShortResponseBody and ShortResponseBodyWithRetry should use less resources
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 11,17,18,19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-05-06
  • Updated: 2025-07-18
  • Resolved: 2022-05-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 17 JDK 19 Other
11.0.16-oracleFixed 17.0.4-oracleFixed 19 b22Fixed repo-phoenixFixed
Related Reports
Relates :  
Description
ShortResponseBody and ShortResponseBodyWithRetry are probably too many clients and this is causing some trouble on machines that have resource limitations - such has old windows version and macosx-aarch64.
Also it could be preferable to split the test to test GET and POST separately. GET is retried by default, so it doesn't need to be run again in  ShortResponseBodyWithRetry.
Comments
Fix request [11u] I backport this test-only change for parity with 11.0.17-oracle. No risk, only a test change. I had to resolve and adapt the tests to jdk11 test infra. Tests pass. SAP nightly testing passed.
20-05-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk11u-dev/pull/1095 Date: 2022-05-18 13:31:28 +0000
18-05-2022

Fix request [17u] I backport this test-only change for parity with 17.0.5-oracle. No risk, only a test change. Clean backport. Tests pass. SAP nightly testing passed.
18-05-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk17u-dev/pull/401 Date: 2022-05-16 11:27:54 +0000
16-05-2022

Changeset: f1433861 Author: Daniel Fuchs <dfuchs@openjdk.org> Date: 2022-05-09 13:01:16 +0000 URL: https://git.openjdk.java.net/jdk/commit/f143386109bce2a2e7241f685e2df26849a0ad48
09-05-2022

Attached jdk11.patch: a patch to backport this fix to jdk 11.
06-05-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8569 Date: 2022-05-06 11:04:29 +0000
06-05-2022