RFR v6 - 8027634: Support @argfiles for java command-line tool

Henry Jen henry.jen at oracle.com
Tue Aug 18 04:15:27 UTC 2015


> On Aug 17, 2015, at 8:45 PM, Mandy Chung <mandy.chung at oracle.com> wrote:
> 
> OK.   firstAppArgIndex is not used in the parsing.

It is set in args.c:127, and stop expansion on line 369.

v6 is available at 

http://cr.openjdk.java.net/~henryjen/jdk9/8027634/v6/webrev/

Changes based on Mandy’s comment,

- add a new test, basCases, which not escaping backslash properly and cause an open quote and failed java in ArgFileSyntac.java
- rename killSwitchOn to stopExpansion in args.c
- change to use NOT_FOUND at args.c:87
- fix indentation at  ArgFileSyntax.java line 167-170

Cheers,
Henry





More information about the core-libs-dev mailing list