RFR: 8077822: javac does not recognize '*.java' as file if '-J' option is specified
rob.mckenna at oracle.com
Tue May 19 13:58:43 UTC 2015
Because of platform specifics the Java launcher contains some extra
wildcard expansion processing on Windows.
As part of this processing the list of args received by
CreateApplicationArgs (java_md.c) is compared to the original list in
the java launchers main method.
Unfortunately the CreateApplicationArgs list has already been filtered
by TranslateApplicationArgs which removes VM specific flags. This
results in the launcher incorrectly neglecting to expand wildcard arguments.
This fix filters the main method args in the same way so
CreateApplicationArgs will be comparing like with like.
More information about the core-libs-dev