JDK-8213270 : [TESTBUG] convert VMError::test_error_handler() to gtest
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 12
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2018-11-01
  • Updated: 2021-07-28
  • Resolved: 2020-11-17
Related Reports
Relates :  
Description
VMError::test_error_handler() and XX:ErrorHandlerTest and XX:Test*ErrorHandler are used to test error handling, these tests can be relative easily ported to gtest, which will not only improve test quality but also remove test-only purpose code from hotspot. 
Comments
Thank you.
17-11-2020

Closing as WNF then.
17-11-2020

I'd like to keep the ErrorHandlerTest switch inside the hotspot, please. Its value goes way beyond specific signal handler tests, as a general way to induce an almost real fault into the VM for test purposes. About XX:Test*ErrorHandler, I am not sure how that would work in gtests, without cooperation from hotspot signal handling.
16-11-2020