This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: importing java packages


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]