[#1717] Fix javadoc fails if too much files to process