Incorrect casing in output of jar --describe-module

Gunnar Morling gunnar at
Sun Nov 19 13:44:13 UTC 2017


In a descriptor I have this service definition:

    provides com.example.MyService with com.example.internal.MyServiceImpl

If I run jar --describe-module for the JAR containing this descriptor, the
service implementation name is printed all lower case:

provides com.example.MyService with com.example.internal.myserviceimpl

Note how the name of the service interface is given correctly.

I reckon this is an issue within the "jar" tool, as the entries in the
constant pool of the compiled module-info.class file look alright. I see
this with JDK 9.0.1 as well as 10 b32.

Is this a known issue?



More information about the jigsaw-dev mailing list