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

MailcapCommandMap.addMailcap("&invalidString") dumps stack trace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.0fcs
    • alpha
    • other-libs
    • None
    • 1.0fcs
    • generic
    • solaris_2.6
    • Verified

        Dumping a stack trace to the console is not an acceptable method of error handling in FCS software. It's fine for debugging purposes.

        Though I havn't tried it, presumably providing a file or stream with invalid contents to one of the MailcapCommandMap constructors will cause the same behavior.

        The net result for addMailcap is a no-op. For a file or stream, it's currently unknown if prior, or subsequent valid data will take effect.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: