author | ssadetsky |
Thu, 13 Jun 2019 12:50:17 -0700 | |
branch | JDK-8200758-branch |
changeset 57402 | cd7287fc6f85 |
parent 57401 | 8a257decfe24 |
child 57403 | 05e411fc4b77 |
src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageBuilder.java | file | annotate | diff | comparison | revisions |
--- a/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageBuilder.java Thu Jun 13 12:41:26 2019 -0700 +++ b/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageBuilder.java Thu Jun 13 12:50:17 2019 -0700 @@ -914,8 +914,7 @@ Path javaPath = appLocation.resolve("Contents/runtime"); if (Files.isDirectory(javaPath)) { - Files.list(javaPath) - .forEach(signIdentifiedByPList); + signIdentifiedByPList.accept(javaPath); ioe = toThrow.get(); if (ioe != null) {