This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: importing java packages
- From: Per Bothner <per at bothner dot com>
- To: dominique dot boucher at nuecho dot com
- Cc: kawa at sources dot redhat dot com
- Date: Thu, 17 Mar 2005 12:03:33 -0800
- Subject: Re: importing java packages
- References: <200503171905.j2HJ5PvB009894@bergman.nuecho.ad>
Dominique Boucher wrote:
For example, not all class files are immediately written to disk. Kawa
resorts
to registerShutdownHook to ensure that all ports are closed. This means that
sometimes you
compile a file A to a .class, then you try to compile B, which depends on A.
But the compilation
of B will fail since A.class has not been written yet, or it sees an older
version of A.class.
Huh? A .class file is written using the writeToFile method in ClassType.
This closes the stream as soon it is written.
--
--Per Bothner
per@bothner.com http://per.bothner.com/