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
- Previous message: RFR 8072002: The spec on javax.script.Compilable contains a typo and confusing inconsistency
- Next message: RFR: 8077822: javac does not recognize '*.java' as file if '-J' option is specified
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: RFR 8072002: The spec on javax.script.Compilable contains a typo and confusing inconsistency
- Next message: RFR: 8077822: javac does not recognize '*.java' as file if '-J' option is specified
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]