You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in a parallel multi-module maven build, running copy-dependencies with a shared output directory...
more than one module may attempt to copy the file at once. The length check can then fail since it sees the size of the partially copied new file.
suggest using the return value from nio Files copyFile, which is the number of bytes copied. can be safely compared against the size of the source file.
also, you can surely rip out the old pre-nio code and drop java 6 support?