Diane,

Interrupts such as Ctrl-C are handled nicely by the method
java.lang.Runtime.addShutdownHook(Thread) that was added in JDK 1.3.  This
may be a way to handle this issue... at least on JDK 1.3.

-Clint

-----Original Message-----
From: Diane Holt [mailto:[EMAIL PROTECTED]
Sent: Monday, October 02, 2000 4:29 PM
To: [EMAIL PROTECTED]
Subject: Re: [PATCH] Javac.java - Handling long Commandline on external
compilation


--- Nico Seessle <[EMAIL PROTECTED]> wrote:
> As suggested several times meanwhile Javac now uses a temp. file if the
> commandline is longer than a very small limit (4k seems to be a
> POSIX-Standard).

Just a note: If I interrupt ant during a compile, I get jikes-<longnum>
files left around. (And sometimes, jikes processes lying around as well.)
I seem to remember someone (Pete?) saying java doesn't handle interrupts
-- can that be right? If it actually can handle them, then <javac> should
clean up these files (along with the jikes process). If it can't... :(

Diane


=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

Reply via email to