JDK-8287663 : Add a regression test for JDK-8287073
  • Type: Bug
  • Component: core-libs
  • Affected Version: 11.0.16,17.0.3,19
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2022-06-01
  • Updated: 2023-08-14
  • Resolved: 2022-06-07
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 JDK 8 Other
11.0.17Fixed 17.0.5Fixed 19 b26Fixed 8u381Fixed openjdk8u392Fixed
Related Reports
Relates :  
Description
While the issue of JDK-8287073 wasn't reproducible on a real system, we can synthetically reproduce this with a test that doesn't list the memory controller in /proc/cgroups file. That should be sufficient to provoke the NPE on an unpatched system.
Comments
Fix Request (OpenJDK 8u): Please approve this low-risk regression test for JDK-8287073. Patch does not apply clean. Minor test adaptations. Reviewed by Paul Hohensee. The code change in product code is a no-op in terms of functionality and should be low risk. Container tests continue to pass for me on x86_64 on cg1 and cg2. Also: The new regression test fails without the product code change in JDK-8287073 and passes after as expected.
26-05-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk8u-dev/pull/323 Date: 2023-05-26 14:44:12 +0000
26-05-2023

Fix Request (OpenJDK 11u): Please approve this low-risk regression test for JDK-8287073. Patch applies clean. The code change in product code is a no-op in terms of functionality and should be low risk. Container tests continue to pass for me on x86_64 on cg1 and cg2. Also: The new regression test fails without the product code change in JDK-8287073 and passes after as expected. For clean patch, depends on JDK-8287107 which is a good (low risk fix to have as well).
25-08-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/1341 Date: 2022-08-24 17:48:13 +0000
24-08-2022

Verified b36
24-08-2022

Fix Request (OpenJDK 17u): Please approve this low-risk regression test for JDK-8287073. The code change in product code is a no-op in terms of functionality and should be low risk. Container tests continue to pass for me on x86_64 on cg1 and cg2. Also: The new regression test fails without the product code change in JDK-8287073 and passes after as expected.
10-06-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk17u-dev/pull/457 Date: 2022-06-09 12:25:38 +0000
09-06-2022

Changeset: 2d8c6490 Author: Severin Gehwolf <sgehwolf@openjdk.org> Date: 2022-06-07 08:40:17 +0000 URL: https://git.openjdk.java.net/jdk/commit/2d8c6490540e3ccea23b81129b2e4073915071e0
07-06-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8993 Date: 2022-06-02 14:32:28 +0000
02-06-2022