https://bz.apache.org/bugzilla/show_bug.cgi?id=63874
--- Comment #5 from Ilya Lipnitskiy <[email protected]> --- By examining the code in src/main/org/apache/tools/ant/taskdefs/compilers/JavacExternal.java, it looks like prior to commit 15fcc941e01, executeExternalCompile() was called with cmd.size(), but in current code it is called with the index of the first non J option after reshuffling the command line arguments, not cmd.size(). Seems like a problem. Moreover, the logic that looks at firstFileName in executeExternalCompile() is only triggered when the length of the command like is greater than COMMAND_LINE_LIMIT, which is 4KB on POSIX systems. Sounds like a test case is needed for long command lines to cover this logic. -- You are receiving this mail because: You are the assignee for the bug.
