RFR: 8132379: -J options can cause crash or "Warning: app args parsing error passing arguments as-is"
henry.jen at oracle.com
Wed Jul 13 14:38:32 UTC 2016
Thanks for the review.
On July 13, 2016 at 6:43:09 AM, Kumar Srinivasan (kumar.x.srinivasan at oracle.com) wrote:
> Thanks for fixing this. Looks good.
> > Hi,
> > Please review a fix for JDK-8132379, the fix is to build matching index to the original
> arguments for the application arguments, used later for the sanity check and wildcard
> expansion. The fix is specific to Windows platform.
> > -J prefix used by launcher-based tools such as javac need to be filtered out, but not
> for java itself, where -J prefix could be used by the main class.
> > Use index table avoid copy of arguments and use less memory. The fix is tested on Windows
> > Bug: https://bugs.openjdk.java.net/browse/JDK-8132379
> > Webrev: http://cr.openjdk.java.net/~henryjen/jdk9/8132379.0/webrev/
> > Cheers,
> > Henry
More information about the core-libs-dev