On Fri, 22 Apr 2022 14:35:14 GMT, Sibabrata Sahoo <ssa...@openjdk.org> wrote:

>> A new API to support replacing selective lines with desired content.
>
> Sibabrata Sahoo has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Update FileUtils.java

Currently it's just for one test, but it's the exact kind of method that should 
go into the test library, i.e. a general purpose file manipulation utility that 
can be useful by everyone.

`patch` overwrites the input file (by default) too. We can always enhance it to 
support `-o`.

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

PR: https://git.openjdk.java.net/jdk/pull/8360

Reply via email to