RFR JDK-8191533,jar --describe-module prints service provider class names in lower case

Xueming Shen xueming.shen at oracle.com
Wed May 16 16:11:46 UTC 2018


On 5/16/18, 12:19 AM, Alan Bateman wrote:
> On 16/05/2018 00:51, Xueming Shen wrote:
>> Hi,
>>
>> Please help review the change for JDK-8191533
>>
>> issue: https://bugs.openjdk.java.net/browse/JDK-8191533
>> webrev: http://cr.openjdk.java.net/~sherman/8191533/webrev/
>>
>> The jmod change has been verify by applying jmod on those modules at 
>> jdk home.
> This looks okay but I think it could be improved if you have 
> toLowerCaseString and toString rather than toStringWithCase and 
> toString. Also they can both drop the isEmpty check and prefixing the 
> string with " ". Instead I think the usages should be fixed to add the 
> trailing space that they are missing, e.g. " with" to " with ", " to" 
> to " to " ....
>
> -Alan
Thanks Alan.

http://cr.openjdk.java.net/~sherman/8191533/webrev

Rename as suggested. The empty set change suggested seems to be an 
"incompatible"
change for the output when the set indeed is empty :-) I'm not sure if 
anyone has already
built dependency on it since 9. So if you are fine with it I'd like to 
leave it asis for now.

-Shrman


More information about the core-libs-dev mailing list