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

CommandMap.getDefaultCommandMap() return value should be retained internally

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.0fcs
    • alpha
    • 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??

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: