DescriptionExamination of customer log files showed frequent exceptions thrown
from WindowsAclFileAttributesView.getFileSecurity() claiming that
"The filename, directory name, or volume label syntax is incorrect."
As it turned out, all these pathnames exceeded the maximum pathname
length of 260 characters. The too-long pathnames occur when we prepend
the UNC server + share syntax to the local pathname.
See:
http://msdn.microsoft.com/library/windows/desktop/aa365247.aspx
This change avoids feeding docids that are too long. The windows
version of newDocId() now throws IllegalArgumentException if the
supplied pathname is too long.
Patch Set 1 #
Total comments: 3
Patch Set 2 : Miguels feedback and add check to monitor thread. #
MessagesTotal messages: 7
|