ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Combs, Clint" <clint.co...@contrado.com>
Subject RE: [PATCH] Javac.java - Handling long Commandline on external co mpilation
Date Mon, 02 Oct 2000 20:37:31 GMT
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:holtdl@yahoo.com]
Sent: Monday, October 02, 2000 4:29 PM
To: ant-dev@jakarta.apache.org
Subject: Re: [PATCH] Javac.java - Handling long Commandline on external
compilation


--- Nico Seessle <nico@seessle.de> 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


=====
(holtdl@yahoo.com)



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

Mime
View raw message