Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 53793 invoked from network); 19 Jun 2007 03:39:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jun 2007 03:39:47 -0000 Received: (qmail 61638 invoked by uid 500); 19 Jun 2007 03:39:50 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 61611 invoked by uid 500); 19 Jun 2007 03:39:50 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 61578 invoked by uid 99); 19 Jun 2007 03:39:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jun 2007 20:39:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jun 2007 20:39:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3D3537141E0 for ; Mon, 18 Jun 2007 20:39:26 -0700 (PDT) Message-ID: <4025539.1182224366248.JavaMail.jira@brutus> Date: Mon, 18 Jun 2007 20:39:26 -0700 (PDT) From: "Kelvin Ye (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [classlib][jndi] Class SortResponseControl has some failures ------------------------------------------------------------ Key: HARMONY-4226 URL: https://issues.apache.org/jira/browse/HARMONY-4226 Project: Harmony Issue Type: Bug Components: Classlib Environment: linux and windows Reporter: Kelvin Ye Class SortResponseControl will fail in the following test cases, but RI will pass. String Id="test"; boolean crit=false; byte[] ber1={48,1,10,1,0}; byte[] ber2={48,5,10,1,3}; byte[] ber3={48,3,10,2,3,3}; byte[] ber4={48,4,10,1,3,3,3}; byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'}; SortResponseControl src=null; src = new SortResponseControl(Id, crit, ber1); assertEquals(Id, src.getID()); assertEquals(src.getResultCode(), 0); src = new SortResponseControl(Id, crit, ber2); assertEquals(src.getResultCode(), 3); src = new SortResponseControl(Id, crit, ber3); assertEquals(src.getResultCode(), 771); src = new SortResponseControl(Id, crit, ber4); assertEquals(src.getResultCode(), 3); src = new SortResponseControl(Id, crit, ber5); assertEquals(src.getResultCode(), 3); assertEquals("Tes", src.getAttributeID()); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.