Integrated: 8347531: The signal tests are failing after JDK-8345782 due to an unrelated warning

Joakim Nordström jnordstrom at openjdk.org
Wed Jan 15 08:59:39 UTC 2025


On Tue, 14 Jan 2025 13:14:59 GMT, Joakim Nordström <jnordstrom at openjdk.org> wrote:

> Could I get a review of this fix for the SigTestDriver test?
> 
> This fix adds more context from the libjsig deprecation warning to only catch the correct scenario in the test.
> 
> Previously the test only checked for the words `VM warning` in the output to determine the deprecation warning was present. However, another VM Warning printed when running a flag on an unsupported platform made the SigTestDriver fail incorrectly (`VM warning: -XX:+UseLargePages not supported in this VM`).
> 
> ## Testing
> * [x] Verified test still succeeds in "normal" way
> * [x] Verified test also succeeds despite having the other warning.
> * [x] Tested tier1-tier3

This pull request has now been integrated.

Changeset: 91197b38
Author:    Joakim Nordström <jnordstrom at openjdk.org>
Committer: Jie Fu <jiefu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/91197b384f1779fc18dec3c54a3cec620d237f8e
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8347531: The signal tests are failing after JDK-8345782 due to an unrelated warning

Reviewed-by: kevinw, dholmes

-------------

PR: https://git.openjdk.org/jdk/pull/23103


More information about the hotspot-runtime-dev mailing list