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

(fs) Investigate removing the GNOME-based FileTypeDetector from the Linux and Solaris implementations

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • core-libs
    • b77
    • linux, solaris
    • Verified

    Backports

      Description

        The GnomeFileTypeDetector uses the GNOME I/O library if available with fallback to the GNOME VFS, which is deprecated. The MagicFileTypeDetector is superior on Linux (libmagic is used by the 'file' command). On Solaris however if GnomeFileTypeDetector were removed the implementation would depend entirely on ~/.mime.types and /etc/mime.types which are not guaranteed to be present so this could be problematic.

        Attachments

          Issue Links

            Activity

              People

                bpb Brian Burkhalter
                bpb Brian Burkhalter
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: