Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 76106 invoked from network); 8 Oct 2008 15:51:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Oct 2008 15:51:22 -0000 Received: (qmail 27739 invoked by uid 500); 8 Oct 2008 15:51:21 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 27702 invoked by uid 500); 8 Oct 2008 15:51:20 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 27661 invoked by uid 99); 8 Oct 2008 15:51:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2008 08:51:20 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2008 15:50:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1524D2388886; Wed, 8 Oct 2008 08:51:01 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r702914 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RolesTest.java Date: Wed, 08 Oct 2008 15:51:00 -0000 To: derby-commits@db.apache.org From: dag@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081008155101.1524D2388886@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dag Date: Wed Oct 8 08:51:00 2008 New Revision: 702914 URL: http://svn.apache.org/viewvc?rev=702914&view=rev Log: DERBY-3865 NPE in testSemantics(.....lang.RolesTest) on JavaME / CVM Patch derby-3865-2; RolesTest now skips a a test case for small devices platforms Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RolesTest.java Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RolesTest.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RolesTest.java?rev=702914&r1=702913&r2=702914&view=diff ============================================================================== --- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RolesTest.java (original) +++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RolesTest.java Wed Oct 8 08:51:00 2008 @@ -645,7 +645,9 @@ _stm.close(); - testCurrentRoleIsReset(); + if (!JDBC.vmSupportsJSR169()) { + testCurrentRoleIsReset(); + } }