Question about FileManagers in Jigsaw.

Jesse Glick jesse.glick at oracle.com
Mon Mar 12 09:29:35 PDT 2012


On 03/12/2012 11:28 AM, Jonathan Gibbons wrote:
>> Ant's <depend> does something much more complex
>
> What does it do?

Tracks binary dependencies (*) among compiled classes to support more precise incremental compilation. [1] Normally run immediately before <javac>.

> I know <javac> has some special magic for package-info.java,
> but that should not be required for jdk7 or later, given the -Xpkginfo option.

Well, for now it is still required since it is too hard to know whether a version of the compiler supporting this flag is being used. [2]


(*) Broken by compile-time constants [3].

[1] http://ant.apache.org/manual/Tasks/depend.html
[2] https://issues.apache.org/bugzilla/show_bug.cgi?id=52096
[3] https://issues.apache.org/bugzilla/show_bug.cgi?id=2811



More information about the jigsaw-dev mailing list