----- Original Message ----- From: "Stefan Bodewig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 22, 2001 4:27 AM Subject: Re: assertion changes
> On Thu, 22 Nov 2001, Jose Alberto Fernandez <[EMAIL PROTECTED]> > wrote: > > > <javac requires="1.4" /> > > <java requires="1.2" /> > > These are extremely difficult to assert for Ant in the presence of a > fork attribute in <java> or using a compiler other than classic/modern > in <javac>. > This is sort of addressed by the "source" attribute that was added to the javac task recently. If your code contains asserts and you compile with 1.2, 1.3, 1.4 or 1.1, the code will NOT compile unless you specify "-source 1.4" on the compiler's command line, and even that will only work with 1.4 of course. All of that is independant of the proposed changes, which are targetted at enabling assertions at runtime. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
