[ https://issues.apache.org/jira/browse/HARMONY-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521028 ] Alexey A. Ivanov commented on HARMONY-2649: ------------------------------------------- Ilya, Please not tabs, set up your IDE to use spaces instead of tabs. > [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: H2649-tests.patch, 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.