JDK-8158076 : Examine different argfile support in VM, launcher, javac
  • Type: Task
  • Component: tools
  • Sub-Component: launcher
  • Affected Version: 9
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2016-05-27
  • Updated: 2018-10-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbd_minorUnresolved
Related Reports
Relates :  
Description
Hotspot VM supports -XX:VMOptionsFile [1] and -XX:Flags options for specifying VM options in a file.  The Flags file supports assume -XX options and so no -XX prefix should be specified in the flag file (need to find out if it accepts other non-XX flags).

java launcher adds @argfile support in JDK 9 [2].

javac also supports @argfile (and other JDK tools as well).

This task is to examine these different mechanisms and determine if any work should be done to align at least VMOptionsFile and the launcher @argfile as they are both new in JDK 9.

[1] http://ccc.us.oracle.com/8135198
[2] http://ccc.us.oracle.com/8027634