New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use commandline argument file for all options, but -J, for case javac… #98
Conversation
Can one of the admins verify this patch? |
5 similar comments
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
this is OK to test |
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
I was wondering why the java 11 checks would not apply to java 12 as the first ones, howerver these are indeed referring to javac 1.1 and 1.2 |
Use commandline argument file for all options, but -J, for case javac…
This change likely broke the usage of command-line argument files, see https://bz.apache.org/bugzilla/show_bug.cgi?id=63874. |
Reproduced issue using following build.xml
produces
|
Currently only java files are passed using commandline argument file for javac.
There are times when classpath is longer than 8000 characters. on unix that works, but on windows it doesn't, see https://support.microsoft.com/en-us/help/830473/command-prompt-cmd-exe-command-line-string-limitation. That leads to exception like
This pull requests puts all but -J options into commandline argument file. -J options can't be specified in commandline argument file as per documentation: https://docs.oracle.com/en/java/javase/11/tools/javac.html