Specifying module paths
Jonathan Gibbons
jonathan.gibbons at oracle.com
Thu Jan 14 20:30:58 UTC 2016
On 01/14/2016 12:14 PM, Robert Scholte wrote:
> Igor Fedorenko says: "This is a very good proposal. My only suggestion
> is to extend javax.tools CompilationTask API to take modulepath map as
> in-memory parameter. Not a big deal, but it'll be silly to write
> properties file to disk for it to be immediately read by the code
> executed in the same jvm."
Generally, javac has been converted to use java.io.file.Path internally
and to allow use of java.io.file.Path in API signatures. Therefore, if
you can provide a Path for an object in an in-memory file system, you're
good to go, with no additional changes from javac.
-- Jon
More information about the jigsaw-dev
mailing list