Library.listClasses

Jonathan Gibbons Jonathan.Gibbons at Sun.COM
Wed Nov 11 11:09:13 PST 2009


Mark,

Is Library.listClasses likely to be a light-weight or an expensive 
operation?

javac needs to list the classes on a package-by-package basis, so if 
listClasses is cheap (or if repeated calls are cheap), then I can run 
listClasses every time and filter the output. But if the  method is 
expensive, then I will likely have to cache the results.

-- Jon



More information about the jigsaw-dev mailing list