https://bz.apache.org/bugzilla/show_bug.cgi?id=50781
--- Comment #15 from David Turner (Two Sigma) <[email protected]> --- I hit this bug recently. Unfortunately, the patches won't work for me; my arguments are "-Xblahblahblah", "MyCompilerClass", "-classpath", "[too long]". As I understand it, for javac, the class argument may not be read from an @file. As other comments imply, this problem is not solvable in general; arbitrary compilers may have arbitrary spilling rules. But one possibility is to only start spilling at 4096 minus N characters, where N is the length of the temp filename; this is the best we can do, and if it breaks, then there was probably no way to salvage the situation. -- You are receiving this mail because: You are the assignee for the bug.
