changeset 78243 | 0e221a8128e4 |
parent 78169 | 5ad1ae8626de |
child 78298 | 3b0f8f1010f2 |
--- a/src/Pure/General/file.scala Sun Jul 02 18:56:52 2023 +0200 +++ b/src/Pure/General/file.scala Sun Jul 02 19:05:59 2023 +0200 @@ -183,7 +183,7 @@ val options = if (follow_links) EnumSet.of(FileVisitOption.FOLLOW_LINKS) else EnumSet.noneOf(classOf[FileVisitOption]) - Files.walkFileTree(start.toPath, options, Integer.MAX_VALUE, + Files.walkFileTree(start.toPath, options, Int.MaxValue, new SimpleFileVisitor[JPath] { override def preVisitDirectory( path: JPath,