Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4529686

Unapproved change in AbstractUndoableEdit

XMLWordPrintable

    • rc1
    • sparc
    • solaris_2.6



      Name: acR10002 Date: 11/20/2001



      The private fields AbstractUndoableEdit.UndoName/RedoName have been
      deprecated in 1.4 so Undo/Redo strings were localized and moved to
      resource bundle. As a result, the behavior for methods
      getUndoPresentationName()/getRedoPresentationName() has been changed - the
      returned strings are now locale dependent. The spec & behavior change has
      been made in AbstractUndoableEdit.java delta 1.23 (there is no even bug or
      rfe number in delta comment) :

      13a14
      > import javax.swing.UIManager;
      25a27,31
      > * As of Java 2 platform v1.4 this field is no longer used. This value
      > * is now localized and comes from the defaults table with key
      > * AbstractUndoableEdit.undoText.
      > *
      > * @see javax.swing.UIDefaults
      ...
      172c183,184
      < name = UndoName + " " + name;
      ---
      > name = UIManager.getString("AbstractUndoableEdit.undoText") +
      > " " + name;

      It seems the described above spec and behavior change has been made
      without CCC approval. Please submit CCC request or, if change has been
      implied by any of the approved CCC, please supply it's number.


      ======================================================================

            shickeysunw Shannon Hickey (Inactive)
            aycsunw Ayc Ayc (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: