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 10.

Bug: https://bugs.openjdk.java.net/browse/JDK-8132379
Webrev: http://cr.openjdk.java.net/~henryjen/jdk9/8132379.0/webrev/

Cheers,
Henry

Reply via email to