ClassLoader.getPackages()

Alan Bateman Alan.Bateman at oracle.com
Mon May 21 10:11:18 PDT 2012


On 21/05/2012 16:55, David M. Lloyd wrote:
> :
> I was wondering if there were any new insights into the answer to this 
> question.
>
I haven't heard any suggestions but as Package is legacy, and many of 
the methods don't really make sense now, then it's not clear to me that 
getPackages make sense either. I think a possible approach would be for 
ModuleClassLoader to override getPackages so that it is specified to 
throw an exception or return an empty array.

-Alan.



More information about the jigsaw-dev mailing list