RFR: 7903430: Improve reporting for errors in JUnit's lifecycle methods [v2]

Christian Stein cstein at openjdk.org
Tue Feb 14 07:12:56 UTC 2023


On Tue, 14 Feb 2023 06:58:49 GMT, Christian Stein <cstein at openjdk.org> wrote:

>> src/share/classes/com/sun/javatest/regtest/agent/JUnitRunner.java line 235:
>> 
>>> 233:         @Override
>>> 234:         public void executionFinished(TestIdentifier identifier, TestExecutionResult result) {
>>> 235:             /* if (identifier.isTest()) */ {
>> 
>> Remove commented out code, and maybe the remaining curly braces?
>
> My idea was to keep indentation changes minimal.

Removed unused/commented out code and fixed indentation via https://github.com/openjdk/jtreg/pull/147/commits/cb8bbb07a9de3d07d3ed759b32d230425183c2c1

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

PR: https://git.openjdk.org/jtreg/pull/147


More information about the jtreg-dev mailing list