Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 45787 invoked from network); 25 Jun 2009 14:17:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jun 2009 14:17:04 -0000 Received: (qmail 13440 invoked by uid 500); 25 Jun 2009 14:17:15 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 13401 invoked by uid 500); 25 Jun 2009 14:17:15 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 13393 invoked by uid 99); 25 Jun 2009 14:17:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 14:17:15 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.18.6.24] (HELO gmp-eb-inf-2.sun.com) (192.18.6.24) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 14:17:04 +0000 Received: from fe-emea-10.sun.com (gmp-eb-lb-1-fe3.eu.sun.com [192.18.6.10]) by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n5PEGUWd015190 for ; Thu, 25 Jun 2009 14:16:42 GMT MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) id <0KLS00K00S01G600@fe-emea-10.sun.com> for derby-dev@db.apache.org; Thu, 25 Jun 2009 15:16:30 +0100 (BST) Received: from localhost ([unknown] [129.159.112.134]) by fe-emea-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) with ESMTPSA id <0KLS004DESZF5550@fe-emea-10.sun.com> for derby-dev@db.apache.org; Thu, 25 Jun 2009 15:16:27 +0100 (BST) Date: Thu, 25 Jun 2009 16:16:26 +0200 From: Knut Anders Hatlen Subject: Re: Java 1.4.2 or Java6? In-reply-to: Sender: Knut.Hatlen@Sun.COM To: derby-dev@db.apache.org Message-id: Organization: Sun Microsystems References: <4A4370B3.9020003@sbcglobal.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (usg-unix-v) X-Virus-Checked: Checked by ClamAV on apache.org Tiago Espinha writes: > It is available in 1.4.2 indeed and that will have to do. The thing is that > replaceAll uses regex and not regular string matching. > > I'm thinking I'll end up dropping the replacing altogether. This was just for > pruning the output that I am parsing as I go, but I can just not prune it and > it'll be fine anyway. The trade-off between doing a regex search and having to > search through some more characters is probably balanced, and regex would > introduce some more issues in the end. Note that the String methods that use regex are not part of Foundation Profile 1.1, so if the test uses those methods it'll have to be disabled on the Java ME platforms. -- Knut Anders