In our build javadoc arguments became too long and javadoc started to blue screen Windows in ClearCase MVFS system. IBM will fix ClearCase eventually, but <javadoc> should not generate such big command lines in the first place. All options should go into a temporary option file for <javadoc>, not just a file list.
Created attachment 10256 [details] proposed patch
According to http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/javadoc.html#argumentfile the @argumentfile must not contain anything but file or package names in JDK 1.3. Could you please modify your patch to only use the external file for other command line arguments if javadoc4 is true?
Created attachment 10350 [details] proposed patch that affects JDK 1.4+ only
According to the Sun documentation http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/javadoc.html#argumentfiles the '-J' option is not allowed in an argument file
commited a similar change, difference is that useexternalfile activates it.