-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 7
-
Component/s: core-libs
-
b57
-
generic
-
generic
% java -version
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b55)
Java HotSpot(TM) Client VM (build 15.0-b05, mixed mode, sharing)
% java Copy -r foo foo222
Exception in thread "main" java.lang.IllegalArgumentexception: 'maxDepth' is negative
at java.nio.file.Files.walkFileTree(Files.java:376)
at Copy.main(Copy.java:204)
I also had this error with the latest build (b99) under download.java.net/jdk7/jsr203/binaries.
-s-
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b55)
Java HotSpot(TM) Client VM (build 15.0-b05, mixed mode, sharing)
% java Copy -r foo foo222
Exception in thread "main" java.lang.IllegalArgumentexception: 'maxDepth' is negative
at java.nio.file.Files.walkFileTree(Files.java:376)
at Copy.main(Copy.java:204)
I also had this error with the latest build (b99) under download.java.net/jdk7/jsr203/binaries.
-s-