On Fri, 15 Jul 2022 16:18:17 GMT, Ryan Ernst <d...@openjdk.org> wrote:
> This commit adds try-with-resources for uses of Stream<Path> from Files > methods that walk directories. Changes requested by chegar (Reviewer). src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java line 834: > 832: name.endsWith(".EC") || > 833: name.startsWith("META-INF/SIG-") > 834: ); Trivially, can we please keep the indentation consistent with the previous version. So, align all `name.endsWith` expressions under the 's' from startsWith. ------------- PR: https://git.openjdk.org/jdk/pull/9520