JDK-8135198 : Add -XX:VMOptionsFile support to JAVA_TOOL_OPTIONS and _JAVA_OPTIONS
Type:Enhancement
Component:hotspot
Sub-Component:runtime
Affected Version:9
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2015-09-08
Updated:2017-05-17
Resolved:2016-01-11
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.
Remove Restictions blocking the VMOptions file from being specified in environment vars.
JDK - 8061999 added the options file but limited it to one on the command line only.
Comments
Copied from https://bugs.openjdk.java.net/browse/JDK-8146729
HG Updates added a comment - 2 days ago
URL: http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/0904e24692e0
User: dcubed
Date: 2016-01-09 06:33:23 +0000
11-01-2016
During the scoping of this issue we discussed allowing VM options files inside VM options files and this was decided it would
add too much complexity.
Also During the scoping of this issue we discussed allowing more than one VM options file on the command line and
each of the VM options environment vars and this was decided it would add too much complexity.
The proposed solution only allows one VM options file on the command line and one in each of the VM options environment vars.