On Fri, 15 Sep 2023 21:51:22 GMT, Brian Burkhalter <b...@openjdk.org> wrote:

>> Add a `finally` block to delete the created files.
>
> 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

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

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

Reply via email to