RFR: 8173970: jar tool should have a way to extract to a directory

Alan Bateman Alan.Bateman at oracle.com
Fri Mar 12 11:32:12 UTC 2021


On 11/03/2021 15:25, Lance Andersen wrote:
>
> The only reason I included it is for completeness with tar which the 
> jar options were originally derived from.
>
I think it would be surprising to have two GNU-style long options so I 
think we should pick one.  "--dir" seems okay to me and is consistent 
with the other the other JDK tools that extract to a directory (although 
those tools might not be well known). If you prefer "--directory" then I 
think we'll should add it to the other tools and hide "--dir" from the 
usage output.

-Alan


More information about the core-libs-dev mailing list