8159248: ModuleFinder.of spec + 8158456: ModuleDescriptor.read does not verify dependence on java.base

Mandy Chung mandy.chung at oracle.com
Thu Jun 16 18:11:04 UTC 2016


> On Jun 16, 2016, at 9:44 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 
> On 16/06/2016 17:31, Mandy Chung wrote:
> 
>> :
>> ModuleFinder.of spec describes the possible cases where FindException may be thrown by a module finder’s find or findAll methods.
>> 
>> It would be useful to have the @throws FindException if an error occurs finding all modules in find and findAll methods to link to such description.
> My concern with this is that it will clutter the @throws description if we attempt to link to all cases (there are too many).

One idea is to add section header in ModuleFinder.of error cases and then 
@throws FindException if an error occurs finding modules, as described in <a href=…>ModuleFinder::of</a>

Mandy


More information about the jigsaw-dev mailing list