JDK-8173312 : Hide support for --inherit-runtime-environment
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2017-01-25
  • Updated: 2017-05-19
  • Resolved: 2017-01-26
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.
JDK 10 JDK 9
10Fixed 9 b155Fixed
Related Reports
Relates :  
Description
It is suggested that we hide (or even remove) support for --inherit-runtime-environment which was added to JDK 9 in b132  JDK-8156998.

The dominant use case has gone away, and to the extent it remains, it may be better served by env variables and @files.

In addition, the option has become more complex, since it now has to filter specific option values, not just entire options.

For now, it is suggested that we undocument/hide the option.