Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 15765 invoked from network); 15 Jul 2002 16:39:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 15 Jul 2002 16:39:41 -0000 Received: (qmail 28855 invoked by uid 97); 15 Jul 2002 16:39:56 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 28832 invoked by uid 97); 15 Jul 2002 16:39:55 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 28818 invoked by uid 98); 15 Jul 2002 16:39:55 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Why stop at JDK1.2? Only semi-serious question... X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Date: Mon, 15 Jul 2002 17:39:37 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Why stop at JDK1.2? Only semi-serious question... Thread-Index: AcIsHbH8SbgIy4poRM6g06OZFFlclgAAATGg From: "Jon Skeet" To: "Ant Developers List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > You can still emulate this by wrapping all your assert's in an >=20 > if (RELEASE) { > assert ...; > } >=20 > with RELEASE a static final boolean... --DD=20 Yeah, but that's just a horrible hack, IMO - and indeed in a lot of = cases you *do* still want to be able to enable assertions where they're = available, even in released kits. I'm investigating BCEL for the assertion stripping - it looks like it = could actually be very simple. It may or may not be useful for Ant, but = I'm sure I'll find a use for it at some stage :) Jon -- To unsubscribe, e-mail: For additional commands, e-mail: