When applied to a file rather than a directory, jpackage's IOUtils.copyRecursive() function does not ensure that the parent directory of the destination file exists.
If the parent directory doesn't exist, IOUtils.copyRecursive() will throw an exception.
Not an issue for jpackage, but when IOUtils.copyRecursive() is used in jpackage tests, have to call Files.createDirectory() for the parent directory of the destination file to workaround this bug.
If the parent directory doesn't exist, IOUtils.copyRecursive() will throw an exception.
Not an issue for jpackage, but when IOUtils.copyRecursive() is used in jpackage tests, have to call Files.createDirectory() for the parent directory of the destination file to workaround this bug.