On Thu, 5 Sep 2024 18:18:06 GMT, Chris Plummer <cjplum...@openjdk.org> wrote:

> Make sure you get good test coverage of you OutputAnalyzer change.

That was the right thing to say, as I didn't have it quite right.  
stderrShouldBeEmptyIgnoreDeprecatedWarnings() needs to work if both kinds of 
deprecation message occurred. 8-)
It needs to remove both patterns, then check, like in the other relevant 
method, stderrShouldMatchIgnoreDeprecatedWarnings().  This can be in a common 
method. Updated.

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

PR Comment: https://git.openjdk.org/jdk/pull/20830#issuecomment-2333513735

Reply via email to