CommandMap.getDefaultCommandMap() return value should be retained internally

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.0fcs
    • Affects Version/s: alpha
    • Component/s: other-libs
    • None
    • 1.0fcs
    • sparc
    • solaris_2.5.1

        CommandMap.getDefaultCommandMap() returns a new MailcapCommandMap object
        if no default has been. However, this object is not retained internally.
        If I add entries to that object assuming they be in effect, I'd be wrong.
        I'm basically getting back an object for myself only, unless I explicitely
        called setDefaultCommandMap() when I was done.

        This of course would override anything that was previously set by someone else.
        Maybe there should be an explicite merge() method??

              Assignee:
              J. Duke
              Reporter:
              J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: