You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "ilya ivanov (JIRA)" <ji...@apache.org> on 2007/08/15 18:29:31 UTC
[jira] Updated: (HARMONY-2649) [classlib][swing]
j.s.undo.UndoManager.edits has different capacity
[ https://issues.apache.org/jira/browse/HARMONY-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ilya ivanov updated HARMONY-2649:
---------------------------------
Attachment: Harmony-2649.patch
Attached file changes capacity constant from 10 to 100 in vector.java file.
> [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
> Priority: Minor
> Attachments: Harmony-2649.patch
>
>
> 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.