JDK-8171524 : jar --help doesn't provide information that stdout and stdin can be used as output and input for tool
  • Type: Bug
  • Component: tools
  • Sub-Component: jar
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-12-20
  • Updated: 2017-02-09
  • Resolved: 2017-02-01
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 b156Fixed
Related Reports
Relates :  
Description
jar --help contains examples like
"jar --create --file classes.jar Foo.class Bar.class"

but it unclear what stdout can be used here
jar --create Foo.class Bar.class > classes.jar

or jar --list < classes.jar

Also there is no information about loading options from file. jar --create @argfile