MimetypesFileTypeMap("MissingFile") causes System.exit(1)

XMLWordPrintable

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


        There's no documentation of the behavior when the constructor MimetypesFileTypeMap("MissingFile")
        is used. The underlying implementation in MimeTypeFile will trap the FileNotFound exception,
        dump errors to the console and execute System.exit(1).

        The use of exit precludes handling the problem by trapping exceptions or verifying the resultant state in the client code

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: