DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3345>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3345 Modern compiler, run within Ant, holds onto JAR file locks on Windows ------- Additional Comments From [EMAIL PROTECTED] 2001-09-27 13:58 ------- This should probably be low priority. Anyway, (1) yes it is at root a javac bug (I suppose) but it is documented that javac should not be called except as a commandline tool, and Ant doesn't obey this, and it doesn't work, so in some sense it is Ant's responsibility to deal with the result; (2) I believe it is possible to work around the problem via some kind of hacks (i.e. directly clearing internal static fields in javac, or similar). AFAIK an earlier version of NetBeans did so successfully (current releases just bundle a modified version of javac with various changes to make it embeddable) but I don't know the exact techniques involved (not open-source, alas, because of modified javac code). (I don't really "expect" anyone to fix this if there is not sufficient incentive to do so--yes forked javac or jikes works--just wanted to make sure that the problem was recorded together with a test case in case it comes up in the future.)
