ModuleInfo extends AnnotatedElement

Mark Reinhold mr at sun.com
Wed Apr 28 12:37:38 PDT 2010


> Date: Wed, 28 Apr 2010 12:22:33 -0700
> From: mandy.chung at oracle.com

> Roger Riggs wrote:
>> ...
>>    * In the ModuleInfo.permits() method it returns a Set<String>;
>>      in contrast the provides() method returns a Set<ModuleId>. Is there
>>      a reason that String is used instead of a ModuleId?

Yes.  Virtual modules don't have version numbers.

- Mark



More information about the jigsaw-dev mailing list