Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 79346 invoked from network); 16 Aug 2007 13:07:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Aug 2007 13:07:55 -0000 Received: (qmail 13675 invoked by uid 500); 16 Aug 2007 13:07:53 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 13648 invoked by uid 500); 16 Aug 2007 13:07:53 -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 13639 invoked by uid 99); 16 Aug 2007 13:07:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2007 06:07:53 -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; Thu, 16 Aug 2007 13:08:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BADFD7141EF for ; Thu, 16 Aug 2007 06:07:32 -0700 (PDT) Message-ID: <29511761.1187269652758.JavaMail.jira@brutus> Date: Thu, 16 Aug 2007 06:07:32 -0700 (PDT) From: "Alexey Petrenko (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-2649) [classlib][swing] j.s.undo.UndoManager.edits has different capacity In-Reply-To: <26327868.1165934190299.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Petrenko updated HARMONY-2649: ------------------------------------- Attachment: (was: Harmony-2649.patch) > [classlib][swing] j.s.undo.UndoManager.edits has different capacity > ------------------------------------------------------------------- > > Key: HARMONY-2649 > URL: https://issues.apache.org/jira/browse/HARMONY-2649 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Alexey A. Ivanov > Assignee: Alexey A. Ivanov > Priority: Minor > Attachments: HARMONY-2649.patch, test.java > > > import javax.swing.undo.UndoManager; > public class Test { > private static class UM extends UndoManager { > public int getEditsCapacity() { > return edits.capacity(); > } > } > > public static void main(String[] args) { > System.out.println(new UM().getEditsCapacity()); > } > } > Harmony outputs: 10. > RI outputs: 100. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.