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

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

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved: