jar --print-module-descriptor

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

jar --print-module-descriptor

Nicolai Parlog
 Hi!

The Java 9 jar documentation says[1]:

        -d or --print-module-descriptor
        Prints the module descriptor.

It's --describe-module, though, right? At least that's what my 9.0.1
install says.

 so long ... Nicolai


[1] https://docs.oracle.com/javase/9/tools/jar.htm#JSWOR614



--

PGP Key:
    http://keys.gnupg.net/pks/lookup?op=vindex&search=0xCA3BAD2E9CCCD509

Web:
    http://codefx.org
        a blog about software development
    https://www.sitepoint.com/java
        high-quality Java/JVM content
    http://do-foss.de
        Free and Open Source Software for the City of Dortmund

Twitter:
    https://twitter.com/nipafx
Reply | Threaded
Open this post in threaded view
|

Re: jar --print-module-descriptor

Mandy Chung
I created https://bugs.openjdk.java.net/browse/JDK-8194653 to fix the
docs bug.   The docs was missed to be updated when this jar option was
renamed to --describe-module.

Thanks for reporting this.
Mandy

On 1/4/18 2:16 PM, Nicolai Parlog wrote:

>   Hi!
>
> The Java 9 jar documentation says[1]:
>
> -d or --print-module-descriptor
> Prints the module descriptor.
>
> It's --describe-module, though, right? At least that's what my 9.0.1
> install says.
>
>   so long ... Nicolai
>
>
> [1] https://docs.oracle.com/javase/9/tools/jar.htm#JSWOR614
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: jar --print-module-descriptor

Alan Bateman


On 04/01/2018 23:03, mandy chung wrote:
> I created https://bugs.openjdk.java.net/browse/JDK-8194653 to fix the
> docs bug.   The docs was missed to be updated when this jar option was
> renamed to --describe-module.
Here's the correct link. As Mandy says, this is an issue with the Oracle
docs, the `jar --help` output lists the correct option name.

https://bugs.openjdk.java.net/browse/JDK-8194654