RFR: 8315960: test/jdk/java/io/File/TempDirDoesNotExist.java leaves test files behind [v4]

Brian Burkhalter bpb at openjdk.org
Tue Sep 19 21:35:10 UTC 2023


On Tue, 19 Sep 2023 20:55:00 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8315960: Remove vestigial unused import
>
> test/jdk/java/io/File/TempDirDoesNotExist.java line 192:
> 
>> 190:         OutputAnalyzer originalOutput = ProcessTools.executeTestJvm(options);
>> 191:         List<String> list = originalOutput.asLines().stream().filter(line
>> 192:                 -> line.equalsIgnoreCase(WARNING)).collect(Collectors.toList());
> 
> `Stream.toList()` can be applied here

So changed in 50411b85aeefb2576a149ae126b7d55aad6e2be0.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15757#discussion_r1330726850


More information about the core-libs-dev mailing list