class lookup in javac

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Aug 8 18:56:40 UTC 2014


On 08/08/2014 11:52 AM, Fredrik Öhrström wrote:
> > It is not possible to compile mutually referential files one file at 
> a time.
>
> Well, you can if you use -sourcepath
>
>

The original question was about how how compilation units proceed 
through the pipeline, and my answer stands.  If you have mutually 
referential files, you cannot send one through the javac pipeline, and 
then another -- they will proceed together, each at their own pace, 
through some or all of the compilation pipeline.

-- Jon


More information about the compiler-dev mailing list