RFR: 8077822: javac does not recognize '*.java' as file if '-J' option is specified (original) (raw)

Rob McKenna rob.mckenna at oracle.com
Tue May 19 13:58:43 UTC 2015


Hi folks,

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.

http://cr.openjdk.java.net/~robm/8077822/webrev.01/

-Rob


More information about the core-libs-dev mailing list