RFR: 8303392: Runtime.exec and ProcessBuilder.start should use System logger [v3]
Thomas Stuefe
stuefe at openjdk.org
Fri Mar 10 15:27:56 UTC 2023
On Fri, 10 Mar 2023 15:11:50 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> test/jdk/java/lang/ProcessBuilder/ProcessStartLoggingTest.java line 81:
>>
>>> 79: File nullDirectory = null;
>>> 80: File thisDirectory = new File(".");
>>> 81:
>>
>> I started to heavily use different `@test` sections with speaking names instead of running a bunch of test in sequence; the advantage is better parallelization of tests, that I can omit printing out the test name manually (if the test name itself is speaking), and the ability to start individual tests manually. It does come with lots of test sections though.
>
> Speakable names can be a plus but I'll stick to the parameterized version for now.
> Are you refering to JUnit sections or Jtreg sections?
jtreg sections, as in https://github.com/openjdk/jdk/blob/master/test/hotspot/jtreg/gtest/MetaspaceGtests.java. I find them very practical, I just wish there were a way to condense them.
-------------
PR: https://git.openjdk.org/jdk/pull/12862
More information about the core-libs-dev
mailing list