jar --describe-module shows lower-case service impl name

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

jar --describe-module shows lower-case service impl name

Christian Stein
Hi,

just saw running on JDK 11-ea+13 that:

  jar --describe-module --file <archive> [1]

shows:

  provides org.junit.platform.engine.TestEngine with ice.cream.machine [2]

The FQCN service implementation name is: ice.cream.Machine

Is this a known and perhaps intended behavior?

Cheers,
Christian

[1] https://travis-ci.org/junit-team/junit5-samples/jobs/377602517#L569
[2] https://travis-ci.org/junit-team/junit5-samples/jobs/377602517#L577
Reply | Threaded
Open this post in threaded view
|

Re: jar --describe-module shows lower-case service impl name

Alan Bateman
On 11/05/2018 10:43, Christian Stein wrote:

> Hi,
>
> just saw running on JDK 11-ea+13 that:
>
>    jar --describe-module --file <archive> [1]
>
> shows:
>
>    provides org.junit.platform.engine.TestEngine with ice.cream.machine [2]
>
> The FQCN service implementation name is: ice.cream.Machine
>
> Is this a known and perhaps intended behavior?
>
It's a bug in the `jar` tool, tracked as JDK-8191533 [1].

-Alan

[1] https://bugs.openjdk.java.net/browse/JDK-8191533