JDK-8202297 : SA: Test: Consolidate the corefile debugging components of ClhsdbCDSCore.java and TestSAServer.java
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: svc-agent
  • Affected Version: 11,15
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: generic
  • Submitted: 2018-04-26
  • Updated: 2021-08-05
  • Resolved: 2021-08-05
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.
Other
tbdResolved
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
Consolidate the common code in ClhsdbCDSCore.java and TestSAServer.java -- preferably have a template to write SA tests for core file debug testing. Also, check if in the cases where crash reporting tools are installed, the core file locations can be obtained from the core_pattern file. Should at least have TestSAServer.java (and any other core file debugging test case for SA) skip the test if the corefile location has not been found and if a crash reporting tool has been installed.

http://mail.openjdk.java.net/pipermail/serviceability-dev/2018-April/023588.html
Comments
This issue has already been addressed by a combination of JDK-8248194, which added library support for core file tests (and ClhsdbCDSCore.java was modified to use it), and JDK-8260296, which modified TestSAServer.java to use that support.
05-08-2021